Client Application’s Role in a Junos XML Protocol Session
To create a session and communicate with the Junos XML protocol server, a client application performs the following procedures, which are described in the indicated sections:
- Establishes a connection to the Junos XML protocol server on the routing platform, as described in Connecting to the Junos XML Protocol Server.
- Opens a Junos XML protocol session, as described in Starting the Junos XML Protocol Session.
- (Optional) Locks the candidate configuration or creates a private copy, as described in Exchanging Information with the Junos XML Protocol Server. Locking the configuration prevents other users or applications from changing it at the same time. Creating a private copy of the configuration enables the application to make changes without affecting the candidate or active configuration until the copy is committed.
- Requests operational or configuration information, or changes configuration information, as described in Requesting Information and Changing Configuration Information.
- (Optional) Verifies the syntactic correctness of a configuration before attempting to commit it, as described in Verifying a Configuration Before Committing It.
- Commits changes made to the configuration, as described in Committing a Configuration.
- Unlocks the candidate configuration if it is locked, as described in Unlocking the Candidate Configuration.
- Ends the Junos XML protocol session and closes the connection to the device, as described in Ending a Junos XML Protocol Session and Closing the Connection.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1