From: Thierry Parmentelat Date: Tue, 31 Aug 2010 08:37:34 +0000 (+0200) Subject: expose more stuff to the Node object; this is for the register wizard X-Git-Tag: plewww-4.3-48~6 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3026a6fbcea86a77cf627da8bebedb7667758881;p=plewww.git expose more stuff to the Node object; this is for the register wizard --- diff --git a/planetlab/includes/plc_objects.php b/planetlab/includes/plc_objects.php index c3c23c5..27ca475 100644 --- a/planetlab/includes/plc_objects.php +++ b/planetlab/includes/plc_objects.php @@ -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']; } } }