def __init__(self, osInfo, localPath, remoteUrl=None): """ Initialize repo. """ TortugaObject.__init__(self, { 'osInfo': osInfo, 'localPath': localPath, 'remoteUrl': remoteUrl, }, [], 'repo')
def __init__(self, name='', xPath=''): TortugaObject.__init__(self, { 'name': name, 'xPath': xPath, }, ['xPath', 'name', 'id'], XPathVariable.ROOT_TAG, { 'xPath': 'str', })
def __init__(self, name=None, value=None, description=None): TortugaObject.__init__( self, { 'name': name, 'value': value, 'description': description }, ['name', 'value', 'description', 'id'], Parameter.ROOT_TAG)
def __init__(self, name=None, version=None, iteration=None): TortugaObject.__init__(self, { 'name': name, 'version': version, 'iteration': iteration, 'componentList': TortugaObjectList(), 'sources': TortugaObjectList(), }, ['name', 'version', 'iteration', 'id'], Kit.ROOT_TAG)
def __init__(self): TortugaObject.__init__( self, { 'nodes': TortugaObjectList(), 'strings': TortugaObjectList(), 'running': False }, [], AddHostStatus.ROOT_TAG)
def __init__(self, name=None): TortugaObject.__init__(self, { 'name': name, 'networks': TortugaObjectList(), 'admins': TortugaObjectList(), 'nodes': TortugaObjectList(), 'nics': TortugaObjectList(), }, ['name', 'id'], HardwareProfile.ROOT_TAG)
def __init__(self, applicationName='', name='', description=''): TortugaObject.__init__(self, { 'applicationName': applicationName, 'name': name, 'description': description, 'status': Rule.ENABLED_STATUS, 'conditions': TortugaObjectList(), 'xPathVariables': TortugaObjectList(), }, ['applicationName', 'name', 'id'], Rule.ROOT_TAG)
def __init__(self, name=None, version=None): TortugaObject.__init__( self, { 'name': name, 'version': version, 'packageList': TortugaObjectList(), 'osComponentList': TortugaObjectList(), 'osFamilyComponentList': TortugaObjectList() }, ['name', 'version', 'id'], Component.ROOT_TAG)
def __init__(self, metricXPath='', evaluationOperator='', triggerValue=''): TortugaObject.__init__( self, { 'metricXPath': metricXPath, 'evaluationOperator': evaluationOperator, 'triggerValue': triggerValue, }, ['metricXPath', 'evaluationOperator', 'triggerValue', 'id'], RuleCondition.ROOT_TAG, { 'evaluationOperator': 'str', })
def __init__(self, type_='', description='', pollPeriod=None): TortugaObject.__init__(self, { 'type': type_, 'description': description, 'pollPeriod': pollPeriod, }, ['type', 'id', 'pollPeriod', 'maxActionInvocations'], ApplicationMonitor.ROOT_TAG, { 'queryCommand': 'str', 'actionCommand': 'str', })
def __init__(self, name=None): TortugaObject.__init__( self, { 'name': name, 'admins': TortugaObjectList(), 'partitions': TortugaObjectList(), 'components': TortugaObjectList(), 'nodes': TortugaObjectList(), 'kitsources': TortugaObjectList(), }, ['name', 'id'], SoftwareProfile.ROOT_TAG)
def __init__(self, volume_id=None, size=None, storageAdapter=None, adapterVolume=None, persistent=False, shared=False): TortugaObject.__init__( self, { 'id': volume_id, 'size': size, 'storageadapter': storageAdapter, 'persistent': persistent, 'adaptervolume': adapterVolume, 'shared': shared }, ['id', 'storageadapter'], Volume.ROOT_TAG)
def __init__(self, name=None): TortugaObject.__init__( self, { 'name': name }, ['name', 'id'], Module.ROOT_TAG)
def __init__(self, address=None): TortugaObject.__init__(self, {'address': address}, ['address', 'id'], Network.ROOT_TAG)
def __init__(self, name=None): TortugaObject.__init__(self, { 'name': name, }, ['name', 'softwareProfileId', 'id'], Package.ROOT_TAG)
def __init__(self, url=None, description=None): TortugaObject.__init__(self, { 'url': url, 'description': description, }, ['name', 'description', 'id'], KitSource.ROOT_TAG)
def __init__(self, name=None): TortugaObject.__init__(self, {'name': name}, ['name'], NetworkDevice.ROOT_TAG)
def __init__(self, name=None, device=None): TortugaObject.__init__(self, { 'name': name, 'device': device }, ['name', 'device', 'id'], Partition.ROOT_TAG)
def __init__(self, name=None, version=None, arch=None): TortugaObject.__init__(self, { 'name': name, 'version': version, 'arch': arch }, ['name', 'version', 'arch', 'id'], OsInfo.ROOT_TAG)
def __init__(self, name=None, kitId=None): TortugaObject.__init__(self, { 'name': name, 'kitId': kitId }, ['id', 'name'], ResourceAdapter.ROOT_TAG)
def __init__(self, osInfo=None): TortugaObject.__init__(self, { 'osInfo': osInfo, 'requires': TortugaObjectList(), }, [], OsComponent.ROOT_TAG)
def __init__(self, mac=None, ip=None): TortugaObject.__init__(self, { 'mac': mac, 'ip': ip }, ['mac', 'ip', 'id'], Nic.ROOT_TAG)
def __init__(self, path): TortugaObject.__init__(self, {'path': path}, ['path'])
def __init__(self): TortugaObject.__init__(self, {}, [], ProvisioningInfo.ROOT_TAG)