From 3026a6fbcea86a77cf627da8bebedb7667758881 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 31 Aug 2010 10:37:34 +0200 Subject: [PATCH] expose more stuff to the Node object; this is for the register wizard --- planetlab/includes/plc_objects.php | 2 ++ 1 file changed, 2 insertions(+) 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']; } } } -- 2.47.0