I'm new to cobra and I am trying to install the SDK. I don't have access to an APIC server and the sandbox (https://sandboxapicdc.cisco.com) doesn't provide the SDK.
So here's what I did:
Cloning the GitHub repo (https://github.com/datacenter/cobra) and installing the package within a virtualenv (python3 setup.py install)
=> I get dependency errors. The acimodel package is missing.
There is a link to the acimodel in the README.md "Design Goals" section (https://github.com/datacenter/cobra#design-goals):
However, the link to the ACI model (https://github.com/datacenter/acimodel) does not work (repo not found).
I am not python expert, but I may have a couple of clues to check for.
Before ACI 4.2, we only supported Python 2.7 and we installed the SDK using .egg files.
4.2 and later, we added support for Python 3 and we use .whl files to install.
You need to install two files. acicobra and acimodel for your version if Python (i.e the .whl files for Python 3).
thanks for your reply.
So, obviously the only source is the SDK on an APIC ... what to do if you don't have an APIC and want to develop an application for it?
Well...I could put a specific version for you on Box and you can download it. I realize, not scalable but it helps you directly for the short term.
You can download and install an APIC simulator and download the acimodel from it.
I know, not the most optimal way, but is an alternative.
On the other hand, I fully support on having a github repo with all versions of acimodel!
@joezerskcan you make a request internally to have the acimodel exposed on github?
thank you for the reply.
I haven't tried the simulator yet. I thought it will have the same limitation as the sandbox. In the APIC sandbox, the sdk is not available. So maybe I'll give it a try.
However, +1 for acimodel in a public github repo.
Try the simulator. I have access to a hardware simulator (not the DevNet Sandbox which I think has it deliberately blocked) and I can confirm it is available. If you poke around you will see posts from others who share your pain. I looked around about a month ago and still was not able to find any place to get the SDK apart from an actual APIC. No idea why and makes no sense.
Here is the link that works for me on my simulator:
Hi Claudia and @msdaniluk, which version of sim are you using?
I'm running a 4.2(3j) sim VM and it just doesn't have anything to download.
I was using a hardware simulator running 4.1(1k) with the URL
Note that I did not include any port number in the URL.
It is in the hardware simulator of that version. I've not had a chance to try the OVA but it looks like you are on that already.
Lurking around Cisco DevNet website, I found a page where both latest version of acimodel and acicobra are shared: