event_type = 'Add'
object_type = 'AddressType'
- object_ids = []
def call(self, auth, address_type_fields):
address_type_fields = dict(filter(can_update, address_type_fields.items()))
event_type = 'AddTo'
object_type = 'Address'
- object_ids = []
def call(self, auth, address_type_id_or_name, address_id):
address_types = AddressTypes(self.api, [address_type_id_or_name])
event_type = 'Add'
object_type = 'BootState'
- object_ids = []
def call(self, auth, name):
boot_state = BootState(self.api)
event_type = 'Add'
object_type = 'ConfFile'
- object_ids = []
def call(self, auth, conf_file_fields):
conf_file_fields = dict(filter(can_update, conf_file_fields.items()))
event_type = 'AddTo'
object_type = 'ConfFile'
- object_ids = []
def call(self, auth, conf_file_id, node_id_or_hostname):
# Get configuration file
event_type = 'AddTo'
object_type = 'ConfFile'
- object_ids = []
def call(self, auth, conf_file_id, nodegroup_id_or_name):
# Get configuration file
event_type = 'Add'
object_type = 'Message'
- object_ids = []
def call(self, auth, message_fields):
message = Message(self.api, message_fields)
event_type = 'Add'
object_type = 'Node'
- object_ids = []
def call(self, auth, site_id_or_login_base, node_fields):
node_fields = dict(filter(can_update, node_fields.items()))
event_type = 'Add'
object_type = 'NodeGroup'
- object_ids = []
def call(self, auth, nodegroup_fields):
nodegroup_fields = dict(filter(can_update, nodegroup_fields.items()))
event_type = 'Add'
object_type = 'NodeNetwork'
- object_ids = []
-
+
def call(self, auth, node_id_or_hostname, nodenetwork_fields):
nodenetwork_fields = dict(filter(can_update, nodenetwork_fields.items()))
event_type = 'AddTo'
object_type = 'NodeGroup'
- object_ids = []
def call(self, auth, node_id_or_hostname, nodegroup_id_or_name):
# Get node info
returns = Parameter(int, '1 if successful')
event_type = 'AddTo'
object_type = 'PCU'
- object_ids = []
def call(self, auth, node_id_or_hostname, pcu_id, port):
# Get node
event_type = 'Add'
object_type = 'PCU'
- object_ids = []
def call(self, auth, site_id_or_login_base, pcu_fields):
pcu_fields = dict(filter(can_update, pcu_fields.items()))
event_type = 'Add'
object_type = 'Person'
- object_ids = []
def call(self, auth, person_fields):
person_fields = dict(filter(can_update, person_fields.items()))
event_type = 'Add'
object_type = 'Key'
- object_ids = []
def call(self, auth, person_id_or_email, key_fields):
key_fields = dict(filter(can_update, key_fields.items()))
returns = Parameter(int, '1 if successful')
event_type = 'AddTo'
object_type = 'Site'
- object_ids = []
def call(self, auth, person_id_or_email, site_id_or_login_base):
# Get account information
returns = Parameter(int, '1 if successful')
event_type = 'AddTo'
object_type = 'Slice'
- object_ids = []
def call(self, auth, person_id_or_email, slice_id_or_name):
# Get account information
event_type = 'Add'
object_type = 'Role'
- object_ids = []
def call(self, auth, role_id, name):
role = Role(self.api)
event_type = 'AddTo'
object_type = 'Person'
- object_ids = []
def call(self, auth, role_id_or_name, person_id_or_email):
# Get all roles
event_type = 'Add'
object_type = 'Site'
- object_ids = []
def call(self, auth, site_fields):
site_fields = dict(filter(can_update, site_fields.items()))
event_type = 'Add'
object_type = 'Address'
- object_ids = []
def call(self, auth, site_id_or_login_base, address_fields):
address_fields = dict(filter(can_update, address_fields.items()))
event_type = 'Add'
object_type = 'Slice'
- object_ids = []
def call(self, auth, slice_fields):
slice_fields = dict(filter(can_update, slice_fields.items()))
event_type = 'Add'
object_type = 'SliceAttribute'
- object_ids = []
def call(self, auth, slice_id_or_name, attribute_type_id_or_name, value, node_id_or_hostname = None):
slices = Slices(self.api, [slice_id_or_name])
event_type = 'Add'
object_type = 'SliceAttributeType'
- object_ids = []
def call(self, auth, attribute_type_fields):
attribute_type_fields = dict(filter(can_update, attribute_type_fields.items()))
event_type = 'AddTo'
object_type = 'Node'
- object_ids = []
def call(self, auth, slice_id_or_name, node_id_or_hostname_list):
# Get slice information