Does anyone have the API call equivalent for this:
Solved! Go to Solution.
I want to context switch ( I think that means use the &target=device_serial_number) to a specific firewall appliance and ask it for its routing table, forwarding table. In the UI its is on the display of a specific virtual router, then click 'More Run Time Stats'. Within that window 'Routing' tab, then 'Forwarding' tab.
So the context switching would apply to operational API commands that would normally appear on the firewall. So instead of making the API call to the firewall, as you mentioned you provide the target serial number and the Panorama then forwards and returns to you the output of the operational command.
As far as to a UI view that shows runtime stats specifically, that wouldn't be what the API would be used for. However, there are commands that would show the routing and forwarding table which you can then leverage for the targeted redirection. They aren't presented in a UI as you see in the runtime though.
Those calls would be:
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 Live Community as a whole!
The Live Community thanks you for your participation!