fog-vcloud-director 0.1.10 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -0
- data/.rubocop.yml +4 -240
- data/.rubocop_local.yml +1 -0
- data/.travis.yml +6 -10
- data/README.md +54 -51
- data/docs/examples-vapp-instantiate.md +2 -2
- data/docs/examples-vm-reconfigure.md +122 -0
- data/docs/vm-to-reconfigure.xml +373 -0
- data/fog-vcloud-director.gemspec +6 -3
- data/lib/fog/vcloud_director.rb +14 -1
- data/lib/fog/vcloud_director/compute.rb +45 -19
- data/lib/fog/vcloud_director/core.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/compose_common.rb +16 -3
- data/lib/fog/vcloud_director/generators/compute/compose_vapp.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/create_snapshot.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/customization.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/disks.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/metadata.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/org_vdc_network.rb +4 -4
- data/lib/fog/vcloud_director/generators/compute/recompose_vapp.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/reconfigure_vm.rb +189 -0
- data/lib/fog/vcloud_director/generators/compute/vapp.rb +3 -4
- data/lib/fog/vcloud_director/generators/compute/vm.rb +3 -3
- data/lib/fog/vcloud_director/generators/compute/vm_network.rb +3 -3
- data/lib/fog/vcloud_director/models/compute/catalog.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/catalog_item.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/catalog_items.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/catalogs.rb +4 -5
- data/lib/fog/vcloud_director/models/compute/custom_field.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/custom_fields.rb +3 -3
- data/lib/fog/vcloud_director/models/compute/disk.rb +5 -6
- data/lib/fog/vcloud_director/models/compute/disks.rb +4 -5
- data/lib/fog/vcloud_director/models/compute/media.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/medias.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/network.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/networks.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/organization.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/organizations.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/tag.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/tags.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/task.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/tasks.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/template_vm.rb +2 -3
- data/lib/fog/vcloud_director/models/compute/template_vms.rb +5 -6
- data/lib/fog/vcloud_director/models/compute/vapp.rb +36 -18
- data/lib/fog/vcloud_director/models/compute/vapp_template.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/vapp_templates.rb +4 -5
- data/lib/fog/vcloud_director/models/compute/vapps.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/vdc.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/vdcs.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/vm.rb +19 -39
- data/lib/fog/vcloud_director/models/compute/vm_customization.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/vm_customizations.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/vm_network.rb +2 -4
- data/lib/fog/vcloud_director/models/compute/vm_networks.rb +3 -4
- data/lib/fog/vcloud_director/models/compute/vms.rb +4 -5
- data/lib/fog/vcloud_director/parsers/compute/disks.rb +3 -3
- data/lib/fog/vcloud_director/parsers/compute/metadata.rb +3 -3
- data/lib/fog/vcloud_director/parsers/compute/network.rb +3 -3
- data/lib/fog/vcloud_director/parsers/compute/vapp.rb +93 -0
- data/lib/fog/vcloud_director/parsers/compute/vm.rb +6 -65
- data/lib/fog/vcloud_director/parsers/compute/vm_customization.rb +3 -3
- data/lib/fog/vcloud_director/parsers/compute/vm_network.rb +3 -3
- data/lib/fog/vcloud_director/parsers/compute/vm_parser_helper.rb +55 -3
- data/lib/fog/vcloud_director/parsers/compute/vms.rb +5 -26
- data/lib/fog/vcloud_director/parsers/compute/vms_by_metadata.rb +3 -3
- data/lib/fog/vcloud_director/query.rb +0 -1
- data/lib/fog/vcloud_director/requests/compute/delete_catalog_item.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/delete_catalog_item_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/delete_disk.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/delete_disk_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/delete_logout.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/delete_media.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/delete_media_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/delete_network.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/delete_shadow_vm.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/delete_vapp.rb +5 -5
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/delete_vapp_template_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_allocated_ip_addresses.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_catalog.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_catalog_item_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_catalog_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_catalogs_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_control_access_params_catalog.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_control_access_params_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_cpu_rasd_item.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_current_session.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_disk.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_disk_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_disk_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_disk_owner.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_disks_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_disks_rasd_items_list.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_edge_gateway.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_entity.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_groups_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_href.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_media.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_media_drives_rasd_items_list.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_media_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_media_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_media_owner.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_medias_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_network.rb +5 -5
- data/lib/fog/vcloud_director/requests/compute/get_network_cards_items_list.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_network_complete.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_network_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_network_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_network_section_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_operating_system_section.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_org_settings.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_org_vdc_gateways.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_organization.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_organization_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_organization_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_organizations.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_organizations_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_product_sections_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_request.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_runtime_info_section_type.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_serial_ports_items_list.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_shadow_vm.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_snapshot_section.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_startup_section.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_supported_systems_info.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_supported_versions.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_task.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_task_list.rb +5 -5
- data/lib/fog/vcloud_director/requests/compute/get_template_vm.rb +4 -50
- data/lib/fog/vcloud_director/requests/compute/get_template_vms.rb +3 -16
- data/lib/fog/vcloud_director/requests/compute/get_thumbnail.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_users_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vapp.rb +9 -8
- data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vapp_ovf_descriptor.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vapp_owner.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_customization_system_section.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_ovf_descriptor.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vapp_template_owner.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vapp_templates_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vapps_in_lease_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vcloud.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vdc_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vdc_storage_class_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vdcs_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_virtual_hardware_section.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vm.rb +3 -49
- data/lib/fog/vcloud_director/requests/compute/get_vm_capabilities.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vm_compliance_results.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vm_customization.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vm_disks.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vm_network.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vm_pending_question.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_vms_by_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vms_disk_attached_to.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/get_vms_in_lease_from_query.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +6 -6
- data/lib/fog/vcloud_director/requests/compute/post_acquire_mks_ticket.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_acquire_ticket.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_answer_vm_pending_question.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_attach_disk.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_cancel_task.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_capture_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_check_vm_compliance.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_clone_media.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/post_clone_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_clone_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_compose_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_configure_edge_gateway_services.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_consolidate_vm_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_create_catalog_item.rb +5 -5
- data/lib/fog/vcloud_director/requests/compute/post_create_org_vdc_network.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/post_create_snapshot.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_deploy_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_detach_disk.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_disable_nested_hv.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_disable_vapp_template_download.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_discard_vapp_state.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_eject_cd_rom.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_enable_nested_hv.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_enable_vapp_template_download.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_enter_maintenance_mode.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_exit_maintenance_mode.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_insert_cd_rom.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_install_vmware_tools.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_instantiate_vapp_template.rb +6 -6
- data/lib/fog/vcloud_director/requests/compute/post_login_session.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_power_off_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_power_on_vapp.rb +6 -6
- data/lib/fog/vcloud_director/requests/compute/post_reboot_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_recompose_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_reconfigure_vm.rb +6 -86
- data/lib/fog/vcloud_director/requests/compute/post_remove_all_snapshots.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_reset_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_revert_snapshot.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_shutdown_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_suspend_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_undeploy_vapp.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/post_update_catalog_item_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_update_disk_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_update_media_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_update_vapp_metadata.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/post_update_vapp_template_metadata.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_upgrade_hw_version.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/post_upload_disk.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/post_upload_media.rb +7 -7
- data/lib/fog/vcloud_director/requests/compute/post_upload_vapp_template.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/put_catalog_item_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/put_cpu.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/put_disk_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/put_disks.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/put_guest_customization_section_vapp.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/put_media_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/put_memory.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/put_metadata_value.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/put_network.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/put_network_connection_system_section_vapp.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/put_product_sections.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/put_vapp_metadata_item_metadata.rb +4 -4
- data/lib/fog/vcloud_director/requests/compute/put_vapp_name_and_description.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/put_vapp_template_metadata_item_metadata.rb +3 -3
- data/lib/fog/vcloud_director/requests/compute/put_vm.rb +5 -5
- data/lib/fog/vcloud_director/requests/compute/put_vm_capabilities.rb +2 -2
- data/lib/fog/vcloud_director/version.rb +1 -1
- data/spec/common_assertions.rb +42 -0
- data/spec/fixtures/empty_vm.xml +244 -0
- data/spec/fixtures/vm.xml +419 -0
- data/spec/secrets.yaml.templ +3 -0
- data/spec/spec_helper.rb +6 -6
- data/spec/vcloud_director/generators/compute/compose_common_spec.rb +3 -8
- 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 +7 -10
- 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 +390 -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 +80 -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 +3 -5
- 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-emptyvm.yml +806 -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
- data/tests/vcloud_director/ensure_list_tests.rb +1 -1
- data/tests/vcloud_director/generators/compute/compose_vapp_tests.rb +1 -1
- data/tests/vcloud_director/models/compute/helper.rb +1 -1
- data/tests/vcloud_director/models/compute/media_tests.rb +1 -1
- data/tests/vcloud_director/models/compute/network_tests.rb +1 -1
- data/tests/vcloud_director/models/compute/tasks_tests.rb +1 -1
- data/tests/vcloud_director/models/compute/vapp_template_tests.rb +1 -1
- data/tests/vcloud_director/models/compute/vms_tests.rb +6 -6
- data/tests/vcloud_director/requests/compute/admin_tests.rb +1 -1
- data/tests/vcloud_director/requests/compute/catalog_tests.rb +2 -2
- data/tests/vcloud_director/requests/compute/disk_tests.rb +11 -11
- data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +8 -8
- data/tests/vcloud_director/requests/compute/groups_tests.rb +1 -1
- data/tests/vcloud_director/requests/compute/media_tests.rb +11 -11
- data/tests/vcloud_director/requests/compute/network_tests.rb +6 -6
- data/tests/vcloud_director/requests/compute/organization_tests.rb +2 -2
- data/tests/vcloud_director/requests/compute/ovf_descriptor_tests.rb +1 -1
- data/tests/vcloud_director/requests/compute/query_tests.rb +1 -1
- data/tests/vcloud_director/requests/compute/session_tests.rb +1 -1
- data/tests/vcloud_director/requests/compute/supported_systems_tests.rb +1 -1
- data/tests/vcloud_director/requests/compute/task_tests.rb +4 -4
- data/tests/vcloud_director/requests/compute/users_tests.rb +1 -1
- data/tests/vcloud_director/requests/compute/vapp_tests.rb +4 -4
- data/tests/vcloud_director/requests/compute/vdc_storage_profile_tests.rb +2 -2
- data/tests/vcloud_director/requests/compute/vdc_tests.rb +2 -2
- data/tests/vcloud_director/requests/compute/versions_tests.rb +1 -1
- data/tests/vcloud_director/requests/compute/vm_tests.rb +4 -4
- metadata +140 -13
- 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
|