Ensure adjacencies are created with a transaction 78/77078/2
authorStephen Kitt <skitt@redhat.com>
Thu, 18 Oct 2018 14:01:25 +0000 (16:01 +0200)
committerSam Hague <shague@redhat.com>
Fri, 19 Oct 2018 20:54:19 +0000 (20:54 +0000)
commit19f9659d665da4b3da38dd02df00f046d72a3dc5
treeb1f1c23517f5d1bbf1571bd138591a1d703a615a
parent85a5359612deb86016401ad2a089b485fb9cb34e
Ensure adjacencies are created with a transaction

It’s possible for addNewAdjToVpnInterface() to end up being called
with a null inventory transaction, which will cause pain once we get
to Genius. This patch fixes that (re-using the configuration
transaction in a couple of cases).

Change-Id: Ic84573cf575fe4b75cb22dffd8b37dac3f5e3aee
Signed-off-by: Stephen Kitt <skitt@redhat.com>
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnInterfaceManager.java