I have few contracts configure on production site ACI and like to replicate same on DR site ACi. I found the option to export configuration to the PC. how do I import to ACI? I don't see similar option for import under contract like I see export option.
I am looking for a way to Export ( for comparison) / Validate configs for the ACI environment like we do for the IOS environment eg: show run / write net ... There are *similar* command in the docs but they seem to focus on exporting a subset of the config:
And not the entire config in a format that is portable.
( Understand we would be editing the config before we could apply it to another system)
Do the equivalent IOS command exist ?
We have some tools in place today (Spectrum) that provide capture / compare / updates capability that we would like to continue using to *manage* the new devices / technology we are onboarding. vs. keep adding another tool for X
( In a single vendor network you can use one tool - but one vendor ever seems to have All the answers. )
Remember that the "config" you have in ACI not an actual config which you can copy paste on different leaf switches.
Everything is an object. and the object is configured and modified on APIC.
In other words, you can save the object configuration (basically the it's own attributes and relations with other objects).
The config is exported to JSON or XML. And this is also the only two format allowed for configuring a similar object.
Note: the ACI can be configured through CLI as well, that is true, but let's be honest - nobody is doing that due to so many challenges might appear. You can use "show run" on APIC, and you will have a NX-OS-alike type of configuration, but if your system is being configured through GUI, then doing changes through CLI is not supported.
Once again, you can save the tenant,BD,EPG,contract or any other object configuration you want to replicate. you can modify it and publish it to another fabric, or even same fabric. It's just a matter of perspective.
I would suggest to read about the ACI object model to get familiar with the underlying MIT structure.