04-12-2017 10:08 AM - edited 03-01-2019 05:12 AM
Hi,
I've been developing an internal orchestration tool for ACI based on Cobra SDK with webservices/web-interface provided by Flask. I'd like to have a single application (in a single environment) which manages different APIC clusters. Unfortunately these APIC clusters, being deployed at different times in different datacenters run different versions of code - 1.2.1m and 2.0.2n.
When initially tried to use login to 2.0.2n using eggs from 1.2.1m it failed right there. I'm assuming for safety and sanity of everyone involved, I should be using appropriate Cobra SDK library downloaded from the APIC to be managed to each cluster. And there comes a problem - both Cobra SDK packages are in the same namepaces. What's more, the individual modules inside Cobra SDK are using absolute imports, meaning that I can't just move each SDK package into a different folder without requirement to edit every single file in the Cobra SDK package to import from a different namespace.
Based on discussions I had with other Python developers, it appears we're down to 3 options:
I'm hoping someone has already faced and dealt with this issue previously or to get a recommendation from Cobra SDK developers.
Thanks!
04-25-2017 09:25 AM
i use multiple virtual environments on my MAC, install the egg files in those environments.
05-01-2017 11:44 PM
Hi Daniel
Since cobra skd is bound to APIC version, without correct cobra sdk eggs, script will not work.
Coud you share the cobra sdk eggs for 2.0(2h)?
Thank much
04-17-2019 07:15 AM
Hello,
Would it be possible to connect to the "older" APIC with the newer cobra eggs ?
Sincerely yours, Mathieu.
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