cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2097
Views
14
Helpful
10
Replies

APIC-EM API to change configuration?

mikec85arm
Level 1
Level 1

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

10 Replies 10

Vince
Level 1
Level 1

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.

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.

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.

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.

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

It will not be possible in APIC-EM.

DNAC which is just about to be released will support Day-n configuration change.

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.

Jason Belk
Cisco Employee
Cisco Employee

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.

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?

Vince
Level 1
Level 1

why not use netconf / restconf?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:


This community is intended for developer topics around Data Center technology and products. If you are looking for a non-developer topic about Data Center, you might find additional information in the Data Center and Cloud community