Overview of the Request Procedure
To request information from the Junos XML protocol server, a client application performs the procedures described in the indicated sections:
- Establishes a connection to the Junos XML protocol server on the routing, switching, or security 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.
- If making configuration requests, optionally locks the candidate configuration or creates a private copy, as described in Locking the Candidate Configuration and Creating a Private Copy of the Configuration.
- Makes any number of requests one at a time, freely intermingling
operational and configuration requests. See Requesting Operational Information and Requesting Configuration Information.
The application can also intermix requests with configuration changes, which are described in Changing Configuration Information.
- Accepts the tag stream emitted by the Junos XML protocol server in response to each request and extracts its content, as described in Parsing the Junos XML Protocol Server Response.
- Unlocks the candidate configuration if it is locked, as described in Unlocking the Candidate Configuration. Other users and applications cannot change the configuration while it remains locked.
- 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