NEutron VPN / upon subnetupdate, sometimes networkID is not set

Description

this may lead to exceptions in subnetmapchangelistener listener.

Environment

Operating System: All
Platform: All

Activity

Show:

Sam Hague April 6, 2018 at 11:54 AM

Former user September 27, 2017 at 7:23 AM

I could not find the traces that made me open this issue.

however, this was an exception that occured on subnetmapchangelistener ( from vpnmanager).
when the code attempts to access to getNetworkId().getValue(), the problem arose.

protected void update(InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmapOriginal, Subnetmap
subnetmapUpdate) {
LOG.trace("update:SubnetmapListener update subnetmap method - key: {}, original: {}, update: {}",
identifier, subnetmapOriginal, subnetmapUpdate);
...
String elanInstanceName = subnetmapUpdate.getNetworkId().getValue();

Done

Details

Assignee

Reporter

External issue ID

Components

Affects versions

Priority

Created September 15, 2017 at 9:03 AM
Updated April 6, 2018 at 11:54 AM
Resolved April 6, 2018 at 11:54 AM