Make part of the Subscribers object modeled 68/51268/4
authorLorand Jakab <lojakab@cisco.com>
Tue, 31 Jan 2017 16:33:03 +0000 (18:33 +0200)
committerLorand Jakab <lojakab@cisco.com>
Fri, 3 Feb 2017 10:11:38 +0000 (12:11 +0200)
commit15055070109b84d31e4eb2630988a303e8c0f740
tree1e4e35d2b61cb50b2ed9f0ee3a20165b7662a39a
parente467fd92808075cd29d214434139b41ceb22b25c
Make part of the Subscribers object modeled

This is a first step in solving bug 7272 and propagating subscriber data
to slave nodes in a cluster. This patch makes the YANG additions,
renames the SubscriberRLOC class to Subscriber, which makes more sense
(originally the SubscriberRLOC object only held the RLOC, now it holds
the source EID too), and uses the modeled SubscriberAddresses inside
Subscriber to store the source RLOC and EID.

Change-Id: I2e3ae71e7c9948d962921553b00cfecd76f445f1
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
integrationtest/src/test/java/org/opendaylight/lispflowmapping/integrationtest/MappingServiceIntegrationTest.java
mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/Subscriber.java [moved from mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/SubscriberRLOC.java with 65% similarity]
mappingservice/api/src/main/yang/odl-mappingservice.yang
mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/lisp/MapResolver.java
mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/lisp/MapServer.java
mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/util/MSNotificationInputUtil.java
mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/lisp/MapResolverTest.java
mappingservice/implementation/src/test/java/org/opendaylight/lispflowmapping/implementation/lisp/MapServerTest.java
mappingservice/lisp-proto/src/main/yang/odl-lisp-proto.yang