From fa7ae92a8b83748b7ac341e4dc695e1723d506dd Mon Sep 17 00:00:00 2001 From: Rodrigo Estebanez Date: Mon, 19 Aug 2013 16:04:25 +0200 Subject: [PATCH] Tests organizations, vdcs, catalogs, catalog_items and RO vapps --- lib/fog/vcloudng/compute.rb | 6 +- lib/fog/vcloudng/models/compute/vapp.rb | 4 +- lib/fog/vcloudng/models/compute/vdc.rb | 3 +- lib/fog/vcloudng/parsers/compute/vm.rb | 2 +- .../models/compute/catalog_items_test.rb | 42 + .../vcloudng/models/compute/catalogs_test.rb | 42 + tests/vcloudng/models/compute/helper.rb | 32 + .../models/compute/organizations_tests.rb | 11 +- tests/vcloudng/models/compute/vapp_tests.rb | 42 + tests/vcloudng/models/compute/vdcs_test.rb | 42 + tests/vcloudng/models/compute/vms_tests.rb | 34 + .../vcr_cassettes/catalog_items_test_rb.yml | 395 +++ .../vcr_cassettes/catalogs_test_rb.yml | 382 +++ .../vcr_cassettes/organizations_tests_rb.yml | 151 +- .../vcloudng/vcr_cassettes/vapp_tests_rb.yml | 683 +++++ tests/vcloudng/vcr_cassettes/vdcs_test_rb.yml | 547 ++++ tests/vcloudng/vcr_cassettes/vms_tests_rb.yml | 2221 +++++++++++++++++ 17 files changed, 4623 insertions(+), 16 deletions(-) create mode 100644 tests/vcloudng/models/compute/catalog_items_test.rb create mode 100644 tests/vcloudng/models/compute/catalogs_test.rb create mode 100644 tests/vcloudng/models/compute/vapp_tests.rb create mode 100644 tests/vcloudng/models/compute/vdcs_test.rb create mode 100644 tests/vcloudng/models/compute/vms_tests.rb create mode 100644 tests/vcloudng/vcr_cassettes/catalog_items_test_rb.yml create mode 100644 tests/vcloudng/vcr_cassettes/catalogs_test_rb.yml create mode 100644 tests/vcloudng/vcr_cassettes/vapp_tests_rb.yml create mode 100644 tests/vcloudng/vcr_cassettes/vdcs_test_rb.yml create mode 100644 tests/vcloudng/vcr_cassettes/vms_tests_rb.yml diff --git a/lib/fog/vcloudng/compute.rb b/lib/fog/vcloudng/compute.rb index 19249f4bc..70a17556f 100644 --- a/lib/fog/vcloudng/compute.rb +++ b/lib/fog/vcloudng/compute.rb @@ -106,11 +106,15 @@ module Fog class Model < Fog::Model def initialize(attrs={}) super(attrs) - lazy_load_attrs = self.class.attributes - attributes.keys lazy_load_attrs.each do |attr| attributes[attr]= NonLoaded if attributes[attr].nil? make_lazy_load_method(attr) end + self.class.attributes.each{|attr| make_attr_loaded_method(attr) } + end + + def lazy_load_attrs + @lazy_load_attrs ||= self.class.attributes - attributes.keys end def make_lazy_load_method(attr) diff --git a/lib/fog/vcloudng/models/compute/vapp.rb b/lib/fog/vcloudng/models/compute/vapp.rb index 831f3f227..1b5c2e888 100644 --- a/lib/fog/vcloudng/models/compute/vapp.rb +++ b/lib/fog/vcloudng/models/compute/vapp.rb @@ -15,9 +15,7 @@ module Fog attribute :description, :aliases => :Description attribute :deployed, :type => :boolean attribute :status - attribute :deployment_lease_in_seconds, :aliases => :LeaseSettingsSection, :squash => :DeploymentLeaseInSeconds - attribute :storage_lease_in_seconds, :aliases => :LeaseSettingsSection, :squash => :StorageLeaseInSeconds - attribute :startup_section, :aliases => :"ovf:StartupSection", :squash => :"ovf:Item" + attribute :lease_settings, :aliases => :LeaseSettingsSection attribute :network_section, :aliases => :"ovf:NetworkSection", :squash => :"ovf:Network" attribute :network_config, :aliases => :NetworkConfigSection, :squash => :NetworkConfig attribute :owner, :aliases => :Owner, :squash => :User diff --git a/lib/fog/vcloudng/models/compute/vdc.rb b/lib/fog/vcloudng/models/compute/vdc.rb index 230809ccd..d730f8a98 100644 --- a/lib/fog/vcloudng/models/compute/vdc.rb +++ b/lib/fog/vcloudng/models/compute/vdc.rb @@ -13,8 +13,7 @@ module Fog attribute :href attribute :description, :aliases => :Description attribute :available_networks, :aliases => :AvailableNetworks, :squash => :Network - attribute :compute_capacity_cpu , :aliases => :ComputeCapacity, :squash => :Cpu - attribute :compute_capacity_memory , :aliases => :ComputeCapacity, :squash => :Memory + attribute :compute_capacity, :aliases => :ComputeCapacity attribute :storage_capacity , :aliases => :StorageCapacity attribute :allocation_model, :aliases => :AllocationModel attribute :capabilities, :aliases => :Capabilities, :squash => :SupportedHardwareVersions diff --git a/lib/fog/vcloudng/parsers/compute/vm.rb b/lib/fog/vcloudng/parsers/compute/vm.rb index 58a2ea579..805cedba2 100644 --- a/lib/fog/vcloudng/parsers/compute/vm.rb +++ b/lib/fog/vcloudng/parsers/compute/vm.rb @@ -8,7 +8,7 @@ module Fog class Vm < VcloudngParser def reset - @vm = {} + @vm = { :ip_address => '' } @in_operating_system = false @in_children = false @resource_type = nil diff --git a/tests/vcloudng/models/compute/catalog_items_test.rb b/tests/vcloudng/models/compute/catalog_items_test.rb new file mode 100644 index 000000000..00b948c22 --- /dev/null +++ b/tests/vcloudng/models/compute/catalog_items_test.rb @@ -0,0 +1,42 @@ +require_relative './helper.rb' + +VCR.use_cassette(File.basename(__FILE__)) do + + Shindo.tests("Compute::Vcloudng | catalog_items", ['all']) do + pending if Fog.mocking? + tests("#There is more than one catalog").returns(true){ catalog.catalog_items.size >= 1 } + + catalog_items = catalog.catalog_items + catalog_item = catalog_items.first + + tests("Compute::Vcloudng | catalog_item") do + tests("#id").returns(String){ catalog_item.id.class } + tests("#name").returns(String){ catalog_item.name.class } + tests("#href").returns(String){ catalog_item.href.class } + tests("#type").returns("application/vnd.vmware.vcloud.catalogItem+xml"){ catalog_item.type } + end + + tests("Compute::Vcloudng | catalog_item", ['lazy load attrs']) do + catalog_item.lazy_load_attrs.each do |lazy_attr| + tests("##{lazy_attr} is not loaded yet").returns(NonLoaded) { catalog_item.attributes[lazy_attr] } + end + end + + tests("Compute::Vcloudng | catalog_item", ['load on demand']) do + tests("#description is not loaded yet").returns(NonLoaded) { catalog_item.attributes[:description] } + tests("#description is loaded on demand").returns(String) { catalog_item.description.class } + tests("#description is now loaded").returns(true) { catalog_item.attributes[:description] != NonLoaded } + end + + tests("Compute::Vcloudng | catalog_item", ['lazy load attrs']) do + catalog.lazy_load_attrs.each do |lazy_attr| + tests("##{lazy_attr} is now loaded").returns(true) { catalog_item.attributes[lazy_attr] != NonLoaded } + end + end + + tests("Compute::Vcloudng | catalog_item", ['get']) do + tests("#get_by_name").returns(catalog_item.name) { catalog_items.get_by_name(catalog_item.name).name } + tests("#get").returns(catalog_item.id) { catalog_items.get(catalog_item.id).id } + end + end +end \ No newline at end of file diff --git a/tests/vcloudng/models/compute/catalogs_test.rb b/tests/vcloudng/models/compute/catalogs_test.rb new file mode 100644 index 000000000..02f014083 --- /dev/null +++ b/tests/vcloudng/models/compute/catalogs_test.rb @@ -0,0 +1,42 @@ +require_relative './helper.rb' + +VCR.use_cassette(File.basename(__FILE__)) do + + Shindo.tests("Compute::Vcloudng | catalogs", ['all']) do + pending if Fog.mocking? + tests("#There is one or more catalog").returns(true){ organization.catalogs.size >= 1 } + + catalogs = organization.catalogs + catalog = catalogs.first + + tests("Compute::Vcloudng | catalog") do + tests("#id").returns(String){ catalog.id.class } + tests("#name").returns(String){ catalog.name.class } + tests("#href").returns(String){ catalog.href.class } + tests("#type").returns("application/vnd.vmware.vcloud.catalog+xml"){ catalog.type } + end + + tests("Compute::Vcloudng | catalog", ['lazy load attrs']) do + catalog.lazy_load_attrs.each do |lazy_attr| + tests("##{lazy_attr} is not loaded yet").returns(NonLoaded) { catalog.attributes[lazy_attr] } + end + end + + tests("Compute::Vcloudng | catalog", ['load on demand']) do + tests("#description is not loaded yet").returns(NonLoaded) { catalog.attributes[:description] } + tests("#description is loaded on demand").returns(String) { catalog.description.class } + tests("#description is now loaded").returns(true) { catalog.attributes[:description] != NonLoaded } + end + + tests("Compute::Vcloudng | catalog", ['lazy load attrs']) do + catalog.lazy_load_attrs.each do |lazy_attr| + tests("##{lazy_attr} is now loaded").returns(true) { catalog.attributes[lazy_attr] != NonLoaded } + end + end + + tests("Compute::Vcloudng | catalog", ['get']) do + tests("#get_by_name").returns(catalog.name) { catalogs.get_by_name(catalog.name).name } + tests("#get").returns(catalog.id) { catalogs.get(catalog.id).id } + end + end +end \ No newline at end of file diff --git a/tests/vcloudng/models/compute/helper.rb b/tests/vcloudng/models/compute/helper.rb index 243c425a6..1881e3985 100644 --- a/tests/vcloudng/models/compute/helper.rb +++ b/tests/vcloudng/models/compute/helper.rb @@ -17,3 +17,35 @@ def vcloudng } ) end + +def organizations + @organizations ||= vcloudng.organizations +end + +def organization + organizations.first +end + +def catalogs + @catalogs ||= organization.catalogs +end + +def catalog + catalogs.first +end + +def vdcs + @vdcs ||= organization.vdcs +end + +def vdc + vdcs.first +end + +def vapps + @vapps ||= vdc.vapps +end + +def vapp + vapps.detect {|vapp| vapp.vms.size >= 1 } +end \ No newline at end of file diff --git a/tests/vcloudng/models/compute/organizations_tests.rb b/tests/vcloudng/models/compute/organizations_tests.rb index 8103de84d..0ffaa84d5 100644 --- a/tests/vcloudng/models/compute/organizations_tests.rb +++ b/tests/vcloudng/models/compute/organizations_tests.rb @@ -2,14 +2,21 @@ require_relative './helper.rb' VCR.use_cassette(File.basename(__FILE__)) do - Shindo.tests("Compute::Vcloudng | organizations", ['vcloudng']) do + Shindo.tests("Compute::Vcloudng | organizations", ['all']) do pending if Fog.mocking? organizations = vcloudng.organizations tests("#There is one organization").returns(1){ organizations.size } + + org = organizations.first + tests("Compute::Vcloudng | organization") do - org = organizations.first tests("#name").returns("DevOps"){ org.name } tests("#type").returns("application/vnd.vmware.vcloud.org+xml"){ org.type } end + + tests("Compute::Vcloudng | organization", ['get']) do + tests("#get_by_name").returns(org.name) { organizations.get_by_name(org.name).name } + tests("#get").returns(org.id) { organizations.get(org.id).id } + end end end \ No newline at end of file diff --git a/tests/vcloudng/models/compute/vapp_tests.rb b/tests/vcloudng/models/compute/vapp_tests.rb new file mode 100644 index 000000000..943b52a54 --- /dev/null +++ b/tests/vcloudng/models/compute/vapp_tests.rb @@ -0,0 +1,42 @@ +require_relative './helper.rb' + +VCR.use_cassette(File.basename(__FILE__)) do + + Shindo.tests("Compute::Vcloudng | vapps", ['all']) do + pending if Fog.mocking? + tests("#There is more than one vapp").returns(true){ vdc.vapps.size >= 1 } + + vapps = vdc.vapps + vapp = vapps.first + + tests("Compute::Vcloudng | vapp") do + tests("#id").returns(String){ vapp.id.class } + tests("#name").returns(String){ vapp.name.class } + tests("#href").returns(String){ vapp.href.class } + tests("#type").returns("application/vnd.vmware.vcloud.vApp+xml"){ vapp.type } + end + + tests("Compute::Vcloudng | vapp", ['lazy load attrs']) do + vapp.lazy_load_attrs.each do |lazy_attr| + tests("##{lazy_attr} is not loaded yet").returns(NonLoaded) { vapp.attributes[lazy_attr] } + end + end + + tests("Compute::Vcloudng | vapp", ['load on demand']) do + tests("#description is not loaded yet").returns(NonLoaded) { vapp.attributes[:description] } + tests("#description is loaded on demand").returns(String) { vapp.description.class } + tests("#description is now loaded").returns(true) { vapp.attributes[:description] != NonLoaded } + end + + tests("Compute::Vcloudng | vapp", ['lazy load attrs']) do + vapp.lazy_load_attrs.each do |lazy_attr| + tests("##{lazy_attr} is now loaded").returns(true) { vapp.attributes[lazy_attr] != NonLoaded } + end + end + + tests("Compute::Vcloudng | vapp", ['get']) do + tests("#get_by_name").returns(vapp.name) { vapps.get_by_name(vapp.name).name } + tests("#get").returns(vapp.id) { vapps.get(vapp.id).id } + end + end +end \ No newline at end of file diff --git a/tests/vcloudng/models/compute/vdcs_test.rb b/tests/vcloudng/models/compute/vdcs_test.rb new file mode 100644 index 000000000..cb601c1a5 --- /dev/null +++ b/tests/vcloudng/models/compute/vdcs_test.rb @@ -0,0 +1,42 @@ +require_relative './helper.rb' + +VCR.use_cassette(File.basename(__FILE__)) do + + Shindo.tests("Compute::Vcloudng | vdcs", ['all']) do + pending if Fog.mocking? + tests("#There is one or more vdc").returns(true){ organization.vdcs.size >= 1 } + + vdcs = organization.vdcs + vdc = vdcs.first + + tests("Compute::Vcloudng | vdc") do + tests("#id").returns(String){ vdc.id.class } + tests("#name").returns(String){ vdc.name.class } + tests("#href").returns(String){ vdc.href.class } + tests("#type").returns("application/vnd.vmware.vcloud.vdc+xml"){ vdc.type } + end + + tests("Compute::Vcloudng | vdc", ['lazy load attrs']) do + vdc.lazy_load_attrs.each do |lazy_attr| + tests("##{lazy_attr} is not loaded yet").returns(NonLoaded) { vdc.attributes[lazy_attr] } + end + end + + tests("Compute::Vcloudng | vdc", ['load on demand']) do + tests("#description is not loaded yet").returns(NonLoaded) { vdc.attributes[:description] } + tests("#description is loaded on demand").returns(String) { vdc.description.class } + tests("#description is now loaded").returns(true) { vdc.attributes[:description] != NonLoaded } + end + + tests("Compute::Vcloudng | vdc", ['lazy load attrs']) do + vdc.lazy_load_attrs.each do |lazy_attr| + tests("##{lazy_attr} is now loaded").returns(true) { vdc.attributes[lazy_attr] != NonLoaded } + end + end + + tests("Compute::Vcloudng | vdc", ['get']) do + tests("#get_by_name").returns(vdc.name) { vdcs.get_by_name(vdc.name).name } + tests("#get").returns(vdc.id) { vdcs.get(vdc.id).id } + end + end +end \ No newline at end of file diff --git a/tests/vcloudng/models/compute/vms_tests.rb b/tests/vcloudng/models/compute/vms_tests.rb new file mode 100644 index 000000000..de2edb10f --- /dev/null +++ b/tests/vcloudng/models/compute/vms_tests.rb @@ -0,0 +1,34 @@ +require_relative './helper.rb' + +VCR.use_cassette(File.basename(__FILE__)) do + + Shindo.tests("Compute::Vcloudng | vms", ['all']) do + pending if Fog.mocking? + vapp = vapps.detect {|vapp| vapp.vms.size >= 1 } + + tests("#There is more than one vm").returns(true){ vapp.vms.size >= 1 } + + vms = vapp.vms + vm = vms.first + + tests("Compute::Vcloudng | vm") do + tests("#id").returns(String){ vm.id.class } + tests("#name").returns(String){ vm.name.class } + tests("#href").returns(String){ vm.href.class } + tests("#type").returns("application/vnd.vmware.vcloud.vm+xml"){ vm.type } + tests("#vapp_id").returns(String){ vm.vapp_id.class } + tests("#status").returns(String){ vm.status.class } + tests("#operating_system").returns(String){ vm.operating_system.class } + tests("#ip_address").returns(String){ vm.ip_address.class } + tests("#cpu").returns(Fixnum){ vm.cpu.class } + tests("#memory").returns(Fixnum){ vm.memory.class } + tests("#hard_disks").returns(Array){ vm.hard_disks.class } + end + + + tests("Compute::Vcloudng | vm", ['get']) do + tests("#get_by_name").returns(vm.name) { vms.get_by_name(vm.name).name } + tests("#get").returns(vm.id) { vms.get(vm.id).id } + end + end +end \ No newline at end of file diff --git a/tests/vcloudng/vcr_cassettes/catalog_items_test_rb.yml b/tests/vcloudng/vcr_cassettes/catalog_items_test_rb.yml new file mode 100644 index 000000000..d10a4609c --- /dev/null +++ b/tests/vcloudng/vcr_cassettes/catalog_items_test_rb.yml @@ -0,0 +1,395 @@ +--- +http_interactions: +- request: + method: post + uri: https://devlab.mdsol.com/api/sessions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Authorization: + - Basic cmVzdGViYW5lekBkZXZvcHM6cGFzc3dvcmQqOA== + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:18:30 GMT, Mon, 19 Aug 2013 10:18:30 GMT + X-Vcloud-Authorization: + - perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc= + Set-Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Content-Type: + - application/vnd.vmware.vcloud.session+xml;version=1.5 + Content-Length: + - '1014' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n \n \n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:20:42 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:18:31 GMT, Mon, 19 Aug 2013 10:18:31 GMT + Content-Type: + - application/vnd.vmware.vcloud.orglist+xml;version=1.5 + Content-Length: + - '494' + body: + encoding: US-ASCII + string: ! "\n\n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:20:43 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:18:32 GMT, Mon, 19 Aug 2013 10:18:32 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:20:44 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalog/4ee720e5-173a-41ac-824b-6f4908bac975 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:18:33 GMT, Mon, 19 Aug 2013 10:18:33 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalog+xml;version=1.5 + Content-Length: + - '1962' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:20:45 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalog/4ee720e5-173a-41ac-824b-6f4908bac975 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:18:34 GMT, Mon, 19 Aug 2013 10:18:34 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalog+xml;version=1.5 + Content-Length: + - '1962' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:20:46 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalogItem/29736dd8-17e5-49a9-840b-3b5605dd6522 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:19:07 GMT, Mon, 19 Aug 2013 10:19:07 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalogitem+xml;version=1.5 + Content-Length: + - '1053' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ Rave on a Disk 5.6.4. Patch 13\n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:21:18 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalog/4ee720e5-173a-41ac-824b-6f4908bac975 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:19:08 GMT, Mon, 19 Aug 2013 10:19:08 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalog+xml;version=1.5 + Content-Length: + - '1962' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:21:20 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalogItem/29736dd8-17e5-49a9-840b-3b5605dd6522 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:19:09 GMT, Mon, 19 Aug 2013 10:19:09 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalogitem+xml;version=1.5 + Content-Length: + - '1053' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ Rave on a Disk 5.6.4. Patch 13\n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:21:21 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalogItem/29736dd8-17e5-49a9-840b-3b5605dd6522 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=perAbCLAq2IfXHLnWNcRY6DlyzVuKf83nMeZY4QJ2yc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 10:20:18 GMT, Mon, 19 Aug 2013 10:20:18 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalogitem+xml;version=1.5 + Content-Length: + - '1053' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ Rave on a Disk 5.6.4. Patch 13\n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 10:22:30 GMT +recorded_with: VCR 2.5.0 diff --git a/tests/vcloudng/vcr_cassettes/catalogs_test_rb.yml b/tests/vcloudng/vcr_cassettes/catalogs_test_rb.yml new file mode 100644 index 000000000..9158ed0b9 --- /dev/null +++ b/tests/vcloudng/vcr_cassettes/catalogs_test_rb.yml @@ -0,0 +1,382 @@ +--- +http_interactions: +- request: + method: post + uri: https://devlab.mdsol.com/api/sessions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Authorization: + - Basic cmVzdGViYW5lekBkZXZvcHM6cGFzc3dvcmQqOA== + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:44:27 GMT, Mon, 19 Aug 2013 07:44:28 GMT + X-Vcloud-Authorization: + - hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc= + Set-Cookie: + - vcloud-token=hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc=; Secure; Path=/ + Content-Type: + - application/vnd.vmware.vcloud.session+xml;version=1.5 + Content-Length: + - '1014' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n \n \n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:46:39 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:44:28 GMT, Mon, 19 Aug 2013 07:44:28 GMT + Content-Type: + - application/vnd.vmware.vcloud.orglist+xml;version=1.5 + Content-Length: + - '494' + body: + encoding: US-ASCII + string: ! "\n\n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:46:40 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:44:29 GMT, Mon, 19 Aug 2013 07:44:30 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:46:41 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:44:30 GMT, Mon, 19 Aug 2013 07:44:31 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:46:42 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalog/4ee720e5-173a-41ac-824b-6f4908bac975 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:44:50 GMT, Mon, 19 Aug 2013 07:44:50 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalog+xml;version=1.5 + Content-Length: + - '1962' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:47:01 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:44:51 GMT, Mon, 19 Aug 2013 07:44:51 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:47:02 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalog/4ee720e5-173a-41ac-824b-6f4908bac975 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:44:52 GMT, Mon, 19 Aug 2013 07:44:52 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalog+xml;version=1.5 + Content-Length: + - '1962' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:47:03 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/catalog/4ee720e5-173a-41ac-824b-6f4908bac975 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=hsZoti98qrWBBnq+qLhD+tONnGdwbtGnAyvU7P7C9nc=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:44:53 GMT, Mon, 19 Aug 2013 07:44:53 GMT + Content-Type: + - application/vnd.vmware.vcloud.catalog+xml;version=1.5 + Content-Length: + - '1962' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:47:04 GMT +recorded_with: VCR 2.5.0 diff --git a/tests/vcloudng/vcr_cassettes/organizations_tests_rb.yml b/tests/vcloudng/vcr_cassettes/organizations_tests_rb.yml index ba81fb5b1..ea2e83e12 100644 --- a/tests/vcloudng/vcr_cassettes/organizations_tests_rb.yml +++ b/tests/vcloudng/vcr_cassettes/organizations_tests_rb.yml @@ -19,11 +19,11 @@ http_interactions: message: '' headers: Date: - - Thu, 15 Aug 2013 18:24:07 GMT, Thu, 15 Aug 2013 18:24:07 GMT + - Fri, 16 Aug 2013 13:52:32 GMT, Fri, 16 Aug 2013 13:52:32 GMT X-Vcloud-Authorization: - - 8uBgmoTofdGxXK94zfLBrER1xUZdsLM4KEnw/70jamk= + - T3hKyKO2IxMq68dq7nYYv6WGCbVdcMIHJLfvWpbQY4Y= Set-Cookie: - - vcloud-token=8uBgmoTofdGxXK94zfLBrER1xUZdsLM4KEnw/70jamk=; Secure; Path=/ + - vcloud-token=T3hKyKO2IxMq68dq7nYYv6WGCbVdcMIHJLfvWpbQY4Y=; Secure; Path=/ Content-Type: - application/vnd.vmware.vcloud.session+xml;version=1.5 Content-Length: @@ -42,7 +42,7 @@ http_interactions: href=\"https://devlab.mdsol.com/api/query\"/>\n \n\n" http_version: - recorded_at: Thu, 15 Aug 2013 18:26:04 GMT + recorded_at: Fri, 16 Aug 2013 13:54:32 GMT - request: method: get uri: https://devlab.mdsol.com/api/org @@ -53,7 +53,7 @@ http_interactions: User-Agent: - fog/1.11.1 Cookie: - - vcloud-token=8uBgmoTofdGxXK94zfLBrER1xUZdsLM4KEnw/70jamk=; Secure; Path=/ + - vcloud-token=T3hKyKO2IxMq68dq7nYYv6WGCbVdcMIHJLfvWpbQY4Y=; Secure; Path=/ Accept: - application/*+xml;version=1.5 response: @@ -62,7 +62,7 @@ http_interactions: message: '' headers: Date: - - Thu, 15 Aug 2013 18:24:09 GMT, Thu, 15 Aug 2013 18:24:09 GMT + - Fri, 16 Aug 2013 13:52:33 GMT, Fri, 16 Aug 2013 13:52:33 GMT Content-Type: - application/vnd.vmware.vcloud.orglist+xml;version=1.5 Content-Length: @@ -75,5 +75,142 @@ http_interactions: http://10.194.1.65/api/v1.5/schema/master.xsd\">\n \n\n" http_version: - recorded_at: Thu, 15 Aug 2013 18:26:05 GMT + recorded_at: Fri, 16 Aug 2013 13:54:33 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=T3hKyKO2IxMq68dq7nYYv6WGCbVdcMIHJLfvWpbQY4Y=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Fri, 16 Aug 2013 13:52:35 GMT, Fri, 16 Aug 2013 13:52:35 GMT + Content-Type: + - application/vnd.vmware.vcloud.orglist+xml;version=1.5 + Content-Length: + - '494' + body: + encoding: US-ASCII + string: ! "\n\n \n\n" + http_version: + recorded_at: Fri, 16 Aug 2013 13:54:34 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=T3hKyKO2IxMq68dq7nYYv6WGCbVdcMIHJLfvWpbQY4Y=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Fri, 16 Aug 2013 13:52:35 GMT, Fri, 16 Aug 2013 13:52:36 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Fri, 16 Aug 2013 13:54:35 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=T3hKyKO2IxMq68dq7nYYv6WGCbVdcMIHJLfvWpbQY4Y=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Fri, 16 Aug 2013 13:52:37 GMT, Fri, 16 Aug 2013 13:52:37 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Fri, 16 Aug 2013 13:54:36 GMT recorded_with: VCR 2.5.0 diff --git a/tests/vcloudng/vcr_cassettes/vapp_tests_rb.yml b/tests/vcloudng/vcr_cassettes/vapp_tests_rb.yml new file mode 100644 index 000000000..51c739732 --- /dev/null +++ b/tests/vcloudng/vcr_cassettes/vapp_tests_rb.yml @@ -0,0 +1,683 @@ +--- +http_interactions: +- request: + method: post + uri: https://devlab.mdsol.com/api/sessions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Authorization: + - Basic cmVzdGViYW5lekBkZXZvcHM6cGFzc3dvcmQqOA== + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:13:26 GMT, Mon, 19 Aug 2013 11:13:26 GMT + X-Vcloud-Authorization: + - cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k= + Set-Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Content-Type: + - application/vnd.vmware.vcloud.session+xml;version=1.5 + Content-Length: + - '1014' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n \n \n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:15:38 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:13:29 GMT, Mon, 19 Aug 2013 11:13:29 GMT + Content-Type: + - application/vnd.vmware.vcloud.orglist+xml;version=1.5 + Content-Length: + - '494' + body: + encoding: US-ASCII + string: ! "\n\n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:15:40 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:13:31 GMT, Mon, 19 Aug 2013 11:13:31 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:15:42 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vdc/9a06a16b-12c6-44dc-aee1-06aa52262ea3 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:13:33 GMT, Mon, 19 Aug 2013 11:13:33 GMT + Content-Type: + - application/vnd.vmware.vcloud.vdc+xml;version=1.5 + Content-Length: + - '6949' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n AllocationVApp\n + \ \n MB\n 1048320\n + \ 1048320\n 672768\n 0\n + \ \n \n \n MHz\n + \ 0\n 0\n 4000\n + \ 0\n \n \n MB\n + \ 0\n 0\n 2560\n + \ 58\n \n \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n \n + \ \n \n \n + \ vmx-04\n + \ vmx-07\n + \ vmx-08\n + \ vmx-09\n + \ \n \n 0\n + \ 1024\n 0\n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:15:44 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vdc/9a06a16b-12c6-44dc-aee1-06aa52262ea3 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:13:34 GMT, Mon, 19 Aug 2013 11:13:34 GMT + Content-Type: + - application/vnd.vmware.vcloud.vdc+xml;version=1.5 + Content-Length: + - '6949' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n AllocationVApp\n + \ \n MB\n 1048320\n + \ 1048320\n 672768\n 0\n + \ \n \n \n MHz\n + \ 0\n 0\n 4000\n + \ 0\n \n \n MB\n + \ 0\n 0\n 2560\n + \ 58\n \n \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n \n + \ \n \n \n + \ vmx-04\n + \ vmx-07\n + \ vmx-08\n + \ vmx-09\n + \ \n \n 0\n + \ 1024\n 0\n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:15:45 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-af4ef7ff-2fd2-4893-b23d-9ea74ff354c9 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:13:40 GMT, Mon, 19 Aug 2013 11:13:40 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5202' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 0\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:15:52 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vdc/9a06a16b-12c6-44dc-aee1-06aa52262ea3 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:14:14 GMT, Mon, 19 Aug 2013 11:14:14 GMT + Content-Type: + - application/vnd.vmware.vcloud.vdc+xml;version=1.5 + Content-Length: + - '6949' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n AllocationVApp\n + \ \n MB\n 1048320\n + \ 1048320\n 672768\n 0\n + \ \n \n \n MHz\n + \ 0\n 0\n 4000\n + \ 0\n \n \n MB\n + \ 0\n 0\n 2560\n + \ 58\n \n \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n \n + \ \n \n \n + \ vmx-04\n + \ vmx-07\n + \ vmx-08\n + \ vmx-09\n + \ \n \n 0\n + \ 1024\n 0\n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:16:26 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-af4ef7ff-2fd2-4893-b23d-9ea74ff354c9 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:14:17 GMT, Mon, 19 Aug 2013 11:14:18 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5202' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 0\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:16:29 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-af4ef7ff-2fd2-4893-b23d-9ea74ff354c9 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=cxzPE4bDoXYCjDpfahSSH8oNUssSa8njTghCpCZT78k=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 11:14:21 GMT, Mon, 19 Aug 2013 11:14:21 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5202' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 0\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 11:16:32 GMT +recorded_with: VCR 2.5.0 diff --git a/tests/vcloudng/vcr_cassettes/vdcs_test_rb.yml b/tests/vcloudng/vcr_cassettes/vdcs_test_rb.yml new file mode 100644 index 000000000..ca37f9245 --- /dev/null +++ b/tests/vcloudng/vcr_cassettes/vdcs_test_rb.yml @@ -0,0 +1,547 @@ +--- +http_interactions: +- request: + method: post + uri: https://devlab.mdsol.com/api/sessions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Authorization: + - Basic cmVzdGViYW5lekBkZXZvcHM6cGFzc3dvcmQqOA== + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:30:57 GMT, Mon, 19 Aug 2013 07:30:57 GMT + X-Vcloud-Authorization: + - xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw= + Set-Cookie: + - vcloud-token=xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw=; Secure; Path=/ + Content-Type: + - application/vnd.vmware.vcloud.session+xml;version=1.5 + Content-Length: + - '1014' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n \n \n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:33:08 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:30:58 GMT, Mon, 19 Aug 2013 07:30:58 GMT + Content-Type: + - application/vnd.vmware.vcloud.orglist+xml;version=1.5 + Content-Length: + - '494' + body: + encoding: US-ASCII + string: ! "\n\n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:33:09 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:30:59 GMT, Mon, 19 Aug 2013 07:30:59 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:33:11 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:31:00 GMT, Mon, 19 Aug 2013 07:31:00 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:33:11 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vdc/9a06a16b-12c6-44dc-aee1-06aa52262ea3 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:31:01 GMT, Mon, 19 Aug 2013 07:31:01 GMT + Content-Type: + - application/vnd.vmware.vcloud.vdc+xml;version=1.5 + Content-Length: + - '6949' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n AllocationVApp\n + \ \n MB\n 1048320\n + \ 1048320\n 672768\n 0\n + \ \n \n \n MHz\n + \ 0\n 0\n 4000\n + \ 0\n \n \n MB\n + \ 0\n 0\n 2560\n + \ 58\n \n \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n \n + \ \n \n \n + \ vmx-04\n + \ vmx-07\n + \ vmx-08\n + \ vmx-09\n + \ \n \n 0\n + \ 1024\n 0\n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:33:13 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:31:02 GMT, Mon, 19 Aug 2013 07:31:02 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:33:13 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vdc/9a06a16b-12c6-44dc-aee1-06aa52262ea3 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:31:03 GMT, Mon, 19 Aug 2013 07:31:03 GMT + Content-Type: + - application/vnd.vmware.vcloud.vdc+xml;version=1.5 + Content-Length: + - '6949' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n AllocationVApp\n + \ \n MB\n 1048320\n + \ 1048320\n 672768\n 0\n + \ \n \n \n MHz\n + \ 0\n 0\n 4000\n + \ 0\n \n \n MB\n + \ 0\n 0\n 2560\n + \ 58\n \n \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n \n + \ \n \n \n + \ vmx-04\n + \ vmx-07\n + \ vmx-08\n + \ vmx-09\n + \ \n \n 0\n + \ 1024\n 0\n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:33:14 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vdc/9a06a16b-12c6-44dc-aee1-06aa52262ea3 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=xXxwjITnGb+xiNsknJ7QshC2G1XUdt75WQd0IJ57HIw=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 07:31:04 GMT, Mon, 19 Aug 2013 07:31:04 GMT + Content-Type: + - application/vnd.vmware.vcloud.vdc+xml;version=1.5 + Content-Length: + - '6949' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n AllocationVApp\n + \ \n MB\n 1048320\n + \ 1048320\n 672768\n 0\n + \ \n \n \n MHz\n + \ 0\n 0\n 4000\n + \ 0\n \n \n MB\n + \ 0\n 0\n 2560\n + \ 58\n \n \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n \n + \ \n \n \n + \ vmx-04\n + \ vmx-07\n + \ vmx-08\n + \ vmx-09\n + \ \n \n 0\n + \ 1024\n 0\n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 07:33:15 GMT +recorded_with: VCR 2.5.0 diff --git a/tests/vcloudng/vcr_cassettes/vms_tests_rb.yml b/tests/vcloudng/vcr_cassettes/vms_tests_rb.yml new file mode 100644 index 000000000..3a6d81a83 --- /dev/null +++ b/tests/vcloudng/vcr_cassettes/vms_tests_rb.yml @@ -0,0 +1,2221 @@ +--- +http_interactions: +- request: + method: post + uri: https://devlab.mdsol.com/api/sessions + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Authorization: + - Basic cmVzdGViYW5lekBkZXZvcHM6cGFzc3dvcmQqOA== + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:17 GMT, Mon, 19 Aug 2013 12:22:17 GMT + X-Vcloud-Authorization: + - pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU= + Set-Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Content-Type: + - application/vnd.vmware.vcloud.session+xml;version=1.5 + Content-Length: + - '1014' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n \n \n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:28 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:18 GMT, Mon, 19 Aug 2013 12:22:18 GMT + Content-Type: + - application/vnd.vmware.vcloud.orglist+xml;version=1.5 + Content-Length: + - '494' + body: + encoding: US-ASCII + string: ! "\n\n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:29 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/org/c6a4c623-c158-41cf-a87a-dbc1637ad55a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:19 GMT, Mon, 19 Aug 2013 12:22:20 GMT + Content-Type: + - application/vnd.vmware.vcloud.org+xml;version=1.5 + Content-Length: + - '2338' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n DevOps\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:31 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vdc/9a06a16b-12c6-44dc-aee1-06aa52262ea3 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:22 GMT, Mon, 19 Aug 2013 12:22:22 GMT + Content-Type: + - application/vnd.vmware.vcloud.vdc+xml;version=1.5 + Content-Length: + - '6949' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n AllocationVApp\n + \ \n MB\n 1048320\n + \ 1048320\n 672768\n 0\n + \ \n \n \n MHz\n + \ 0\n 0\n 4000\n + \ 0\n \n \n MB\n + \ 0\n 0\n 2560\n + \ 58\n \n \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n \n + \ \n \n \n + \ vmx-04\n + \ vmx-07\n + \ vmx-08\n + \ vmx-09\n + \ \n \n 0\n + \ 1024\n 0\n true\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:33 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-af4ef7ff-2fd2-4893-b23d-9ea74ff354c9 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:23 GMT, Mon, 19 Aug 2013 12:22:24 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5202' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 0\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:35 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-135597a7-b60c-4f0f-a7df-a79deb002cd2 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:26 GMT, Mon, 19 Aug 2013 12:22:26 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5250' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ Windows Server 2008 R2 Application Server\n + \ \n Lease settings section\n + \ \n + \ 0\n 0\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:38 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-4c300067-f34b-4409-80d4-6ac1672d13ae + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:28 GMT, Mon, 19 Aug 2013 12:22:28 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5245' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ Windows Server 2008 R2 Application Server\n + \ \n Lease settings section\n + \ \n + \ 0\n 0\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:40 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-26c75241-53e1-450c-ba9d-47176a28c83a + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:31 GMT, Mon, 19 Aug 2013 12:22:31 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5201' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 7776000\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:43 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-499a3d4e-7156-4bd7-9c42-9c42d5afe3a1 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:33 GMT, Mon, 19 Aug 2013 12:22:34 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5204' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 7776000\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:45 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-6202aaa7-499f-469e-b178-467c50d6d044 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:42 GMT, Mon, 19 Aug 2013 12:22:42 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5253' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ Windows Server 2008 R2 Application Server\n + \ \n Lease settings section\n + \ \n + \ 0\n 0\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:54 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-b0bee1f6-62f7-4c91-bea6-5fd993e08490 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:46 GMT, Mon, 19 Aug 2013 12:22:46 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '5260' + body: + encoding: US-ASCII + string: ! "\n\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ Windows Server 2008 R2 Application Server\n + \ \n Lease settings section\n + \ \n + \ 0\n 0\n + \ \n \n The + list of logical networks\n \n \n \n + \ \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n true\n + \ \n \n \n + \ \n + \ \n false\n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:24:58 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-83314223-7d36-42b6-b03e-8ef619b9b152 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:49 GMT, Mon, 19 Aug 2013 12:22:49 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '21193' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 7776000\n + \ 2013-10-08T08:54:33.277Z\n + \ \n \n VApp + startup section\n \n + \ \n + \ \n \n The + list of logical networks\n \n \n \n + \ \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n false\n + \ \n \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n isolated\n + \ \n false\n + \ \n \n \n + \ \n + \ \n false\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Virtual hardware requirements\n \n + \ Virtual Hardware Family\n + \ 0\n DEVAPP\n + \ vmx-08\n + \ \n \n 00:50:56:01:00:f4\n + \ 0\n false\n + \ none\n E1000 + ethernet adapter on \"none\"\n Network + adapter 0\n 1\n + \ E1000\n 10\n + \ \n \n 0\n + \ SCSI Controller\n + \ SCSI Controller 0\n + \ 2\n lsilogicsas\n + \ 6\n \n + \ \n 0\n + \ Hard disk\n Hard + disk 1\n \n 2000\n + \ 2\n 17\n + \ \n \n 0\n + \ IDE Controller\n + \ IDE Controller 0\n + \ 3\n 5\n + \ \n \n 1\n + \ false\n + \ CD/DVD Drive\n CD/DVD + Drive 1\n \n 3002\n + \ 3\n 15\n + \ \n \n 0\n + \ false\n + \ Floppy Drive\n Floppy + Drive 1\n \n 8000\n + \ 14\n \n + \ \n hertz + * 10^6\n Number + of Virtual CPUs\n 2 + virtual CPU(s)\n 4\n + \ 0\n 3\n + \ 2\n 0\n + \ \n + \ \n \n byte + * 2^20\n Memory + Size\n 2560 MB of + memory\n 5\n + \ 0\n 4\n + \ 2560\n 0\n + \ \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Specifies the operating system installed\n + \ Microsoft Windows Server 2008 R2 (64-bit)\n + \ \n + \ \n \n Specifies the available + VM network connections\n 0\n + \ \n + \ 0\n false\n + \ 00:50:56:01:00:f4\n NONE\n + \ \n \n + \ \n \n Specifies Guest OS Customization + Settings\n true\n false\n + \ 4a37a2ea-b0dd-41ae-a879-5f0743b1ff77\n + \ false\n false\n + \ false\n true\n + \ false\n DEVAPP-001\n + \ \n + \ \n \n + \ Specifies Runtime info\n \n \n DEVAPP\n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:25:02 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-83314223-7d36-42b6-b03e-8ef619b9b152 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:52 GMT, Mon, 19 Aug 2013 12:22:52 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '21193' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 7776000\n + \ 2013-10-08T08:54:33.277Z\n + \ \n \n VApp + startup section\n \n + \ \n + \ \n \n The + list of logical networks\n \n \n \n + \ \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n false\n + \ \n \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n isolated\n + \ \n false\n + \ \n \n \n + \ \n + \ \n false\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Virtual hardware requirements\n \n + \ Virtual Hardware Family\n + \ 0\n DEVAPP\n + \ vmx-08\n + \ \n \n 00:50:56:01:00:f4\n + \ 0\n false\n + \ none\n E1000 + ethernet adapter on \"none\"\n Network + adapter 0\n 1\n + \ E1000\n 10\n + \ \n \n 0\n + \ SCSI Controller\n + \ SCSI Controller 0\n + \ 2\n lsilogicsas\n + \ 6\n \n + \ \n 0\n + \ Hard disk\n Hard + disk 1\n \n 2000\n + \ 2\n 17\n + \ \n \n 0\n + \ IDE Controller\n + \ IDE Controller 0\n + \ 3\n 5\n + \ \n \n 1\n + \ false\n + \ CD/DVD Drive\n CD/DVD + Drive 1\n \n 3002\n + \ 3\n 15\n + \ \n \n 0\n + \ false\n + \ Floppy Drive\n Floppy + Drive 1\n \n 8000\n + \ 14\n \n + \ \n hertz + * 10^6\n Number + of Virtual CPUs\n 2 + virtual CPU(s)\n 4\n + \ 0\n 3\n + \ 2\n 0\n + \ \n + \ \n \n byte + * 2^20\n Memory + Size\n 2560 MB of + memory\n 5\n + \ 0\n 4\n + \ 2560\n 0\n + \ \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Specifies the operating system installed\n + \ Microsoft Windows Server 2008 R2 (64-bit)\n + \ \n + \ \n \n Specifies the available + VM network connections\n 0\n + \ \n + \ 0\n false\n + \ 00:50:56:01:00:f4\n NONE\n + \ \n \n + \ \n \n Specifies Guest OS Customization + Settings\n true\n false\n + \ 4a37a2ea-b0dd-41ae-a879-5f0743b1ff77\n + \ false\n false\n + \ false\n true\n + \ false\n DEVAPP-001\n + \ \n + \ \n \n + \ Specifies Runtime info\n \n \n DEVAPP\n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:25:04 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-83314223-7d36-42b6-b03e-8ef619b9b152 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:22:54 GMT, Mon, 19 Aug 2013 12:22:55 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '21193' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 7776000\n + \ 2013-10-08T08:54:33.277Z\n + \ \n \n VApp + startup section\n \n + \ \n + \ \n \n The + list of logical networks\n \n \n \n + \ \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n false\n + \ \n \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n isolated\n + \ \n false\n + \ \n \n \n + \ \n + \ \n false\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Virtual hardware requirements\n \n + \ Virtual Hardware Family\n + \ 0\n DEVAPP\n + \ vmx-08\n + \ \n \n 00:50:56:01:00:f4\n + \ 0\n false\n + \ none\n E1000 + ethernet adapter on \"none\"\n Network + adapter 0\n 1\n + \ E1000\n 10\n + \ \n \n 0\n + \ SCSI Controller\n + \ SCSI Controller 0\n + \ 2\n lsilogicsas\n + \ 6\n \n + \ \n 0\n + \ Hard disk\n Hard + disk 1\n \n 2000\n + \ 2\n 17\n + \ \n \n 0\n + \ IDE Controller\n + \ IDE Controller 0\n + \ 3\n 5\n + \ \n \n 1\n + \ false\n + \ CD/DVD Drive\n CD/DVD + Drive 1\n \n 3002\n + \ 3\n 15\n + \ \n \n 0\n + \ false\n + \ Floppy Drive\n Floppy + Drive 1\n \n 8000\n + \ 14\n \n + \ \n hertz + * 10^6\n Number + of Virtual CPUs\n 2 + virtual CPU(s)\n 4\n + \ 0\n 3\n + \ 2\n 0\n + \ \n + \ \n \n byte + * 2^20\n Memory + Size\n 2560 MB of + memory\n 5\n + \ 0\n 4\n + \ 2560\n 0\n + \ \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Specifies the operating system installed\n + \ Microsoft Windows Server 2008 R2 (64-bit)\n + \ \n + \ \n \n Specifies the available + VM network connections\n 0\n + \ \n + \ 0\n false\n + \ 00:50:56:01:00:f4\n NONE\n + \ \n \n + \ \n \n Specifies Guest OS Customization + Settings\n true\n false\n + \ 4a37a2ea-b0dd-41ae-a879-5f0743b1ff77\n + \ false\n false\n + \ false\n true\n + \ false\n DEVAPP-001\n + \ \n + \ \n \n + \ Specifies Runtime info\n \n \n DEVAPP\n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:25:07 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-83314223-7d36-42b6-b03e-8ef619b9b152 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:23:26 GMT, Mon, 19 Aug 2013 12:23:26 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '21193' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 7776000\n + \ 2013-10-08T08:54:33.277Z\n + \ \n \n VApp + startup section\n \n + \ \n + \ \n \n The + list of logical networks\n \n \n \n + \ \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n false\n + \ \n \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n isolated\n + \ \n false\n + \ \n \n \n + \ \n + \ \n false\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Virtual hardware requirements\n \n + \ Virtual Hardware Family\n + \ 0\n DEVAPP\n + \ vmx-08\n + \ \n \n 00:50:56:01:00:f4\n + \ 0\n false\n + \ none\n E1000 + ethernet adapter on \"none\"\n Network + adapter 0\n 1\n + \ E1000\n 10\n + \ \n \n 0\n + \ SCSI Controller\n + \ SCSI Controller 0\n + \ 2\n lsilogicsas\n + \ 6\n \n + \ \n 0\n + \ Hard disk\n Hard + disk 1\n \n 2000\n + \ 2\n 17\n + \ \n \n 0\n + \ IDE Controller\n + \ IDE Controller 0\n + \ 3\n 5\n + \ \n \n 1\n + \ false\n + \ CD/DVD Drive\n CD/DVD + Drive 1\n \n 3002\n + \ 3\n 15\n + \ \n \n 0\n + \ false\n + \ Floppy Drive\n Floppy + Drive 1\n \n 8000\n + \ 14\n \n + \ \n hertz + * 10^6\n Number + of Virtual CPUs\n 2 + virtual CPU(s)\n 4\n + \ 0\n 3\n + \ 2\n 0\n + \ \n + \ \n \n byte + * 2^20\n Memory + Size\n 2560 MB of + memory\n 5\n + \ 0\n 4\n + \ 2560\n 0\n + \ \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Specifies the operating system installed\n + \ Microsoft Windows Server 2008 R2 (64-bit)\n + \ \n + \ \n \n Specifies the available + VM network connections\n 0\n + \ \n + \ 0\n false\n + \ 00:50:56:01:00:f4\n NONE\n + \ \n \n + \ \n \n Specifies Guest OS Customization + Settings\n true\n false\n + \ 4a37a2ea-b0dd-41ae-a879-5f0743b1ff77\n + \ false\n false\n + \ false\n true\n + \ false\n DEVAPP-001\n + \ \n + \ \n \n + \ Specifies Runtime info\n \n \n DEVAPP\n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:25:38 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-83314223-7d36-42b6-b03e-8ef619b9b152 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:23:33 GMT, Mon, 19 Aug 2013 12:23:33 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '21193' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 7776000\n + \ 2013-10-08T08:54:33.277Z\n + \ \n \n VApp + startup section\n \n + \ \n + \ \n \n The + list of logical networks\n \n \n \n + \ \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n false\n + \ \n \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n isolated\n + \ \n false\n + \ \n \n \n + \ \n + \ \n false\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Virtual hardware requirements\n \n + \ Virtual Hardware Family\n + \ 0\n DEVAPP\n + \ vmx-08\n + \ \n \n 00:50:56:01:00:f4\n + \ 0\n false\n + \ none\n E1000 + ethernet adapter on \"none\"\n Network + adapter 0\n 1\n + \ E1000\n 10\n + \ \n \n 0\n + \ SCSI Controller\n + \ SCSI Controller 0\n + \ 2\n lsilogicsas\n + \ 6\n \n + \ \n 0\n + \ Hard disk\n Hard + disk 1\n \n 2000\n + \ 2\n 17\n + \ \n \n 0\n + \ IDE Controller\n + \ IDE Controller 0\n + \ 3\n 5\n + \ \n \n 1\n + \ false\n + \ CD/DVD Drive\n CD/DVD + Drive 1\n \n 3002\n + \ 3\n 15\n + \ \n \n 0\n + \ false\n + \ Floppy Drive\n Floppy + Drive 1\n \n 8000\n + \ 14\n \n + \ \n hertz + * 10^6\n Number + of Virtual CPUs\n 2 + virtual CPU(s)\n 4\n + \ 0\n 3\n + \ 2\n 0\n + \ \n + \ \n \n byte + * 2^20\n Memory + Size\n 2560 MB of + memory\n 5\n + \ 0\n 4\n + \ 2560\n 0\n + \ \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Specifies the operating system installed\n + \ Microsoft Windows Server 2008 R2 (64-bit)\n + \ \n + \ \n \n Specifies the available + VM network connections\n 0\n + \ \n + \ 0\n false\n + \ 00:50:56:01:00:f4\n NONE\n + \ \n \n + \ \n \n Specifies Guest OS Customization + Settings\n true\n false\n + \ 4a37a2ea-b0dd-41ae-a879-5f0743b1ff77\n + \ false\n false\n + \ false\n true\n + \ false\n DEVAPP-001\n + \ \n + \ \n \n + \ Specifies Runtime info\n \n \n DEVAPP\n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:25:48 GMT +- request: + method: get + uri: https://devlab.mdsol.com/api/vApp/vapp-83314223-7d36-42b6-b03e-8ef619b9b152 + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - fog/1.11.1 + Cookie: + - vcloud-token=pKqmjCmcEjNejI6Hmk5Nh4tkSSz1LacGICm8uz8rwwU=; Secure; Path=/ + Accept: + - application/*+xml;version=1.5 + response: + status: + code: 200 + message: '' + headers: + Date: + - Mon, 19 Aug 2013 12:23:38 GMT, Mon, 19 Aug 2013 12:23:38 GMT + Content-Type: + - application/vnd.vmware.vcloud.vApp+xml;version=1.5 + Content-Length: + - '21193' + body: + encoding: US-ASCII + string: ! "\n\n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n Lease settings section\n + \ \n + \ 0\n 7776000\n + \ 2013-10-08T08:54:33.277Z\n + \ \n \n VApp + startup section\n \n + \ \n + \ \n \n The + list of logical networks\n \n \n \n + \ \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n \n \n The configuration parameters for + logical networks\n \n + \ \n + \ \n + \ \n \n \n + \ true\n 10.192.0.1\n + \ 255.255.252.0\n 10.192.0.11\n + \ 10.192.0.12\n dev.ad.mdsol.com\n + \ \n \n 10.192.0.100\n + \ 10.192.0.254\n \n + \ \n 10.192.1.32\n + \ 10.192.3.254\n \n + \ \n \n \n + \ bridged\n false\n + \ \n false\n + \ \n \n This + is a special place-holder used for disconnected network interfaces.\n + \ \n isolated\n + \ \n false\n + \ \n \n \n + \ \n + \ \n false\n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Virtual hardware requirements\n \n + \ Virtual Hardware Family\n + \ 0\n DEVAPP\n + \ vmx-08\n + \ \n \n 00:50:56:01:00:f4\n + \ 0\n false\n + \ none\n E1000 + ethernet adapter on \"none\"\n Network + adapter 0\n 1\n + \ E1000\n 10\n + \ \n \n 0\n + \ SCSI Controller\n + \ SCSI Controller 0\n + \ 2\n lsilogicsas\n + \ 6\n \n + \ \n 0\n + \ Hard disk\n Hard + disk 1\n \n 2000\n + \ 2\n 17\n + \ \n \n 0\n + \ IDE Controller\n + \ IDE Controller 0\n + \ 3\n 5\n + \ \n \n 1\n + \ false\n + \ CD/DVD Drive\n CD/DVD + Drive 1\n \n 3002\n + \ 3\n 15\n + \ \n \n 0\n + \ false\n + \ Floppy Drive\n Floppy + Drive 1\n \n 8000\n + \ 14\n \n + \ \n hertz + * 10^6\n Number + of Virtual CPUs\n 2 + virtual CPU(s)\n 4\n + \ 0\n 3\n + \ 2\n 0\n + \ \n + \ \n \n byte + * 2^20\n Memory + Size\n 2560 MB of + memory\n 5\n + \ 0\n 4\n + \ 2560\n 0\n + \ \n + \ \n \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n + \ \n \n + \ Specifies the operating system installed\n + \ Microsoft Windows Server 2008 R2 (64-bit)\n + \ \n + \ \n \n Specifies the available + VM network connections\n 0\n + \ \n + \ 0\n false\n + \ 00:50:56:01:00:f4\n NONE\n + \ \n \n + \ \n \n Specifies Guest OS Customization + Settings\n true\n false\n + \ 4a37a2ea-b0dd-41ae-a879-5f0743b1ff77\n + \ false\n false\n + \ false\n true\n + \ false\n DEVAPP-001\n + \ \n + \ \n \n + \ Specifies Runtime info\n \n \n DEVAPP\n + \ \n \n\n" + http_version: + recorded_at: Mon, 19 Aug 2013 12:25:51 GMT +recorded_with: VCR 2.5.0