-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
30 additions
and
506 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,50 +45,3 @@ The node will request the contents of the ``bootstrap.conf`` when it performs | |
send logs to the ``destination(s):`` listed under ``logging:``. | ||
|
||
.. End of Configure Syslog Logging | ||
Configure XMPP Logging | ||
------------------------ | ||
|
||
Objective | ||
^^^^^^^^^ | ||
|
||
I want to send client logs to specific XMPP server rooms. | ||
|
||
Solution | ||
^^^^^^^^ | ||
|
||
.. code-block:: console | ||
# Edit the bootstrap configuration file | ||
admin@ztpserver:~# vi /usr/share/ztpserver/bootstrap/bootstrap.conf | ||
Add any XMPP servers and associated rooms: | ||
|
||
.. code-block:: yaml | ||
--- | ||
xmpp: | ||
domain: <XMPP-SERVER-URL> | ||
username: bootstrap | ||
password: eosplus | ||
rooms: | ||
- ztps | ||
- devops | ||
- admins | ||
Explanation | ||
^^^^^^^^^^^ | ||
|
||
The node will request the contents of the ``bootstrap.conf`` when it performs | ||
``GET /bootstrap/config`` file and try to join the rooms listed with the | ||
credentials provided. Typically when joining a room, you would use a string | ||
like, ``[email protected]``. Be sure to just provide the | ||
``domain: xmpp-server.example.com`` leaving out the ``conference`` prefix. | ||
|
||
.. note:: In order for XMPP logging to work, a non-EOS user need to be connected | ||
to the room specified in bootstrap.conf, before the ZTP process starts. | ||
The room has to be created (by the non-EOS user) before the bootstrap | ||
client starts logging the ZTP process via XMPP. | ||
|
||
.. End of Configure XMPP Logging |
Oops, something went wrong.