/dports/net/py-libcloud/apache-libcloud-3.4.1/libcloud/compute/drivers/ |
H A D | vcloud.py | 63 def fixxpath(root, xpath): function 194 fixxpath(lease_element, 'StorageLeaseInSeconds') 200 fixxpath(lease_element, 'StorageLeaseExpiration') 592 fixxpath(elm, 'NetworkConnection')) 596 fixxpath( 706 elms = res.object.findall(fixxpath( 783 res_ents = res.findall(fixxpath( 1335 fixxpath(res.object, "IsSharedToEveryone")) 1420 xpath = fixxpath(res.object, 'MetadataEntry') 2362 xpath = fixxpath(vm_elem, [all …]
|
H A D | nttcis.py | 58 from libcloud.utils.xml import fixxpath, findtext, findall 5106 ip = element.find(fixxpath('ip', TYPES_URN)) 5107 port = element.find(fixxpath('port', TYPES_URN)) 5226 fixxpath('networkDomain', TYPES_URN)) 5339 fixxpath('reservedIpv6Address', TYPES_URN)) 5352 fixxpath('snapshotWindow', TYPES_URN)) 5381 has_scsi = element.find(fixxpath('scsiController', 5383 has_sata = element.find(fixxpath('sataController', 5408 operation_system = element.find(fixxpath( 5419 operation_system = element.find(fixxpath( [all …]
|
H A D | dimensiondata.py | 53 from libcloud.utils.xml import fixxpath, findtext, findall 4278 element.find(fixxpath('source', TYPES_URN))), 4285 ip = element.find(fixxpath('ip', TYPES_URN)) 4286 port = element.find(fixxpath('port', TYPES_URN)) 4405 fixxpath('networkDomain', TYPES_URN)) 4503 operation_system = element.find(fixxpath( 4518 operation_system = element.find(fixxpath( 4526 element.find(fixxpath('networkInfo', TYPES_URN)) 4547 fixxpath('networkInfo/primaryNic', TYPES_URN)) \ 4553 fixxpath('networkInfo/primaryNic', TYPES_URN)) \ [all …]
|
H A D | ec2.py | 31 from libcloud.utils.xml import fixxpath, findtext, findattr, findall 2817 element = response.findall(fixxpath(xpath='vpc', 2898 element = response.findall(fixxpath(xpath='subnet', 4716 for el in object.findall(fixxpath(xpath=xpath, 4969 fixxpath(xpath=xpath, namespace=NAMESPACE)) 4993 elements = element.findall(fixxpath( 5018 elements = element.findall(fixxpath( 5108 fixxpath(xpath='placementGroupSet/item', 5383 fixxpath(xpath=xpath, namespace=NAMESPACE)) 5430 fixxpath(xpath=xpath, namespace=NAMESPACE)) [all …]
|
/dports/net/py-libcloud/apache-libcloud-3.4.1/libcloud/storage/drivers/ |
H A D | azure_blobs.py | 32 from libcloud.utils.xml import fixxpath 264 name = node.findtext(fixxpath(xpath='Name')) 265 props = node.find(fixxpath(xpath='Properties')) 266 metadata = node.find(fixxpath(xpath='Metadata')) 269 'url': node.findtext(fixxpath(xpath='Url')), 335 name = blob.findtext(fixxpath(xpath='Name')) 336 props = blob.find(fixxpath(xpath='Properties')) 337 metadata = blob.find(fixxpath(xpath='Metadata')) 338 etag = props.findtext(fixxpath(xpath='Etag')) 346 'url': blob.findtext(fixxpath(xpath='Url')), [all …]
|
H A D | oss.py | 37 from libcloud.utils.xml import fixxpath, findtext 324 is_truncated = response.object.findtext(fixxpath( 517 return node.findtext(fixxpath(xpath=text, 531 for node in body.findall(fixxpath(xpath='Upload', 542 is_truncated = body.findtext(fixxpath(xpath='IsTruncated', 549 upload_marker = body.findtext(fixxpath(xpath='NextUploadIdMarker', 551 key_marker = body.findtext(fixxpath(xpath='NextKeyMarker', 669 upload_id = body.find(fixxpath(xpath='UploadId', 808 server_hash = body.find(fixxpath(xpath='ETag', 837 for element in obj.findall(fixxpath(xpath=xpath, [all …]
|
H A D | s3.py | 42 from libcloud.utils.xml import fixxpath, findtext 345 is_truncated = response.object.findtext(fixxpath( 702 server_hash = body.find(fixxpath(xpath='ETag', 807 return node.findtext(fixxpath(xpath=text, 820 for node in body.findall(fixxpath(xpath='Upload', 822 initiator = node.find(fixxpath(xpath='Initiator', 824 owner = node.find(fixxpath(xpath='Owner', 838 is_truncated = body.findtext(fixxpath(xpath='IsTruncated', 847 key_marker = body.findtext(fixxpath(xpath='NextKeyMarker', 1031 for element in obj.findall(fixxpath(xpath=xpath, [all …]
|
/dports/net/py-libcloud/apache-libcloud-3.4.1/libcloud/utils/ |
H A D | xml.py | 24 def fixxpath(xpath, namespace=None): function 37 value = element.findtext(fixxpath(xpath=xpath, namespace=namespace)) 45 return element.findtext(fixxpath(xpath=xpath, namespace=namespace)) 49 return element.findall(fixxpath(xpath=xpath, namespace=namespace))
|
/dports/net/py-libcloud/apache-libcloud-3.4.1/libcloud/loadbalancer/drivers/ |
H A D | dimensiondata.py | 31 from libcloud.utils.xml import fixxpath, findtext, findall 985 fixxpath('defaultIrule', TYPES_URN)) 993 fixxpath('virtualListenerCompatibility', TYPES_URN)) 999 irule_element = element.find(fixxpath('irule', TYPES_URN)) 1009 fixxpath('defaultPersistenceProfile', TYPES_URN)) 1017 fixxpath('virtualListenerCompatibility', TYPES_URN)) 1051 for element in object.findall(fixxpath("node", TYPES_URN)): 1089 pool_element = element.find(fixxpath( 1128 name=element.find(fixxpath( 1132 node_id=element.find(fixxpath( [all …]
|
H A D | nttcis.py | 32 from libcloud.utils.xml import fixxpath, findtext, findall 1396 fixxpath('defaultIrule', TYPES_URN)) 1404 fixxpath('virtualListenerCompatibility', TYPES_URN)) 1410 irule_element = element.find(fixxpath('irule', TYPES_URN)) 1420 fixxpath('defaultPersistenceProfile', TYPES_URN)) 1428 fixxpath('virtualListenerCompatibility', TYPES_URN)) 1462 for element in object.findall(fixxpath("node", TYPES_URN)): 1506 pool_element = element.find(fixxpath( 1545 name=element.find(fixxpath( 1549 node_id=element.find(fixxpath( [all …]
|
/dports/net/py-libcloud/apache-libcloud-3.4.1/libcloud/backup/drivers/ |
H A D | dimensiondata.py | 31 from libcloud.utils.xml import fixxpath, findtext, findall 569 elements = object.findall(fixxpath('storagePolicy', BACKUP_NS)) 581 elements = object.findall(fixxpath('schedulePolicy', BACKUP_NS)) 592 elements = object.findall(fixxpath('backupClientType', BACKUP_NS)) 615 elements = object.findall(fixxpath('backupClient', BACKUP_NS)) 633 alert = element.find(fixxpath('alerting', BACKUP_NS)) 637 in alert.findall(fixxpath('emailAddress', BACKUP_NS)) 646 running_job = element.find(fixxpath('runningJob', BACKUP_NS)) 659 node_elements = object.findall(fixxpath('server', TYPES_URN))
|
/dports/net/py-libcloud/apache-libcloud-3.4.1/libcloud/common/ |
H A D | azure.py | 25 from libcloud.utils.xml import fixxpath 72 code = body.findtext(fixxpath(xpath='Code')) 73 message = body.findtext(fixxpath(xpath='Message'))
|
/dports/net/py-libcloud/apache-libcloud-3.4.1/libcloud/dns/drivers/ |
H A D | route53.py | 32 from libcloud.utils.xml import findtext, findall, fixxpath 410 for element in data.findall(fixxpath(xpath='HostedZones/HostedZone', 436 fixxpath(xpath='ResourceRecordSets/ResourceRecordSet', 439 record_set = elem.findall(fixxpath( 495 fixxpath(xpath='ResourceRecords/ResourceRecord',
|
/dports/net/py-libcloud/apache-libcloud-3.4.1/test/compute/ |
H A D | test_vcloud.py | 26 …ute.drivers.vcloud import TerremarkDriver, VCloudNodeDriver, Subject, Lease, fixxpath, get_url_path 508 fixxpath(guest_customization_section, 'AdminPassword') 601 lease_settings_section = res.object.find(fixxpath(res.object, 'LeaseSettingsSection'))
|
H A D | test_nttcis.py | 36 from libcloud.utils.xml import fixxpath, findtext, findall 2381 network = request.find(fixxpath('network', TYPES_URN)) 2382 network_info = request.find(fixxpath('networkInfo', TYPES_URN)) 2393 primary_nic = network_info.find(fixxpath('primaryNic', TYPES_URN)) 2912 tag = request.find(fixxpath('tag', TYPES_URN)) 2935 tag = request.find(fixxpath('tag', TYPES_URN))
|
H A D | test_dimensiondata_v2_3.py | 36 from libcloud.utils.xml import fixxpath, findtext, findall 2519 network = request.find(fixxpath('network', TYPES_URN)) 2520 network_info = request.find(fixxpath('networkInfo', TYPES_URN)) 2531 primary_nic = network_info.find(fixxpath('primaryNic', TYPES_URN)) 2987 tag = request.find(fixxpath('tag', TYPES_URN)) 3010 tag = request.find(fixxpath('tag', TYPES_URN))
|
H A D | test_dimensiondata_v2_4.py | 34 from libcloud.utils.xml import fixxpath, findtext, findall 2608 network = request.find(fixxpath('network', TYPES_URN)) 2609 network_info = request.find(fixxpath('networkInfo', TYPES_URN)) 2620 primary_nic = network_info.find(fixxpath('primaryNic', TYPES_URN)) 3076 tag = request.find(fixxpath('tag', TYPES_URN)) 3099 tag = request.find(fixxpath('tag', TYPES_URN))
|