Setting tag plewww-5.2-4
[plewww.git] / planetlab / includes / plc_objects.php
index c3c23c5..27ca475 100644 (file)
@@ -207,6 +207,7 @@ class Node extends PlcObject {
   function Node($node) {
     global $plc, $api, $adm;
     $this->data = $node;
+    $this->node_type = $node['node_type'];
     $this->model = $node['model'];
     $this->node_id = $node['node_id'];
     $this->hostname = $node['hostname'];
@@ -230,6 +231,7 @@ class Node extends PlcObject {
            $this->dns1 = $nnet['dns1'];
            $this->dns2 = $nnet['dns2'];
            $this->method = $nnet['method'];
+           $this->interface_id = $nnet['interface_id'];
          }
       }
   }