fog-vcloud-director 0.1.10 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.rubocop.yml +4 -240
- data/.rubocop_local.yml +1 -0
- data/.travis.yml +5 -10
- data/README.md +3 -0
- data/docs/examples-vm-reconfigure.md +39 -0
- data/docs/vm-to-reconfigure.xml +373 -0
- data/fog-vcloud-director.gemspec +4 -1
- data/lib/fog/vcloud_director.rb +14 -1
- data/lib/fog/vcloud_director/compute.rb +34 -8
- data/lib/fog/vcloud_director/core.rb +0 -3
- data/lib/fog/vcloud_director/generators/compute/org_vdc_network.rb +1 -1
- data/lib/fog/vcloud_director/generators/compute/reconfigure_vm.rb +110 -0
- data/lib/fog/vcloud_director/generators/compute/vapp.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/catalog.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/catalog_item.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/catalog_items.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/catalogs.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/custom_field.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/disk.rb +1 -2
- data/lib/fog/vcloud_director/models/compute/disks.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/media.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/medias.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/network.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/networks.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/organization.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/organizations.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/tag.rb +1 -2
- data/lib/fog/vcloud_director/models/compute/tags.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/task.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/tasks.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/template_vm.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/template_vms.rb +2 -3
- data/lib/fog/vcloud_director/models/compute/vapp.rb +25 -8
- data/lib/fog/vcloud_director/models/compute/vapp_template.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/vapp_templates.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/vapps.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/vdc.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/vdcs.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/vm.rb +10 -30
- data/lib/fog/vcloud_director/models/compute/vm_customization.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/vm_customizations.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/vm_network.rb +0 -2
- data/lib/fog/vcloud_director/models/compute/vm_networks.rb +0 -1
- data/lib/fog/vcloud_director/models/compute/vms.rb +1 -2
- data/lib/fog/vcloud_director/parsers/compute/vapp.rb +93 -0
- data/lib/fog/vcloud_director/parsers/compute/vm.rb +3 -62
- data/lib/fog/vcloud_director/parsers/compute/vm_parser_helper.rb +47 -0
- data/lib/fog/vcloud_director/parsers/compute/vms.rb +2 -23
- data/lib/fog/vcloud_director/query.rb +0 -1
- data/lib/fog/vcloud_director/requests/compute/delete_vapp.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/get_template_vm.rb +1 -47
- data/lib/fog/vcloud_director/requests/compute/get_template_vms.rb +0 -13
- data/lib/fog/vcloud_director/requests/compute/get_vapp.rb +4 -3
- data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/get_vapp_owner.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/get_vm.rb +0 -46
- data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/post_power_on_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_reconfigure_vm.rb +4 -84
- data/lib/fog/vcloud_director/requests/compute/post_update_vapp_metadata.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/put_cpu.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/put_memory.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/put_metadata_value.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/put_network_connection_system_section_vapp.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/put_vm.rb +1 -1
- data/lib/fog/vcloud_director/version.rb +1 -1
- data/spec/common_assertions.rb +42 -0
- data/spec/fixtures/vm.xml +419 -0
- data/spec/secrets.yaml.templ +3 -0
- data/spec/spec_helper.rb +5 -5
- data/spec/vcloud_director/generators/compute/compose_common_spec.rb +1 -6
- data/spec/vcloud_director/generators/compute/compose_vapp_spec.rb +67 -0
- data/spec/vcloud_director/generators/compute/create_snapshot_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/customization_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/disks_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/edge_gateway_service_configuration_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/instantiate_vapp_template_params_spec.rb +1 -4
- data/spec/vcloud_director/generators/compute/metadata_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/org_vdc_network_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/recompose_vapp_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/reconfigure_vm_spec.rb +117 -0
- data/spec/vcloud_director/generators/compute/vapp_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/vm_network_spec.rb +4 -0
- data/spec/vcloud_director/generators/compute/vm_spec.rb +4 -0
- data/spec/vcloud_director/models/compute/basic_spec.rb +44 -0
- data/spec/vcloud_director/models/compute/vapps_spec.rb +104 -0
- data/spec/vcloud_director/models/compute/vms_spec.rb +54 -0
- data/spec/vcloud_director/parsers/compute/disks_spec.rb +4 -0
- data/spec/vcloud_director/parsers/compute/metadata_spec.rb +4 -0
- data/spec/vcloud_director/parsers/compute/network_spec.rb +4 -0
- data/spec/vcloud_director/parsers/compute/vm_customization_spec.rb +4 -0
- data/spec/vcloud_director/parsers/compute/vm_network_spec.rb +4 -0
- data/spec/vcloud_director/parsers/compute/vm_parser_helper_spec.rb +4 -0
- data/spec/vcloud_director/parsers/compute/vm_spec.rb +4 -0
- data/spec/vcloud_director/parsers/compute/vms_by_metadata_spec.rb +4 -0
- data/spec/vcloud_director/parsers/compute/vms_spec.rb +4 -0
- data/spec/vcloud_director/requests/compute/basic_spec.rb +212 -0
- data/spec/vcloud_director/requests/compute/get_vapp_spec.rb +11 -0
- data/spec/vcloud_director/requests/compute/get_vdc_spec.rb +10 -0
- data/spec/vcloud_director/requests/compute/instantiate_vapp_template_spec.rb +1 -3
- data/spec/vcloud_director/requests/compute/post_reconfigure_vm_spec.rb +26 -0
- data/spec/vcr_cassettes/authentication.yml +48 -0
- data/spec/vcr_cassettes/get_vapp.yml +937 -0
- data/spec/vcr_cassettes/get_vapps-expired.yml +918 -0
- data/spec/vcr_cassettes/get_vapps-novms.yml +215 -0
- data/spec/vcr_cassettes/get_vapps.yml +118 -0
- data/spec/vcr_cassettes/get_vdc.yml +118 -0
- data/spec/vcr_cassettes/get_vm.yml +398 -0
- data/spec/vcr_cassettes/post_reconfigure_vm-virtual_hardware.yml +445 -0
- data/spec/vcr_spec_helper.rb +34 -0
- data/tasks/test.rake +3 -10
- metadata +129 -5
- data/lib/fog/vcloud_director/requests/compute/get_vms.rb +0 -41
- data/spec/vcloud_director/spec_helper.rb +0 -13
@@ -0,0 +1,215 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- fog-core/2.1.0
|
12
|
+
Accept:
|
13
|
+
- application/*+xml;version=9.0
|
14
|
+
X-Vcloud-Authorization:
|
15
|
+
- ce7d7bd87ad24ad4b8f959e187fc2e6a
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Tue, 15 May 2018 13:14:43 GMT
|
23
|
+
X-Vmware-Vcloud-Request-Id:
|
24
|
+
- 5de97247-7889-4afc-9ffb-c652eb6bcfda
|
25
|
+
X-Vcloud-Authorization:
|
26
|
+
- ce7d7bd87ad24ad4b8f959e187fc2e6a
|
27
|
+
Content-Type:
|
28
|
+
- application/vnd.vmware.vcloud.vdc+xml;version=9.0
|
29
|
+
X-Vmware-Vcloud-Request-Execution-Time:
|
30
|
+
- '151'
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding, User-Agent
|
33
|
+
Content-Length:
|
34
|
+
- '7954'
|
35
|
+
body:
|
36
|
+
encoding: ASCII-8BIT
|
37
|
+
string: |
|
38
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
39
|
+
<Vdc xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:common="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:ovfenv="http://schemas.dmtf.org/ovf/environment/1" xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" xmlns:ns9="http://www.vmware.com/vcloud/networkservice/1.0" xmlns:ns10="http://www.vmware.com/vcloud/networkservice/common/1.0" xmlns:ns11="http://www.vmware.com/vcloud/networkservice/ipam/1.0" xmlns:ns12="http://www.vmware.com/vcloud/versions" status="1" name="RedHat VDC 2" id="urn:vcloud:vdc:cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.vcloud.vdc+xml">
|
40
|
+
<Link rel="up" href="https://VMWARE_CLOUD_HOST/api/org/8f03aa58-b618-4c32-836b-dc6b612ed3a4" type="application/vnd.vmware.vcloud.org+xml"/>
|
41
|
+
<Link rel="down" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/metadata" type="application/vnd.vmware.vcloud.metadata+xml"/>
|
42
|
+
<Link rel="edit" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.vcloud.vdc+xml"/>
|
43
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/uploadVAppTemplate" type="application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml"/>
|
44
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/media" type="application/vnd.vmware.vcloud.media+xml"/>
|
45
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/instantiateOvf" type="application/vnd.vmware.vcloud.instantiateOvfParams+xml"/>
|
46
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/instantiateVAppTemplate" type="application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml"/>
|
47
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneVApp" type="application/vnd.vmware.vcloud.cloneVAppParams+xml"/>
|
48
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneVAppTemplate" type="application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml"/>
|
49
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneMedia" type="application/vnd.vmware.vcloud.cloneMediaParams+xml"/>
|
50
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/captureVApp" type="application/vnd.vmware.vcloud.captureVAppParams+xml"/>
|
51
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/composeVApp" type="application/vnd.vmware.vcloud.composeVAppParams+xml"/>
|
52
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/disk" type="application/vnd.vmware.vcloud.diskCreateParams+xml"/>
|
53
|
+
<Link rel="edgeGateways" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/edgeGateways" type="application/vnd.vmware.vcloud.query.records+xml"/>
|
54
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/networks" type="application/vnd.vmware.vcloud.orgVdcNetwork+xml"/>
|
55
|
+
<Link rel="orgVdcNetworks" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/networks" type="application/vnd.vmware.vcloud.query.records+xml"/>
|
56
|
+
<Link rel="alternate" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.admin.vdc+xml"/>
|
57
|
+
<Description>Secondary VDC</Description>
|
58
|
+
<AllocationModel>AllocationPool</AllocationModel>
|
59
|
+
<ComputeCapacity>
|
60
|
+
<Cpu>
|
61
|
+
<Units>MHz</Units>
|
62
|
+
<Allocated>7160</Allocated>
|
63
|
+
<Limit>7160</Limit>
|
64
|
+
<Reserved>3580</Reserved>
|
65
|
+
<Used>0</Used>
|
66
|
+
<Overhead>0</Overhead>
|
67
|
+
</Cpu>
|
68
|
+
<Memory>
|
69
|
+
<Units>MB</Units>
|
70
|
+
<Allocated>29378</Allocated>
|
71
|
+
<Limit>29378</Limit>
|
72
|
+
<Reserved>14689</Reserved>
|
73
|
+
<Used>0</Used>
|
74
|
+
<Overhead>0</Overhead>
|
75
|
+
</Memory>
|
76
|
+
</ComputeCapacity>
|
77
|
+
<ResourceEntities>
|
78
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vAppTemplate/vappTemplate-05e4d68f-1a4e-40d5-9361-a121c1a67393" name="Win-dev-201802-vapp" type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
|
79
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vAppTemplate/vappTemplate-56747885-7f81-4fd8-a7f7-10e65bd42461" name="Windows and Linux VAPP TEMPLATE" type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
|
80
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd" name="berginc-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
81
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-fe8d013d-dd2f-4ac6-9e8a-3a4a18e0a62e" name="cfme-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
82
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6c7beda3-715a-48a8-947b-e8c42cd62ff5" name="vApp-windblows" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
83
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-a05279a5-9653-4f3a-9834-92442df9b432" name="burek-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
84
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-5d61572f-f76d-45fc-9f59-f36ca6651781" name="demo-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
85
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-b7f86ad2-ae02-4227-b23a-d65f317f39b8" name="saso-vApp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
86
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-fea78247-f6d8-4958-b71f-600d54fd9c90" name="Template" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
87
|
+
</ResourceEntities>
|
88
|
+
<AvailableNetworks>
|
89
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/146c97bb-0304-4484-8bd6-7237be034592" name="RedHat Private network 42" type="application/vnd.vmware.vcloud.network+xml"/>
|
90
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/c33708b3-0eec-457d-97bd-88e68c036caf" name="RedHat Private network 42 2" type="application/vnd.vmware.vcloud.network+xml"/>
|
91
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/488ec9e7-75cd-45fd-ba34-be247600e144" name="RedHat Private network 42 3" type="application/vnd.vmware.vcloud.network+xml"/>
|
92
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/b915be99-1471-4e51-bcde-da2da791b98f" name="RedHat Private network 43" type="application/vnd.vmware.vcloud.network+xml"/>
|
93
|
+
</AvailableNetworks>
|
94
|
+
<Capabilities>
|
95
|
+
<SupportedHardwareVersions>
|
96
|
+
<SupportedHardwareVersion>vmx-04</SupportedHardwareVersion>
|
97
|
+
<SupportedHardwareVersion>vmx-07</SupportedHardwareVersion>
|
98
|
+
<SupportedHardwareVersion>vmx-08</SupportedHardwareVersion>
|
99
|
+
<SupportedHardwareVersion>vmx-09</SupportedHardwareVersion>
|
100
|
+
<SupportedHardwareVersion>vmx-10</SupportedHardwareVersion>
|
101
|
+
<SupportedHardwareVersion>vmx-11</SupportedHardwareVersion>
|
102
|
+
<SupportedHardwareVersion>vmx-12</SupportedHardwareVersion>
|
103
|
+
<SupportedHardwareVersion>vmx-13</SupportedHardwareVersion>
|
104
|
+
</SupportedHardwareVersions>
|
105
|
+
</Capabilities>
|
106
|
+
<NicQuota>0</NicQuota>
|
107
|
+
<NetworkQuota>1000</NetworkQuota>
|
108
|
+
<UsedNetworkCount>0</UsedNetworkCount>
|
109
|
+
<VmQuota>100</VmQuota>
|
110
|
+
<IsEnabled>true</IsEnabled>
|
111
|
+
<VdcStorageProfiles>
|
112
|
+
<VdcStorageProfile href="https://VMWARE_CLOUD_HOST/api/vdcStorageProfile/c87b2a7c-fcab-4f8a-bef3-3ece59366c38" name="*" type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"/>
|
113
|
+
</VdcStorageProfiles>
|
114
|
+
<VCpuInMhz2>1000</VCpuInMhz2>
|
115
|
+
</Vdc>
|
116
|
+
http_version:
|
117
|
+
recorded_at: Tue, 15 May 2018 13:14:43 GMT
|
118
|
+
- request:
|
119
|
+
method: get
|
120
|
+
uri: https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd
|
121
|
+
body:
|
122
|
+
encoding: US-ASCII
|
123
|
+
string: ''
|
124
|
+
headers:
|
125
|
+
User-Agent:
|
126
|
+
- fog-core/2.1.0
|
127
|
+
Accept:
|
128
|
+
- application/*+xml;version=9.0
|
129
|
+
X-Vcloud-Authorization:
|
130
|
+
- ce7d7bd87ad24ad4b8f959e187fc2e6a
|
131
|
+
response:
|
132
|
+
status:
|
133
|
+
code: 200
|
134
|
+
message: OK
|
135
|
+
headers:
|
136
|
+
Date:
|
137
|
+
- Tue, 15 May 2018 13:14:43 GMT
|
138
|
+
X-Vmware-Vcloud-Request-Id:
|
139
|
+
- e68642a3-f618-4c53-b285-a2735e91988e
|
140
|
+
X-Vcloud-Authorization:
|
141
|
+
- ce7d7bd87ad24ad4b8f959e187fc2e6a
|
142
|
+
Content-Type:
|
143
|
+
- application/vnd.vmware.vcloud.vapp+xml;version=9.0
|
144
|
+
X-Vmware-Vcloud-Request-Execution-Time:
|
145
|
+
- '77'
|
146
|
+
Vary:
|
147
|
+
- Accept-Encoding, User-Agent
|
148
|
+
Content-Length:
|
149
|
+
- '4995'
|
150
|
+
body:
|
151
|
+
encoding: ASCII-8BIT
|
152
|
+
string: |
|
153
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
154
|
+
<VApp xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:common="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:ovfenv="http://schemas.dmtf.org/ovf/environment/1" xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" xmlns:ns9="http://www.vmware.com/vcloud/networkservice/1.0" xmlns:ns10="http://www.vmware.com/vcloud/networkservice/common/1.0" xmlns:ns11="http://www.vmware.com/vcloud/networkservice/ipam/1.0" xmlns:ns12="http://www.vmware.com/vcloud/versions" ovfDescriptorUploaded="true" deployed="false" status="1" name="berginc-vapp" id="urn:vcloud:vapp:6420bb6b-daab-4015-8ab8-f5d8105040fd" href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd" type="application/vnd.vmware.vcloud.vApp+xml">
|
155
|
+
<Link rel="down" href="https://VMWARE_CLOUD_HOST/api/network/793f1fbb-d47b-4d27-af87-d88449f69297" name="VM Network" type="application/vnd.vmware.vcloud.vAppNetwork+xml"/>
|
156
|
+
<Link rel="up" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.vcloud.vdc+xml"/>
|
157
|
+
<Link rel="edit" href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
158
|
+
<Link rel="remove" href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd"/>
|
159
|
+
<Description></Description>
|
160
|
+
<LeaseSettingsSection href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd/leaseSettingsSection/" type="application/vnd.vmware.vcloud.leaseSettingsSection+xml" ovf:required="false">
|
161
|
+
<ovf:Info>Lease settings section</ovf:Info>
|
162
|
+
<Link rel="edit" href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd/leaseSettingsSection/" type="application/vnd.vmware.vcloud.leaseSettingsSection+xml"/>
|
163
|
+
<DeploymentLeaseInSeconds>604800</DeploymentLeaseInSeconds>
|
164
|
+
<StorageLeaseInSeconds>2592000</StorageLeaseInSeconds>
|
165
|
+
<StorageLeaseExpiration>2018-03-25T11:44:40.671+02:00</StorageLeaseExpiration>
|
166
|
+
</LeaseSettingsSection>
|
167
|
+
<ovf:NetworkSection xmlns:ns13="http://www.vmware.com/vcloud/v1.5" ns13:type="application/vnd.vmware.vcloud.networkSection+xml" ns13:href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd/networkSection/">
|
168
|
+
<ovf:Info>The list of logical networks</ovf:Info>
|
169
|
+
<ovf:Network ovf:name="VM Network">
|
170
|
+
<ovf:Description>VM Network</ovf:Description>
|
171
|
+
</ovf:Network>
|
172
|
+
</ovf:NetworkSection>
|
173
|
+
<NetworkConfigSection href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd/networkConfigSection/" type="application/vnd.vmware.vcloud.networkConfigSection+xml" ovf:required="false">
|
174
|
+
<ovf:Info>The configuration parameters for logical networks</ovf:Info>
|
175
|
+
<Link rel="edit" href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd/networkConfigSection/" type="application/vnd.vmware.vcloud.networkConfigSection+xml"/>
|
176
|
+
<NetworkConfig networkName="VM Network">
|
177
|
+
<Link rel="repair" href="https://VMWARE_CLOUD_HOST/api/admin/network/793f1fbb-d47b-4d27-af87-d88449f69297/action/reset"/>
|
178
|
+
<Description>VM Network</Description>
|
179
|
+
<Configuration>
|
180
|
+
<IpScopes>
|
181
|
+
<IpScope>
|
182
|
+
<IsInherited>false</IsInherited>
|
183
|
+
<Gateway>192.168.254.1</Gateway>
|
184
|
+
<Netmask>255.255.255.0</Netmask>
|
185
|
+
<IsEnabled>true</IsEnabled>
|
186
|
+
<IpRanges>
|
187
|
+
<IpRange>
|
188
|
+
<StartAddress>192.168.254.100</StartAddress>
|
189
|
+
<EndAddress>192.168.254.199</EndAddress>
|
190
|
+
</IpRange>
|
191
|
+
</IpRanges>
|
192
|
+
</IpScope>
|
193
|
+
</IpScopes>
|
194
|
+
<FenceMode>isolated</FenceMode>
|
195
|
+
<RetainNetInfoAcrossDeployments>false</RetainNetInfoAcrossDeployments>
|
196
|
+
<Features>
|
197
|
+
<DhcpService>
|
198
|
+
<IsEnabled>false</IsEnabled>
|
199
|
+
<DefaultLeaseTime>3600</DefaultLeaseTime>
|
200
|
+
<MaxLeaseTime>7200</MaxLeaseTime>
|
201
|
+
</DhcpService>
|
202
|
+
</Features>
|
203
|
+
</Configuration>
|
204
|
+
<IsDeployed>false</IsDeployed>
|
205
|
+
</NetworkConfig>
|
206
|
+
</NetworkConfigSection>
|
207
|
+
<DateCreated>2018-02-19T13:37:19.372+01:00</DateCreated>
|
208
|
+
<Owner type="application/vnd.vmware.vcloud.owner+xml">
|
209
|
+
<User href="https://VMWARE_CLOUD_HOST/api/admin/user/23795b77-9fa6-4124-a0d9-f2abfae2a4cc" name="system" type="application/vnd.vmware.admin.user+xml"/>
|
210
|
+
</Owner>
|
211
|
+
<InMaintenanceMode>false</InMaintenanceMode>
|
212
|
+
</VApp>
|
213
|
+
http_version:
|
214
|
+
recorded_at: Tue, 15 May 2018 13:14:43 GMT
|
215
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,118 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- fog-core/2.1.0
|
12
|
+
Accept:
|
13
|
+
- application/*+xml;version=9.0
|
14
|
+
X-Vcloud-Authorization:
|
15
|
+
- 7380b99fed624ac0a9ecb549807fab02
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Fri, 11 May 2018 12:51:33 GMT
|
23
|
+
X-Vmware-Vcloud-Request-Id:
|
24
|
+
- 7ffe9eb0-6b41-45a0-a4f7-6cb8b2e87419
|
25
|
+
X-Vcloud-Authorization:
|
26
|
+
- 7380b99fed624ac0a9ecb549807fab02
|
27
|
+
Content-Type:
|
28
|
+
- application/vnd.vmware.vcloud.vdc+xml;version=9.0
|
29
|
+
X-Vmware-Vcloud-Request-Execution-Time:
|
30
|
+
- '156'
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding, User-Agent
|
33
|
+
Content-Length:
|
34
|
+
- '7954'
|
35
|
+
body:
|
36
|
+
encoding: ASCII-8BIT
|
37
|
+
string: |
|
38
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
39
|
+
<Vdc xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:common="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:ovfenv="http://schemas.dmtf.org/ovf/environment/1" xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" xmlns:ns9="http://www.vmware.com/vcloud/networkservice/1.0" xmlns:ns10="http://www.vmware.com/vcloud/networkservice/common/1.0" xmlns:ns11="http://www.vmware.com/vcloud/networkservice/ipam/1.0" xmlns:ns12="http://www.vmware.com/vcloud/versions" status="1" name="RedHat VDC 2" id="urn:vcloud:vdc:cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.vcloud.vdc+xml">
|
40
|
+
<Link rel="up" href="https://VMWARE_CLOUD_HOST/api/org/8f03aa58-b618-4c32-836b-dc6b612ed3a4" type="application/vnd.vmware.vcloud.org+xml"/>
|
41
|
+
<Link rel="down" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/metadata" type="application/vnd.vmware.vcloud.metadata+xml"/>
|
42
|
+
<Link rel="edit" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.vcloud.vdc+xml"/>
|
43
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/uploadVAppTemplate" type="application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml"/>
|
44
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/media" type="application/vnd.vmware.vcloud.media+xml"/>
|
45
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/instantiateOvf" type="application/vnd.vmware.vcloud.instantiateOvfParams+xml"/>
|
46
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/instantiateVAppTemplate" type="application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml"/>
|
47
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneVApp" type="application/vnd.vmware.vcloud.cloneVAppParams+xml"/>
|
48
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneVAppTemplate" type="application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml"/>
|
49
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneMedia" type="application/vnd.vmware.vcloud.cloneMediaParams+xml"/>
|
50
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/captureVApp" type="application/vnd.vmware.vcloud.captureVAppParams+xml"/>
|
51
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/composeVApp" type="application/vnd.vmware.vcloud.composeVAppParams+xml"/>
|
52
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/disk" type="application/vnd.vmware.vcloud.diskCreateParams+xml"/>
|
53
|
+
<Link rel="edgeGateways" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/edgeGateways" type="application/vnd.vmware.vcloud.query.records+xml"/>
|
54
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/networks" type="application/vnd.vmware.vcloud.orgVdcNetwork+xml"/>
|
55
|
+
<Link rel="orgVdcNetworks" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/networks" type="application/vnd.vmware.vcloud.query.records+xml"/>
|
56
|
+
<Link rel="alternate" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.admin.vdc+xml"/>
|
57
|
+
<Description>Secondary VDC</Description>
|
58
|
+
<AllocationModel>AllocationPool</AllocationModel>
|
59
|
+
<ComputeCapacity>
|
60
|
+
<Cpu>
|
61
|
+
<Units>MHz</Units>
|
62
|
+
<Allocated>7160</Allocated>
|
63
|
+
<Limit>7160</Limit>
|
64
|
+
<Reserved>3580</Reserved>
|
65
|
+
<Used>0</Used>
|
66
|
+
<Overhead>0</Overhead>
|
67
|
+
</Cpu>
|
68
|
+
<Memory>
|
69
|
+
<Units>MB</Units>
|
70
|
+
<Allocated>29378</Allocated>
|
71
|
+
<Limit>29378</Limit>
|
72
|
+
<Reserved>14689</Reserved>
|
73
|
+
<Used>0</Used>
|
74
|
+
<Overhead>0</Overhead>
|
75
|
+
</Memory>
|
76
|
+
</ComputeCapacity>
|
77
|
+
<ResourceEntities>
|
78
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vAppTemplate/vappTemplate-05e4d68f-1a4e-40d5-9361-a121c1a67393" name="Win-dev-201802-vapp" type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
|
79
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vAppTemplate/vappTemplate-56747885-7f81-4fd8-a7f7-10e65bd42461" name="Windows and Linux VAPP TEMPLATE" type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
|
80
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd" name="berginc-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
81
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-fe8d013d-dd2f-4ac6-9e8a-3a4a18e0a62e" name="cfme-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
82
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6c7beda3-715a-48a8-947b-e8c42cd62ff5" name="vApp-windblows" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
83
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-a05279a5-9653-4f3a-9834-92442df9b432" name="burek-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
84
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-5d61572f-f76d-45fc-9f59-f36ca6651781" name="demo-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
85
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-b7f86ad2-ae02-4227-b23a-d65f317f39b8" name="saso-vApp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
86
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-fea78247-f6d8-4958-b71f-600d54fd9c90" name="Template" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
87
|
+
</ResourceEntities>
|
88
|
+
<AvailableNetworks>
|
89
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/146c97bb-0304-4484-8bd6-7237be034592" name="RedHat Private network 42" type="application/vnd.vmware.vcloud.network+xml"/>
|
90
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/c33708b3-0eec-457d-97bd-88e68c036caf" name="RedHat Private network 42 2" type="application/vnd.vmware.vcloud.network+xml"/>
|
91
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/488ec9e7-75cd-45fd-ba34-be247600e144" name="RedHat Private network 42 3" type="application/vnd.vmware.vcloud.network+xml"/>
|
92
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/b915be99-1471-4e51-bcde-da2da791b98f" name="RedHat Private network 43" type="application/vnd.vmware.vcloud.network+xml"/>
|
93
|
+
</AvailableNetworks>
|
94
|
+
<Capabilities>
|
95
|
+
<SupportedHardwareVersions>
|
96
|
+
<SupportedHardwareVersion>vmx-04</SupportedHardwareVersion>
|
97
|
+
<SupportedHardwareVersion>vmx-07</SupportedHardwareVersion>
|
98
|
+
<SupportedHardwareVersion>vmx-08</SupportedHardwareVersion>
|
99
|
+
<SupportedHardwareVersion>vmx-09</SupportedHardwareVersion>
|
100
|
+
<SupportedHardwareVersion>vmx-10</SupportedHardwareVersion>
|
101
|
+
<SupportedHardwareVersion>vmx-11</SupportedHardwareVersion>
|
102
|
+
<SupportedHardwareVersion>vmx-12</SupportedHardwareVersion>
|
103
|
+
<SupportedHardwareVersion>vmx-13</SupportedHardwareVersion>
|
104
|
+
</SupportedHardwareVersions>
|
105
|
+
</Capabilities>
|
106
|
+
<NicQuota>0</NicQuota>
|
107
|
+
<NetworkQuota>1000</NetworkQuota>
|
108
|
+
<UsedNetworkCount>0</UsedNetworkCount>
|
109
|
+
<VmQuota>100</VmQuota>
|
110
|
+
<IsEnabled>true</IsEnabled>
|
111
|
+
<VdcStorageProfiles>
|
112
|
+
<VdcStorageProfile href="https://VMWARE_CLOUD_HOST/api/vdcStorageProfile/c87b2a7c-fcab-4f8a-bef3-3ece59366c38" name="*" type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"/>
|
113
|
+
</VdcStorageProfiles>
|
114
|
+
<VCpuInMhz2>1000</VCpuInMhz2>
|
115
|
+
</Vdc>
|
116
|
+
http_version:
|
117
|
+
recorded_at: Fri, 11 May 2018 12:51:33 GMT
|
118
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,118 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- fog-core/2.1.0
|
12
|
+
Accept:
|
13
|
+
- application/*+xml;version=9.0
|
14
|
+
X-Vcloud-Authorization:
|
15
|
+
- 7380b99fed624ac0a9ecb549807fab02
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Fri, 11 May 2018 12:40:42 GMT
|
23
|
+
X-Vmware-Vcloud-Request-Id:
|
24
|
+
- f8d6aaa6-7e85-48ca-89e0-75a6acf8d8c3
|
25
|
+
X-Vcloud-Authorization:
|
26
|
+
- 7380b99fed624ac0a9ecb549807fab02
|
27
|
+
Content-Type:
|
28
|
+
- application/vnd.vmware.vcloud.vdc+xml;version=9.0
|
29
|
+
X-Vmware-Vcloud-Request-Execution-Time:
|
30
|
+
- '128'
|
31
|
+
Vary:
|
32
|
+
- Accept-Encoding, User-Agent
|
33
|
+
Content-Length:
|
34
|
+
- '7954'
|
35
|
+
body:
|
36
|
+
encoding: ASCII-8BIT
|
37
|
+
string: |
|
38
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
39
|
+
<Vdc xmlns="http://www.vmware.com/vcloud/v1.5" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:common="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:ovfenv="http://schemas.dmtf.org/ovf/environment/1" xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" xmlns:ns9="http://www.vmware.com/vcloud/networkservice/1.0" xmlns:ns10="http://www.vmware.com/vcloud/networkservice/common/1.0" xmlns:ns11="http://www.vmware.com/vcloud/networkservice/ipam/1.0" xmlns:ns12="http://www.vmware.com/vcloud/versions" status="1" name="RedHat VDC 2" id="urn:vcloud:vdc:cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.vcloud.vdc+xml">
|
40
|
+
<Link rel="up" href="https://VMWARE_CLOUD_HOST/api/org/8f03aa58-b618-4c32-836b-dc6b612ed3a4" type="application/vnd.vmware.vcloud.org+xml"/>
|
41
|
+
<Link rel="down" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/metadata" type="application/vnd.vmware.vcloud.metadata+xml"/>
|
42
|
+
<Link rel="edit" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.vcloud.vdc+xml"/>
|
43
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/uploadVAppTemplate" type="application/vnd.vmware.vcloud.uploadVAppTemplateParams+xml"/>
|
44
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/media" type="application/vnd.vmware.vcloud.media+xml"/>
|
45
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/instantiateOvf" type="application/vnd.vmware.vcloud.instantiateOvfParams+xml"/>
|
46
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/instantiateVAppTemplate" type="application/vnd.vmware.vcloud.instantiateVAppTemplateParams+xml"/>
|
47
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneVApp" type="application/vnd.vmware.vcloud.cloneVAppParams+xml"/>
|
48
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneVAppTemplate" type="application/vnd.vmware.vcloud.cloneVAppTemplateParams+xml"/>
|
49
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/cloneMedia" type="application/vnd.vmware.vcloud.cloneMediaParams+xml"/>
|
50
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/captureVApp" type="application/vnd.vmware.vcloud.captureVAppParams+xml"/>
|
51
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/action/composeVApp" type="application/vnd.vmware.vcloud.composeVAppParams+xml"/>
|
52
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/disk" type="application/vnd.vmware.vcloud.diskCreateParams+xml"/>
|
53
|
+
<Link rel="edgeGateways" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/edgeGateways" type="application/vnd.vmware.vcloud.query.records+xml"/>
|
54
|
+
<Link rel="add" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/networks" type="application/vnd.vmware.vcloud.orgVdcNetwork+xml"/>
|
55
|
+
<Link rel="orgVdcNetworks" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89/networks" type="application/vnd.vmware.vcloud.query.records+xml"/>
|
56
|
+
<Link rel="alternate" href="https://VMWARE_CLOUD_HOST/api/admin/vdc/cf6ea964-a67f-4ba1-b69e-3dd5d6cb0c89" type="application/vnd.vmware.admin.vdc+xml"/>
|
57
|
+
<Description>Secondary VDC</Description>
|
58
|
+
<AllocationModel>AllocationPool</AllocationModel>
|
59
|
+
<ComputeCapacity>
|
60
|
+
<Cpu>
|
61
|
+
<Units>MHz</Units>
|
62
|
+
<Allocated>7160</Allocated>
|
63
|
+
<Limit>7160</Limit>
|
64
|
+
<Reserved>3580</Reserved>
|
65
|
+
<Used>0</Used>
|
66
|
+
<Overhead>0</Overhead>
|
67
|
+
</Cpu>
|
68
|
+
<Memory>
|
69
|
+
<Units>MB</Units>
|
70
|
+
<Allocated>29378</Allocated>
|
71
|
+
<Limit>29378</Limit>
|
72
|
+
<Reserved>14689</Reserved>
|
73
|
+
<Used>0</Used>
|
74
|
+
<Overhead>0</Overhead>
|
75
|
+
</Memory>
|
76
|
+
</ComputeCapacity>
|
77
|
+
<ResourceEntities>
|
78
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vAppTemplate/vappTemplate-05e4d68f-1a4e-40d5-9361-a121c1a67393" name="Win-dev-201802-vapp" type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
|
79
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vAppTemplate/vappTemplate-56747885-7f81-4fd8-a7f7-10e65bd42461" name="Windows and Linux VAPP TEMPLATE" type="application/vnd.vmware.vcloud.vAppTemplate+xml"/>
|
80
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6420bb6b-daab-4015-8ab8-f5d8105040fd" name="berginc-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
81
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-fe8d013d-dd2f-4ac6-9e8a-3a4a18e0a62e" name="cfme-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
82
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-6c7beda3-715a-48a8-947b-e8c42cd62ff5" name="vApp-windblows" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
83
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-a05279a5-9653-4f3a-9834-92442df9b432" name="burek-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
84
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-5d61572f-f76d-45fc-9f59-f36ca6651781" name="demo-vapp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
85
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-b7f86ad2-ae02-4227-b23a-d65f317f39b8" name="saso-vApp" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
86
|
+
<ResourceEntity href="https://VMWARE_CLOUD_HOST/api/vApp/vapp-fea78247-f6d8-4958-b71f-600d54fd9c90" name="Template" type="application/vnd.vmware.vcloud.vApp+xml"/>
|
87
|
+
</ResourceEntities>
|
88
|
+
<AvailableNetworks>
|
89
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/146c97bb-0304-4484-8bd6-7237be034592" name="RedHat Private network 42" type="application/vnd.vmware.vcloud.network+xml"/>
|
90
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/c33708b3-0eec-457d-97bd-88e68c036caf" name="RedHat Private network 42 2" type="application/vnd.vmware.vcloud.network+xml"/>
|
91
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/488ec9e7-75cd-45fd-ba34-be247600e144" name="RedHat Private network 42 3" type="application/vnd.vmware.vcloud.network+xml"/>
|
92
|
+
<Network href="https://VMWARE_CLOUD_HOST/api/network/b915be99-1471-4e51-bcde-da2da791b98f" name="RedHat Private network 43" type="application/vnd.vmware.vcloud.network+xml"/>
|
93
|
+
</AvailableNetworks>
|
94
|
+
<Capabilities>
|
95
|
+
<SupportedHardwareVersions>
|
96
|
+
<SupportedHardwareVersion>vmx-04</SupportedHardwareVersion>
|
97
|
+
<SupportedHardwareVersion>vmx-07</SupportedHardwareVersion>
|
98
|
+
<SupportedHardwareVersion>vmx-08</SupportedHardwareVersion>
|
99
|
+
<SupportedHardwareVersion>vmx-09</SupportedHardwareVersion>
|
100
|
+
<SupportedHardwareVersion>vmx-10</SupportedHardwareVersion>
|
101
|
+
<SupportedHardwareVersion>vmx-11</SupportedHardwareVersion>
|
102
|
+
<SupportedHardwareVersion>vmx-12</SupportedHardwareVersion>
|
103
|
+
<SupportedHardwareVersion>vmx-13</SupportedHardwareVersion>
|
104
|
+
</SupportedHardwareVersions>
|
105
|
+
</Capabilities>
|
106
|
+
<NicQuota>0</NicQuota>
|
107
|
+
<NetworkQuota>1000</NetworkQuota>
|
108
|
+
<UsedNetworkCount>0</UsedNetworkCount>
|
109
|
+
<VmQuota>100</VmQuota>
|
110
|
+
<IsEnabled>true</IsEnabled>
|
111
|
+
<VdcStorageProfiles>
|
112
|
+
<VdcStorageProfile href="https://VMWARE_CLOUD_HOST/api/vdcStorageProfile/c87b2a7c-fcab-4f8a-bef3-3ece59366c38" name="*" type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"/>
|
113
|
+
</VdcStorageProfiles>
|
114
|
+
<VCpuInMhz2>1000</VCpuInMhz2>
|
115
|
+
</Vdc>
|
116
|
+
http_version:
|
117
|
+
recorded_at: Fri, 11 May 2018 12:40:42 GMT
|
118
|
+
recorded_with: VCR 4.0.0
|