Add Neutron host-id to RLOC mapping 92/50392/17
authorShakib Ahmed <sheikahm@cisco.com>
Tue, 10 Jan 2017 22:17:54 +0000 (14:17 -0800)
committerLorand Jakab <lojakab@cisco.com>
Fri, 17 Mar 2017 08:21:01 +0000 (10:21 +0200)
commit17d36c950a0a953bc7726478be5d957e9eb65d18
tree79f415b9dd7ac3973f627eb94b6756fd19dfa720
parente3837c10af5ed28af6c8b9fcd9b72b91d964297c
Add Neutron host-id to RLOC mapping

Neutron port create call provides us informations like port uuid, host-
id, sometimes fixed-ips but we don't know the interface VPP is going to
use for sending traffic from one host to another. That interface is
going to be the locator for the mapping record we will be putting in
the map-cache. For that, we need to know the locator interface of a
host. Just to clarify, for OpenStack environment is going to be the
tenant network interface.

This patch adds the functionality of listening to VbridgeTopology for
topology updates in Virtual Bridge Domain and pre-populate host to
locator information base.

Change-Id: Ic4c0844ccfcb972e46122df875b628c789f8c837
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
17 files changed:
features/features-lispflowmapping/pom.xml
features/features-lispflowmapping/src/main/features/features.xml
features/odl-lispflowmapping-neutron/pom.xml
mappingservice/neutron/pom.xml
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/GroupBasedPolicyNeutronIntentHandlerBean.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/IntentHandlerAsyncExecutorProvider.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/exception/RlocNotFoundOnVppNode.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/listener/VbridgeTopologyListener.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/listener/VppEndpointListener.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/listener/service/VbridgeTopologyListenerService.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/util/InfoUtil.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/util/LispNeutronUtil.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/util/VppNetconfConnectionProbe.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/util/VppNetconfTrasaction.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/intenthandler/util/VppNodeReader.java [new file with mode: 0644]
mappingservice/neutron/src/main/java/org/opendaylight/lispflowmapping/neutron/mappingmanager/HostIdToRlocMapper.java [new file with mode: 0644]
mappingservice/neutron/src/main/resources/org/opendaylight/blueprint/neutron.xml