Fix a method name typo in tapi module 97/93697/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Sun, 8 Nov 2020 09:55:18 +0000 (10:55 +0100)
committerGilles Thouenon <gilles.thouenon@orange.com>
Mon, 9 Nov 2020 16:05:47 +0000 (17:05 +0100)
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ic573c9267457f31fef40b5e2f9659138627ab876

tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoObjectToTapiTopoObject.java

index 12d81cb6d8978541cb0b5fc6295ac15f83ca2c04..8e81191507f22305d1cc99a7b3678f8722283c61 100644 (file)
@@ -179,7 +179,7 @@ public class ConvertORTopoObjectToTapiTopoObject {
         if (layerProtocols.contains(LayerProtocolName.DSR)) {
             nodeUuid = getNodeUuid4Dsr(onepl, nodeRuleGroupList, ruleList);
         } else if (layerProtocols.contains(LayerProtocolName.PHOTONICMEDIA)) {
-            nodeUuid = getNodeUuid4Phonic(onepl, nodeRuleGroupList, ruleList);
+            nodeUuid = getNodeUuid4Photonic(onepl, nodeRuleGroupList, ruleList);
         } else {
             LOG.error("Undefined LayerProtocolName for {} node {}", nodeNames.get(nodeNames.keySet().iterator().next())
                 .getValueName(), nodeNames.get(nodeNames.keySet().iterator().next()).getValue());
@@ -199,7 +199,7 @@ public class ConvertORTopoObjectToTapiTopoObject {
                 .build();
     }
 
-    private Uuid getNodeUuid4Phonic(Map<OwnedNodeEdgePointKey, OwnedNodeEdgePoint> onepl,
+    private Uuid getNodeUuid4Photonic(Map<OwnedNodeEdgePointKey, OwnedNodeEdgePoint> onepl,
         Map<NodeRuleGroupKey, NodeRuleGroup> nodeRuleGroupList, Map<RuleKey, Rule> ruleList) {
         Uuid nodeUuid;
         nodeUuid = this.uuidMap.get(String.join("+", this.ietfNodeId, OTSI));