the deleteMapping data function was added in a previous commit
dcc4c10093436dbb7692c50c210daf86fd5b124a
more details in Gerrit change 74091
https://git.opendaylight.org/gerrit/#/c/74091/
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: I5392512a0b3323178aef6275de0d938cdb74a7e3
Signed-off-by: Martial COULIBALY <martial.coulibaly@gfi.fr>
if (rootNode.getModificationType() == ModificationType.DELETE) {
String nodeid = rootNode.getDataBefore().getKey().getNodeId().getValue();
LOG.info("Node {} removed...", nodeid);
- this.currentMountedDevice.remove(nodeid);
+ this.portMapping.deleteMappingData(nodeid);
}
if (nnode != null) {