API 2.0 Interface #130
-
|
I am trying to write a python script that will retrieve all of the interfaces in a sandbox and then query the interfaces to see if they are up or down. The 2.0 API is very promising, but the interfaces don't seem to show up in the output in a way that makes it easy to determine which interfaces belong with the routers and switches. The 1.0 API does include the name of the parent device, but doesn't include any id attributes so a api 2.0 command could be crafted. Does anybody here have any ideas on the best way to accomplish this on a Quali 8.0 server? Robert Smith (robert.w1.smith) - 05/03/2018 11:11 PM
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi, I guess you're talking about the sandbox api v1/v2. I would use the cloudshell-automation-api package for your python scripts. You can get much more details from using that api. In that case GetReservationDetails and GetResourceDetails can probably help. Yaniv Yaniv Kalsky (Yaniv.K) - 05/23/2018 07:28 AM
|
Beta Was this translation helpful? Give feedback.
Hi, I guess you're talking about the sandbox api v1/v2.
I would use the cloudshell-automation-api package for your python scripts. You can get much more details from using that api.
In that case GetReservationDetails and GetResourceDetails can probably help.
Yaniv
Yaniv Kalsky (Yaniv.K) - 05/23/2018 07:28 AM
· 3617 ·