07-26-2017 09:23 AM - edited 03-01-2019 04:39 AM
I am not seeing any API's to edit the config's on the devices, routers or switches etc. Are those just not exposed?
Thanks
Mike
07-26-2017 09:49 AM
The way I understand it, the available API of APIC-EM are the ones related to its features. Those are the things that you see on the left side of the screen when you login to APIC-EM HTTP (Discovery, Device and Host inventory, network plug and play, path trace, iwan, etc....)
You can use network plug and play api if your aim is to set up a task to autoconfigure a device.
If you want to configure / edit a configuration of specific devices, I would say use netconf / restconf.
07-27-2017 10:38 AM
I was looking around for this also.
But I have decided to use APIC-EM to get the configuration, parse it against whatever checks, and then use Paramiko or Netmiko (python) to directly access the device and change the devices config through ssh.
07-27-2017 02:38 PM
That is an interesting use of APIC-EM as it is not designed to be a NMS although it will perform discovery and inventory functions.
Cool.
07-27-2017 10:07 PM
there are API to change/deploy QoS today, and IWAN app also have a "descriptive" configuration option which allows you to run a series of commands on devices.
Over time there will be greater day-n configuration control.
11-23-2017 10:55 PM
I was also trying to figure out how to push config change to device thru APIC-EM. You have mentioned about possibility of using IWAN config option to achieve this. Would you be able to share the details of northbound APIs on this? I tried looking at swagger docs (Cisco DevNet: APIC Enterprise Module - Docs), but couldn't locate any.
Thanks
11-23-2017 11:08 PM
It will not be possible in APIC-EM.
DNAC which is just about to be released will support Day-n configuration change.
07-28-2017 12:21 PM
Well we are also using Cisco Prime, which has some similar features.
However, we want to do some configuration scripting that would be hard to set-up or impossible in prime.
I was planning to do something similar with .csv files from prime, but with the API provided by APIC-EM it is a LOT simpler to parse the needed information.
08-25-2017 10:33 AM
Config management orchestration is Cisco/Tail-f's NSO main selling point (apart from end to end service orchestration). NSO converts traditional CLI into structured data for programmatic consumption and creating services.
11-24-2017 12:46 AM
NSO translates yang/template config to device specific configuration and pushes thru NEDs. Is there a similar way to push the config thru APIC-EM (not raw config though)? e.g. how to configure L2VPN across different device models.
I know EasyQoS comes close to this and internally translates to device commands, but that is only for QoS feature. How to do other features?
10-12-2017 07:28 AM
why not use netconf / restconf?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide