returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, conf_file_id, node_id_or_hostname):
# Get configuration file
returns = Parameter(int, 'New node_id (> 0) if successful')
+ object_type = 'Node'
+
def call(self, auth, site_id_or_login_base, node_fields):
node_fields = dict(filter(can_update, node_fields.items()))
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_id_or_hostname, pcu_id, port):
# Get node
nodes = Nodes(self.api, [node_id_or_hostname])
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, slice_id_or_name, node_id_or_hostname_list):
# Get slice information
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_fields):
# Update node state
if node_fields.has_key('boot_state'):
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, conf_file_id, node_id_or_hostname):
# Get configuration file
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_id_or_hostname):
# Get account information
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_id_or_hostname, pcu_id):
# Get node
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, slice_id_or_name, node_id_or_hostname_list):
# Get slice information
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_id_or_hostname):
# Get account information
nodes = Nodes(self.api, [node_id_or_hostname])
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, slice_name, nodes_list):
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, slice_name, nodes_list):
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_id_or_hostname, node_fields):
node_fields = dict(filter(can_update, node_fields.items()))