ISSUE: Topology does not show Node description as learned by the OFA
[controller.git] / opendaylight / switchmanager / src / main / java / org / opendaylight / controller / switchmanager / internal / SwitchManagerImpl.java
index d3dcc65b2a1c45aa181c285171cbf348bb4ebecf..281ba52a0a6a53e38a0eb6025012537ad172ea73 100755 (executable)
@@ -1764,7 +1764,7 @@ public class SwitchManagerImpl implements ISwitchManager,
        @Override
        public String getNodeDescription(Node node) {
        // Check first if user configured a name
-        SwitchConfig config = getSwitchConfig(node.getNodeIDString());
+        SwitchConfig config = getSwitchConfig(node.toString());
         if (config != null) {
                String configuredDesc = config.getNodeDescription();
                if (configuredDesc != null && !configuredDesc.isEmpty()) {