Hi Team,

Can you please let us know if its possible to provide an enhanced API from 
RestConfImpl, where we can request that the datastore-change-notifications be 
JSON Wrapped and sent only from one node of an MD-SAL cluster?

For example, the port-status change listener subscribes to send websocket 
notifications on all the 3 nodes in our MD-SAL Cluster.

This results in same port-status notifications sent 3 times on every change in 
the status of the neutron port in the ODL Controller.

We wanted to send just "one port-status notification per status change on the 
port" towards the Openstack services from the ODL controller.

Can you please let us know if there is a simpler way that we would be able to 
send websocket notifications from only one MD-SAL cluster
node towards openstack within the RestConfImpl?

We thought of using EOS (EntityOwnershipService), but looks we have to 
resubscribe to the stream everytime on the new node which
becomes an EOS leader due to elections in a running cloud, and this 
resubscribing to the stream may resend tons of notifications towards
Openstack on a scaled cloud with about 6000 ACTIVE ports.

https://github.com/opendaylight/neutron/blob/master/northbound-api/src/main/java/org/opendaylight/neutron/northbound/impl/PortStatusUpdateInitializer.java

https://github.com/opendaylight/netconf/blob/master/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/JSONRestconfServiceImpl.java

--
Thanks,

Vivek


--
Thanks,

Vivek

_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to