datacenter / acitoolkit

A basic toolkit for accessing the Cisco APIC
Other
347 stars 266 forks source link

How do I shut down the physical interface using acitoolkit? #369

Open sig9org opened 3 years ago

sig9org commented 3 years ago

Hi, all.

How do I shut down the physical interface using acitoolkit?

Regards,

sig9org commented 3 years ago

This extension seems to allow for "no shutdown / shutdown of the interface". But I can't find this code.

https://github.com/datacenter/acitoolkit/issues/15#event-156264919

sig9org commented 3 years ago

Hi, @michsmit99.

If you don't mind, can you tell us the location of the source code you extended?

sig9org commented 3 years ago

It looks like this code.

https://github.com/datacenter/acitoolkit/commit/0a8fe4aa1acf59b7a7d8f23490bb5892ac2f5f0b ...

sig9org commented 3 years ago

If possible, I would like to no shutdown/shutdown the interface by calling the API instead of running it interactively using acitoolkitcli.py.