         name: "switch0",
         sys: "root",
         capacity: 1000,
-        latency: 0
+        latency: 0,
+        interfaces: {}
       }
       @id = {
         name: "switch0"

        name: "router0",
        sys: "root",
        capacity: 100,
        latency: 0
      }
      @id = {
        name: "router0"

        name: "computer0",
        sys: "root",
        os: "Ubuntu1504-54-STD",
        start_script: "",
        interfaces: {}
      }
      @id = {
