X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fcommon%2Fmapping%2FPortMapping.java;h=a213fd795e7722cd20e41a2af3beab6deb5320b5;hb=refs%2Fchanges%2F51%2F74651%2F5;hp=d707f4d00188661693a64a09571b4e86f3ede638;hpb=17ed4b007aeaca9c1c88c49f70c70d2195f9cf5b;p=transportpce.git diff --git a/common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMapping.java b/common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMapping.java index d707f4d00..a213fd795 100644 --- a/common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMapping.java +++ b/common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMapping.java @@ -53,10 +53,10 @@ public interface PortMapping { 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 - * connected for the first time. The mapping object basically contains the following attributes of - * interest: + * 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 connected for the first time. The + * mapping object basically contains the following attributes of interest: * *

* 1. Supporting circuit pack @@ -65,14 +65,16 @@ public interface PortMapping { * 2. Supporting port * *

- * 3. Supporting OMS interface (if port on ROADM) 4. Supporting OTS interface (if port on ROADM) + * 3. Supporting OMS interface (if port on ROADM) 4. Supporting OTS + * interface (if port on ROADM) * - * @param nodeId Unique Identifier for the node of interest. - * @param logicalConnPoint Name of the logical point + * @param nodeId + * Unique Identifier for the node of interest. + * @param logicalConnPoint + * Name of the logical point * * @return Result Mapping object if success otherwise null. */ - Mapping getMapping(String nodeId, String logicalConnPoint); boolean updateMapping(String nodeId, Mapping mapping);