def qosuuid(self, uuid): """Will set/update the QoS queue UUID of the object. Arguments: uuid -- a string or None, if None is used 'null' will be sent and the QoS UUID of the object will be unset """ if uuid is None: uuid = 'null' elif not common.isuuid(uuid): raise AttributeError("UUID is invalid") self['queue_uuid'] = uuid return self
def attachment_patch(self, peer_uuid, lrouter_uuid=None): if not common.isuuid(peer_uuid): raise AttributeError("Peer Port UUID is invalid") if lrouter_uuid and not common.isuuid(lrouter_uuid): raise AttributeError("Logical Router UUID is invalid") pass