WHEN WILL WEB SOCKET SUBSCRIPTION BE NATIVE TO THE COBRA SDK?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2016 09:58 AM
A lot of applications that I created in Cobra would benefit from easily being able to subscribe to Manage Objects...When will this become available or is it even in the pipeline?
- Labels:
-
ACI

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2016 07:18 PM
Sorry for the delay, but here's a couple of answers, first:
Cobra is auto-generated for the most part and isn’t getting tons of attention from a roadmap/features standpoint. For what it’s worth, event subscription is a very simple thing with the ACI toolkit. Nothing prevents you from using both Cobra and the ACI toolkit modules inside your code.
Example: https://github.com/cpaggen/aci/blob/master/events.py
Second:
In addition to raw URL subscriptions, you can also subscribe to ACI toolkit objects, such as this example:
https://github.com/datacenter/acitoolkit/blob/master/samples/aci-subscribe-tenants.py
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 07:05 AM - edited 07-24-2018 07:18 AM
I am in the same situation as Garland (2 years later).
I know that it can be done witch ACI-toolkit, but that implies having to deal with 2 external modules.
I've also found in https://github.com/datacenter/cobra that the branch eventchannel was created 3 years ago, however it is still not included in the lastest versions of Cobra, and there is no documentation available to use this branch.
Also, I tried to contact via email to the cobra support team at acicobra@external.cisco.com to ask, but it seems that this email address is no longer available.
Having passed 2 years since the initial request, could you please tell me when event subscription is going to be available natively in Cobra?
Please help.
Thank you very much.
