Bugs correction in Portmapping
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / mapping / PortMapping.java
index 5ddbe0109378d5d5954c5b56cb6e2d9bc44fcc14..ccbd13547253c9036e1c99fdd8fde85fbd653eb8 100644 (file)
@@ -40,6 +40,12 @@ public interface PortMapping {
      */
     boolean createMappingData(String nodeId);
 
+    /**
+     * This method removes mapping data from the datastore after disconnecting
+     * ODL from a Netconf device.
+     */
+    void deleteMappingData(String nodeId);
+
     /**
      * This method for a given node's termination point returns the Mapping object based on
      * portmapping.yang model stored in the MD-SAL data store which is created when the node is