Websocket pre-registration for port status update 73/77273/10
authorJosh <jhershbe@redhat.com>
Thu, 25 Oct 2018 08:49:35 +0000 (11:49 +0300)
committerStephen Kitt <skitt@redhat.com>
Wed, 31 Oct 2018 17:27:10 +0000 (18:27 +0100)
commitfe864dcad9d642bc9714dca187a2d63876e32520
tree36155f485f0f040333901cfdc7d5f8b7cea2c8cd
parentce8da97340debf2a334e8d5bdbda5819e4f3e0cc
Websocket pre-registration for port status update

Due to load balancing between networking-odl
and ODL the registration REST calls do not
always hit the same ODL node as the actual
websocket connection. This causes the websocket
connection to fail. This patch pre-registers
the websockets on each ODL node during
initialization time.

Change-Id: I0b1f574c2735de0426a16c4473add99f2e512680
Signed-off-by: Josh <jhershbe@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
features/production/odl-neutron-northbound-api/pom.xml
features/production/odl-neutron-northbound-api/src/main/feature/feature.xml [new file with mode: 0644]
northbound-api/pom.xml
northbound-api/src/main/java/org/opendaylight/neutron/northbound/impl/PortStatusUpdateInitializer.java [new file with mode: 0644]
northbound-api/src/main/resources/OSGI-INF/blueprint/blueprint.xml
northbound-api/src/main/resources/initial/neutron-northbound-api-config.xml [new file with mode: 0644]
northbound-api/src/main/yang/northbound-api-config.yang [new file with mode: 0644]