Bug 7567: External subnet group is not updated with external gwmac 68/50568/5
authorVivekanandan Narasimhan <n.vivekanandan@ericsson.com>
Tue, 17 Jan 2017 17:02:15 +0000 (22:32 +0530)
committerAlon Kochba <alonko@hpe.com>
Wed, 18 Jan 2017 19:26:38 +0000 (19:26 +0000)
commitd68ba30c0c233a4215806684185cd5104071becb
treeeee5891ea79c1a241e5d6b878edcc3bdf18ea135
parenteb95098699d00aab74a4b14013d3176847ef7ade
Bug 7567: External subnet group is not updated with external gwmac

The external subnet group is not getting updated even though
the resolution for external gateway macaddress is successful.

The fix here is to make the the external subnet group programmer
to listen for Learned IP-MAC datastore which would really hold
the external-subnet-gateway-ip TO external-subnet-gateway-mac
mapping.

Also multiple external subnets can share the same subnet ip addresses
and so this patch fixes that too..

Change-Id: Id8c2ba8ace8dbeaf20ceb35d81f43a07e50c3a9f
Signed-off-by: Vivekanandan Narasimhan <n.vivekanandan@ericsson.com>
vpnservice/natservice/natservice-impl/src/main/java/org/opendaylight/netvirt/natservice/internal/SubnetGwMacChangeListener.java