Checkstyle enforcer
[controller.git] / opendaylight / protocol_plugins / stub / src / main / java / org / opendaylight / controller / protocol_plugins / stub / internal / InventoryService.java
index 64d4fc167597e39e2ca479ad5984221071ed346a..b3909a775bbe36156fa127e9b54841f02556a40e 100644 (file)
@@ -112,9 +112,24 @@ public class InventoryService implements IPluginInInventoryService {
             node = new Node("STUB", new Integer(0xCAFE));
         }catch(ConstructionException e){
             node = null;
-        }       
-     
+        }
+
+        nodeProps.put(node, propMap);
+
+        try{
+            node = new Node("STUB", 3366);
+        }catch(ConstructionException e){
+            node = null;
+        }
         nodeProps.put(node, propMap);
+
+        try{
+            node = new Node("STUB", 4477);
+        }catch(ConstructionException e){
+            node = null;
+        }
+        nodeProps.put(node, propMap);
+
         return nodeProps;
     }
 
@@ -146,7 +161,26 @@ public class InventoryService implements IPluginInInventoryService {
             node = null;
         }
         nodeConnectorProps.put(nc, ncPropMap);
-        return nodeConnectorProps;
+
+        try{
+            node = new Node("STUB", 3366);
+            nc = new NodeConnector("STUB", 12, node);
+         } catch(ConstructionException e){
+            nc = null;
+            node = null;
+         }
+         nodeConnectorProps.put(nc, ncPropMap);
+
+         try{
+            node = new Node("STUB", 4477);
+            nc = new NodeConnector("STUB", 34, node);
+         }catch(ConstructionException e){
+            nc = null;
+            node = null;
+         }
+         nodeConnectorProps.put(nc, ncPropMap);
+
+         return nodeConnectorProps;
     }