cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2014
Views
0
Helpful
2
Replies

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

sheastma
Cisco Employee
Cisco Employee

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?

2 Replies 2

davbark2
Beginner
Beginner

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

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.

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: