Is the XML API on Panorama limited to the same API as the devices? I discovered if I switch the context in the Panorama web console using the "Context" dropdown and then issue an XML API call like:
it acts exactly as if I had issued it to a device, returning that device's running or candidate configuration. Is there an XML API parameter in Panorama to switch the device context or query for multiple devices' configurations at once?
Also, is there any way to retrieve such items as the user ID agent user/group cache or the current routing table via any of the XML API calls? We would like to be able to gather this type of information from Panorama or the individual devices but preferably centralized and without logging into the CLI for each device.
According to the documentation if I want to change a single object( eg. application) the xpath will be
and element will be
But my requirement is to change multiple objects ( eg. application and action) using a single api call. Is it possible
? If yes, what will be the xpath?
Your xpath would look something like:
And your element would include both configuration for application and destination, something like:
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!