address.update(address_fields)
address.sync()
+ self.object_ids = [address['address_id']]
return 1
address_type.update(address_type_fields)
address_type.sync()
+ self.object_ids = [address_type['address_type_id']]
return 1
conf_file = conf_files[0]
conf_file.update(conf_file_fields)
conf_file.sync()
+ self.object_ids = [conf_file['conf_file_id']]
return 1
key.update(key_fields)
key.sync()
+ self.object_ids = [key['key_id']]
return 1
message.update(message_fields)
message.sync()
+ self.object_ids = [message['message_id']]
return 1
node.update(node_fields)
node.sync()
+ self.object_ids = [node['node_id']]
return 1
nodegroup.update(nodegroup_fields)
nodegroup.sync()
+ self.object_ids = [nodegroup['nodegroup_id']]
return 1
# Update node network
nodenetwork.update(nodenetwork_fields)
nodenetwork.sync()
-
+ self.object_ids = [nodenetwork['nodenetwork_id']]
+
return 1
pcu.update(pcu_fields)
pcu.sync()
+ self.object_ids = [pcu['pcu_id']]
return 1
person.update(person_fields)
person.sync()
+ self.object_ids = [person['person_id']]
return 1
site.update(site_fields)
site.sync()
+ self.object_ids = [site['site_id']]
return 1
raise PLCInvalidArgument, "Cannot renew a slice with an empty description or URL"
slice.sync()
+ self.object_ids = [slice['slice_id']]
return 1
slice_attribute['value'] = value
slice_attribute.sync()
-
+ self.object_ids = [slice_attribute['slice_attribute_id']]
return 1
attribute_type.update(attribute_type_fields)
attribute_type.sync()
+ self.object_ids = [attribute_type['attribute_type_id']]
return 1