fog 2.1.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +10 -0
- data/.github/workflows/codeql.yml +67 -0
- data/.github/workflows/depsreview.yml +14 -0
- data/.github/workflows/ruby.yml +23 -0
- data/.github/workflows/stale.yml +14 -0
- data/CHANGELOG.md +97 -0
- data/README.md +1 -1
- data/Rakefile +0 -9
- data/fog.gemspec +12 -13
- data/lib/fog/bin.rb +2 -4
- data/lib/fog/version.rb +1 -1
- data/lib/fog.rb +1 -2
- data/lib/tasks/changelog_task.rb +2 -0
- data/spec/fog/bin/aws_spec.rb +6 -0
- data/spec/fog/bin_spec.rb +0 -3
- data/tests/helpers/mock_helper.rb +2 -2
- metadata +50 -607
- data/.github/stale.yml +0 -17
- data/lib/fog/cloudstack/compute.rb +0 -996
- data/lib/fog/cloudstack/core.rb +0 -41
- data/lib/fog/cloudstack/models/compute/address.rb +0 -17
- data/lib/fog/cloudstack/models/compute/disk_offering.rb +0 -44
- data/lib/fog/cloudstack/models/compute/disk_offerings.rb +0 -24
- data/lib/fog/cloudstack/models/compute/egress_firewall_rule.rb +0 -38
- data/lib/fog/cloudstack/models/compute/egress_firewall_rules.rb +0 -25
- data/lib/fog/cloudstack/models/compute/firewall_rule.rb +0 -24
- data/lib/fog/cloudstack/models/compute/firewall_rules.rb +0 -25
- data/lib/fog/cloudstack/models/compute/flavor.rb +0 -36
- data/lib/fog/cloudstack/models/compute/flavors.rb +0 -25
- data/lib/fog/cloudstack/models/compute/image.rb +0 -72
- data/lib/fog/cloudstack/models/compute/images.rb +0 -37
- data/lib/fog/cloudstack/models/compute/job.rb +0 -51
- data/lib/fog/cloudstack/models/compute/jobs.rb +0 -25
- data/lib/fog/cloudstack/models/compute/network.rb +0 -73
- data/lib/fog/cloudstack/models/compute/network_offering.rb +0 -25
- data/lib/fog/cloudstack/models/compute/network_offerings.rb +0 -39
- data/lib/fog/cloudstack/models/compute/networks.rb +0 -38
- data/lib/fog/cloudstack/models/compute/port_forwarding_rule.rb +0 -25
- data/lib/fog/cloudstack/models/compute/port_forwarding_rules.rb +0 -25
- data/lib/fog/cloudstack/models/compute/project.rb +0 -58
- data/lib/fog/cloudstack/models/compute/projects.rb +0 -39
- data/lib/fog/cloudstack/models/compute/public_ip_address.rb +0 -96
- data/lib/fog/cloudstack/models/compute/public_ip_addresses.rb +0 -27
- data/lib/fog/cloudstack/models/compute/security_group.rb +0 -50
- data/lib/fog/cloudstack/models/compute/security_group_rule.rb +0 -60
- data/lib/fog/cloudstack/models/compute/security_group_rules.rb +0 -35
- data/lib/fog/cloudstack/models/compute/security_groups.rb +0 -25
- data/lib/fog/cloudstack/models/compute/server.rb +0 -162
- data/lib/fog/cloudstack/models/compute/servers.rb +0 -39
- data/lib/fog/cloudstack/models/compute/snapshot.rb +0 -46
- data/lib/fog/cloudstack/models/compute/snapshots.rb +0 -23
- data/lib/fog/cloudstack/models/compute/volume.rb +0 -121
- data/lib/fog/cloudstack/models/compute/volumes.rb +0 -26
- data/lib/fog/cloudstack/models/compute/zone.rb +0 -38
- data/lib/fog/cloudstack/models/compute/zones.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/acquire_ip_address.rb +0 -18
- data/lib/fog/cloudstack/requests/compute/activate_project.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/add_account_to_project.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/add_baremetal_dhcp.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/add_baremetal_host.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/add_baremetal_pxe_kick_start_server.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/add_baremetal_pxe_ping_server.rb +0 -32
- data/lib/fog/cloudstack/requests/compute/add_big_switch_vns_device.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/add_cisco_asa1000v_resource.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/add_cisco_vnmc_resource.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/add_cluster.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/add_external_firewall.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/add_external_load_balancer.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/add_f5_load_balancer.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/add_guest_os.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/add_guest_os_mapping.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/add_host.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/add_image_store.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/add_ip_to_nic.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/add_ldap_configuration.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/add_netscaler_load_balancer.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/add_network_device.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/add_network_service_provider.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/add_nic_to_virtual_machine.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/add_nicira_nvp_device.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/add_open_daylight_controller.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/add_palo_alto_firewall.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/add_region.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/add_resource_detail.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/add_s3.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/add_secondary_storage.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/add_srx_firewall.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/add_stratosphere_ssp.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/add_swift.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/add_traffic_monitor.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/add_traffic_type.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/add_ucs_manager.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/add_vmware_dc.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/add_vpn_user.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/archive_alerts.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/archive_events.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/assign_cert_to_load_balancer.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/assign_to_global_load_balancer_rule.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/associate_ip_address.rb +0 -55
- data/lib/fog/cloudstack/requests/compute/associate_lun.rb +0 -22
- data/lib/fog/cloudstack/requests/compute/associate_ucs_profile_to_blade.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/attach_iso.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/attach_volume.rb +0 -76
- data/lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb +0 -78
- data/lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb +0 -78
- data/lib/fog/cloudstack/requests/compute/cancel_host_maintenance.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/cancel_storage_maintenance.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/change_service_for_router.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/change_service_for_system_vm.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/clean_vmreservations.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/configure_f5_load_balancer.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/configure_internal_load_balancer_element.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/configure_netscaler_load_balancer.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/configure_ovs_element.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/configure_palo_alto_firewall.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/configure_srx_firewall.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/configure_virtual_router_element.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/copy_iso.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/copy_template.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/create_account.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/create_affinity_group.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/create_auto_scale_policy.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_auto_scale_vm_group.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/create_auto_scale_vm_profile.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_condition.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_counter.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_disk_offering.rb +0 -56
- data/lib/fog/cloudstack/requests/compute/create_domain.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_egress_firewall_rule.rb +0 -44
- data/lib/fog/cloudstack/requests/compute/create_firewall_rule.rb +0 -48
- data/lib/fog/cloudstack/requests/compute/create_global_load_balancer_rule.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/create_instance_group.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_internal_load_balancer_element.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_ip_forwarding_rule.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_lb_health_check_policy.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_lb_stickiness_policy.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_load_balancer.rb +0 -31
- data/lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/create_lun_on_filer.rb +0 -22
- data/lib/fog/cloudstack/requests/compute/create_network.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/create_network_acl.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_network_acl_list.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/create_network_offering.rb +0 -55
- data/lib/fog/cloudstack/requests/compute/create_physical_network.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/create_pod.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/create_pool.rb +0 -22
- data/lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb +0 -55
- data/lib/fog/cloudstack/requests/compute/create_portable_ip_range.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/create_private_gateway.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/create_project.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/create_remote_access_vpn.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_secondary_staging_store.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_security_group.rb +0 -37
- data/lib/fog/cloudstack/requests/compute/create_service_instance.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/create_service_offering.rb +0 -55
- data/lib/fog/cloudstack/requests/compute/create_snapshot.rb +0 -48
- data/lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_static_route.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/create_storage_network_ip_range.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/create_storage_pool.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_tags.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_template.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_user.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/create_virtual_router_element.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_vlan_ip_range.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/create_vm_snapshot.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_volume.rb +0 -69
- data/lib/fog/cloudstack/requests/compute/create_volume_on_filer.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_vpc.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/create_vpcoffering.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/create_vpn_connection.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/create_vpn_customer_gateway.rb +0 -29
- data/lib/fog/cloudstack/requests/compute/create_vpn_gateway.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/create_zone.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/dedicate_cluster.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/dedicate_guest_vlan_range.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/dedicate_host.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/dedicate_pod.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/dedicate_public_ip_range.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/dedicate_zone.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/delete_account.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_account_from_project.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/delete_affinity_group.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/delete_alerts.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/delete_auto_scale_policy.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_group.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_profile.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_big_switch_vns_device.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_cisco_asa1000v_resource.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_cisco_nexus_vsm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_cisco_vnmc_resource.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_cluster.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_condition.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_counter.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_disk_offering.rb +0 -33
- data/lib/fog/cloudstack/requests/compute/delete_domain.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb +0 -34
- data/lib/fog/cloudstack/requests/compute/delete_events.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/delete_external_firewall.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_external_load_balancer.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_f5_load_balancer.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_firewall_rule.rb +0 -34
- data/lib/fog/cloudstack/requests/compute/delete_global_load_balancer_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_host.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_image_store.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_instance_group.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_ip_forwarding_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_iso.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_lb_health_check_policy.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_lb_stickiness_policy.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_ldap_configuration.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_load_balancer.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_netscaler_load_balancer.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_network.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_network_acl.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_network_acl_list.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_network_device.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_network_offering.rb +0 -34
- data/lib/fog/cloudstack/requests/compute/delete_network_service_provider.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_nicira_nvp_device.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_open_daylight_controller.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_palo_alto_firewall.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_physical_network.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_pod.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_pool.rb +0 -21
- data/lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_portable_ip_range.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_private_gateway.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_project.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_project_invitation.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_remote_access_vpn.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_secondary_staging_store.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_security_group.rb +0 -39
- data/lib/fog/cloudstack/requests/compute/delete_service_offering.rb +0 -34
- data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +0 -61
- data/lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/delete_srx_firewall.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/delete_ssl_cert.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_static_route.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_storage_network_ip_range.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_storage_pool.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_tags.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/delete_template.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_traffic_monitor.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_traffic_type.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_ucs_manager.rb +0 -21
- data/lib/fog/cloudstack/requests/compute/delete_user.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_vlan_ip_range.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_vm_snapshot.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_volume.rb +0 -45
- data/lib/fog/cloudstack/requests/compute/delete_vpc.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_vpcoffering.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_vpn_connection.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_vpn_customer_gateway.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_vpn_gateway.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/delete_zone.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb +0 -125
- data/lib/fog/cloudstack/requests/compute/destroy_lun_on_filer.rb +0 -21
- data/lib/fog/cloudstack/requests/compute/destroy_router.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/destroy_system_vm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb +0 -54
- data/lib/fog/cloudstack/requests/compute/destroy_volume_on_filer.rb +0 -23
- data/lib/fog/cloudstack/requests/compute/detach_iso.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/detach_volume.rb +0 -64
- data/lib/fog/cloudstack/requests/compute/disable_account.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/disable_auto_scale_vm_group.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/disable_cisco_nexus_vsm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/disable_static_nat.rb +0 -51
- data/lib/fog/cloudstack/requests/compute/disable_user.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/disassociate_ip_address.rb +0 -35
- data/lib/fog/cloudstack/requests/compute/disassociate_ucs_profile_from_blade.rb +0 -21
- data/lib/fog/cloudstack/requests/compute/dissociate_lun.rb +0 -22
- data/lib/fog/cloudstack/requests/compute/enable_account.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/enable_auto_scale_vm_group.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/enable_cisco_nexus_vsm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/enable_static_nat.rb +0 -69
- data/lib/fog/cloudstack/requests/compute/enable_storage_maintenance.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/enable_user.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/expunge_virtual_machine.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/extract_iso.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/extract_template.rb +0 -65
- data/lib/fog/cloudstack/requests/compute/extract_volume.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/find_hosts_for_migration.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/generate_alert.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/get_api_limit.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/get_cloud_identifier.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/get_user.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/get_virtual_machine_user_data.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/import_ldap_users.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/instantiate_ucs_template_and_assocaciate_to_blade.rb +0 -23
- data/lib/fog/cloudstack/requests/compute/ldap_config.rb +0 -20
- data/lib/fog/cloudstack/requests/compute/ldap_create_account.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/ldap_remove.rb +0 -20
- data/lib/fog/cloudstack/requests/compute/list_accounts.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_affinity_group_types.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_affinity_groups.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_alerts.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_apis.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_async_jobs.rb +0 -36
- data/lib/fog/cloudstack/requests/compute/list_auto_scale_policies.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_auto_scale_vm_groups.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_auto_scale_vm_profiles.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_baremetal_dhcp.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_baremetal_pxe_servers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_big_switch_vns_devices.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_capabilities.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_capacity.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_cisco_asa1000v_resources.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_cisco_nexus_vsms.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_cisco_vnmc_resources.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_clusters.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_conditions.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_configurations.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_counters.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_dedicated_clusters.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_dedicated_guest_vlan_ranges.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_dedicated_hosts.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_dedicated_pods.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_dedicated_zones.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_deployment_planners.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +0 -32
- data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_domains.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_egress_firewall_rules.rb +0 -35
- data/lib/fog/cloudstack/requests/compute/list_event_types.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_events.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_f5_load_balancer_networks.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_f5_load_balancers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_firewall_rules.rb +0 -35
- data/lib/fog/cloudstack/requests/compute/list_global_load_balancer_rules.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_guest_os_mapping.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_hosts.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_hypervisor_capabilities.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_image_stores.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_internal_load_balancer_elements.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_internal_load_balancer_vms.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_ip_forwarding_rules.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_iso_permissions.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_isos.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_lb_health_check_policies.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_lb_stickiness_policies.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_ldap_configurations.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_ldap_users.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_load_balancers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_luns_on_filer.rb +0 -21
- data/lib/fog/cloudstack/requests/compute/list_netscaler_load_balancer_networks.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_netscaler_load_balancers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_network_acl_lists.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_network_acls.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_network_device.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_network_isolation_methods.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +0 -31
- data/lib/fog/cloudstack/requests/compute/list_network_service_providers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_networks.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/list_nicira_nvp_device_networks.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_nicira_nvp_devices.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_nics.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_open_daylight_controllers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_os_types.rb +0 -32
- data/lib/fog/cloudstack/requests/compute/list_ovs_elements.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_palo_alto_firewall_networks.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_palo_alto_firewalls.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_physical_networks.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_pods.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_pools.rb +0 -20
- data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +0 -40
- data/lib/fog/cloudstack/requests/compute/list_portable_ip_ranges.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_private_gateways.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_project_accounts.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_project_invitations.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_projects.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +0 -45
- data/lib/fog/cloudstack/requests/compute/list_regions.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_remote_access_vpns.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_resource_details.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_routers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_s3s.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_secondary_staging_stores.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_security_groups.rb +0 -44
- data/lib/fog/cloudstack/requests/compute/list_service_offerings.rb +0 -44
- data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +0 -43
- data/lib/fog/cloudstack/requests/compute/list_srx_firewall_networks.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_srx_firewalls.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/list_ssl_certs.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_static_routes.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_storage_network_ip_range.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_storage_providers.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_supported_network_services.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_swifts.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_system_vms.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_tags.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_template_permissions.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_templates.rb +0 -42
- data/lib/fog/cloudstack/requests/compute/list_traffic_monitors.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_traffic_type_implementors.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_traffic_types.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_ucs_blades.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_ucs_managers.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_ucs_profiles.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_ucs_templates.rb +0 -21
- data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/list_usage_types.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_users.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_virtual_machines.rb +0 -32
- data/lib/fog/cloudstack/requests/compute/list_virtual_router_elements.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_vlan_ip_ranges.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_vm_snapshot.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/list_vmware_dcs.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/list_volumes.rb +0 -43
- data/lib/fog/cloudstack/requests/compute/list_volumes_on_filer.rb +0 -21
- data/lib/fog/cloudstack/requests/compute/list_vpc_offerings.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_vpcs.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_vpn_connections.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_vpn_customer_gateways.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_vpn_gateways.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_vpn_users.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/list_zones.rb +0 -37
- data/lib/fog/cloudstack/requests/compute/lock_account.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/lock_user.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/mark_default_zone_for_account.rb +0 -27
- data/lib/fog/cloudstack/requests/compute/migrate_system_vm.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine_with_volume.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/migrate_volume.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/modify_pool.rb +0 -22
- data/lib/fog/cloudstack/requests/compute/prepare_host_for_maintenance.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/prepare_template.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/query_async_job_result.rb +0 -38
- data/lib/fog/cloudstack/requests/compute/reboot_router.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/reboot_system_vm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb +0 -35
- data/lib/fog/cloudstack/requests/compute/reconnect_host.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/refresh_ucs_blades.rb +0 -21
- data/lib/fog/cloudstack/requests/compute/register_iso.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/register_template.rb +0 -45
- data/lib/fog/cloudstack/requests/compute/register_user_keys.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/release_dedicated_cluster.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/release_dedicated_guest_vlan_range.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/release_dedicated_host.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/release_dedicated_pod.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/release_dedicated_zone.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/release_host_reservation.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/release_public_ip_range.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/remove_cert_from_load_balancer.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/remove_from_global_load_balancer_rule.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/remove_guest_os.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/remove_guest_os_mapping.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/remove_ip_from_nic.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/remove_nic_from_virtual_machine.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/remove_region.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/remove_resource_detail.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/remove_vmware_dc.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/remove_vpn_user.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/replace_network_acl_list.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/reset_api_limit.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/reset_ssh_key_for_virtual_machine.rb +0 -28
- data/lib/fog/cloudstack/requests/compute/reset_vpn_connection.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/resize_volume.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/restart_network.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/restart_vpc.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/restore_virtual_machine.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/revert_snapshot.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/revert_to_vm_snapshot.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb +0 -52
- data/lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb +0 -52
- data/lib/fog/cloudstack/requests/compute/scale_system_vm.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/scale_virtual_machine.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/start_internal_load_balancer_vm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/start_router.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/start_system_vm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/start_virtual_machine.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/stop_internal_load_balancer_vm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/stop_router.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/stop_system_vm.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/suspend_project.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_account.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_auto_scale_policy.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_auto_scale_vm_group.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_auto_scale_vm_profile.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_cloud_to_use_object_store.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_cluster.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_configuration.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_default_nic_for_virtual_machine.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/update_disk_offering.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_domain.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_egress_firewall_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_firewall_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_global_load_balancer_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_guest_os.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/update_guest_os_mapping.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/update_host.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_host_password.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/update_hypervisor_capabilities.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/update_instance_group.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_ip_address.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_iso.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_iso_permissions.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_lb_health_check_policy.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_lb_stickiness_policy.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_load_balancer.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_load_balancer_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_network.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_network_acl_item.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_network_acl_list.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_network_offering.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/update_network_service_provider.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_physical_network.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_pod.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_port_forwarding_rule.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_project.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_project_invitation.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_region.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_remote_access_vpn.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_resource_count.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_resource_limit.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_service_offering.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_storage_network_ip_range.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_storage_pool.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_template.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_template_permissions.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_traffic_type.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_user.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_virtual_machine.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_vm_affinity_group.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_volume.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/update_vpc.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_vpcoffering.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_vpn_connection.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_vpn_customer_gateway.rb +0 -30
- data/lib/fog/cloudstack/requests/compute/update_vpn_gateway.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/update_zone.rb +0 -25
- data/lib/fog/cloudstack/requests/compute/upgrade_router_template.rb +0 -24
- data/lib/fog/cloudstack/requests/compute/upload_custom_certificate.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/upload_ssl_cert.rb +0 -26
- data/lib/fog/cloudstack/requests/compute/upload_volume.rb +0 -30
- data/lib/fog/cloudstack.rb +0 -1
- data/spec/fog/bin/cloudstack_spec.rb +0 -9
- data/spec/fog/bin/joyent_spec.rb +0 -10
- data/tests/cloudstack/compute/models/disk_offering_tests.rb +0 -5
- data/tests/cloudstack/compute/models/egress_firewall_rule_tests.rb +0 -6
- data/tests/cloudstack/compute/models/public_ip_address_tests.rb +0 -27
- data/tests/cloudstack/compute/models/public_ip_addresses_tests.rb +0 -5
- data/tests/cloudstack/compute/models/security_group_rule_tests.rb +0 -28
- data/tests/cloudstack/compute/models/security_group_tests.rb +0 -16
- data/tests/cloudstack/compute/models/security_groups_tests.rb +0 -18
- data/tests/cloudstack/compute/models/server_tests.rb +0 -18
- data/tests/cloudstack/compute/models/snapshot_tests.rb +0 -19
- data/tests/cloudstack/compute/models/volume_tests.rb +0 -34
- data/tests/cloudstack/compute/models/volumes_tests.rb +0 -15
- data/tests/cloudstack/requests/disk_offering_tests.rb +0 -29
- data/tests/cloudstack/requests/egress_firewall_rule_tests.rb +0 -25
- data/tests/cloudstack/requests/firewall_rule_tests.rb +0 -29
- data/tests/cloudstack/requests/network_offering_tests.rb +0 -32
- data/tests/cloudstack/requests/os_type_tests.rb +0 -37
- data/tests/cloudstack/requests/port_forwarding_rule_tests.rb +0 -33
- data/tests/cloudstack/requests/public_ip_address_tests.rb +0 -38
- data/tests/cloudstack/requests/security_group_tests.rb +0 -29
- data/tests/cloudstack/requests/service_offering_tests.rb +0 -31
- data/tests/cloudstack/requests/snapshot_tests.rb +0 -32
- data/tests/cloudstack/requests/ssh_key_pair_tests.rb +0 -23
- data/tests/cloudstack/requests/template_tests.rb +0 -53
- data/tests/cloudstack/requests/virtual_machine_tests.rb +0 -71
- data/tests/cloudstack/requests/volume_tests.rb +0 -47
- data/tests/cloudstack/requests/zone_tests.rb +0 -33
- data/tests/cloudstack/signed_params_tests.rb +0 -12
@@ -1,54 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Destroys a virtual machine. Once destroyed, only the administrator can recover it.
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/destroyVirtualMachine.html]
|
9
|
-
def destroy_virtual_machine(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'destroyVirtualMachine')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'destroyVirtualMachine',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
class Mock
|
23
|
-
def destroy_virtual_machine(options={})
|
24
|
-
identity = options["id"]
|
25
|
-
|
26
|
-
server = self.data[:servers][identity]
|
27
|
-
unless server
|
28
|
-
raise Fog::Compute::Cloudstack::BadRequest.new("Unable to execute API command attachserver due to invalid value. Object servers(uuid: #{identity}) does not exist.")
|
29
|
-
end
|
30
|
-
|
31
|
-
job_id = Fog::Cloudstack.uuid
|
32
|
-
|
33
|
-
job = {
|
34
|
-
"cmd" => "com.cloud.api.commands.DestroyVirtualMachineCmd",
|
35
|
-
"created" => Time.now.iso8601,
|
36
|
-
"jobid" => job_id,
|
37
|
-
"jobstatus" => 1,
|
38
|
-
"jobprocstatus" => 0,
|
39
|
-
"jobresultcode" => 0,
|
40
|
-
"jobresulttype" => "object",
|
41
|
-
"jobresult" =>
|
42
|
-
{"virtualmachine" => server}
|
43
|
-
}
|
44
|
-
|
45
|
-
self.data[:jobs][job_id]= job
|
46
|
-
self.data[:servers].delete(identity)
|
47
|
-
|
48
|
-
{"destroyvirtualmachineresponse" => {"jobid" => job_id}}
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Destroy a Volume
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/destroyVolumeOnFiler.html]
|
9
|
-
def destroy_volume_on_filer(ipaddress, aggregatename, volumename, options={})
|
10
|
-
options.merge!(
|
11
|
-
'command' => 'destroyVolumeOnFiler',
|
12
|
-
'ipaddress' => ipaddress,
|
13
|
-
'aggregatename' => aggregatename,
|
14
|
-
'volumename' => volumename
|
15
|
-
)
|
16
|
-
request(options)
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Detaches any ISO file (if any) currently attached to a virtual machine.
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/detachIso.html]
|
9
|
-
def detach_iso(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'detachIso')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'detachIso',
|
16
|
-
'virtualmachineid' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,64 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Detaches a disk volume from a virtual machine.
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/detachVolume.html]
|
9
|
-
def detach_volume(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'detachVolume')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'detachVolume')
|
16
|
-
end
|
17
|
-
request(options)
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
class Mock
|
22
|
-
def detach_volume(options={})
|
23
|
-
volume_id = options['id']
|
24
|
-
|
25
|
-
volume = self.data[:volumes][volume_id]
|
26
|
-
unless volume
|
27
|
-
raise Fog::Compute::Cloudstack::BadRequest.new("Unable to execute API command attachvolume due to invalid value. Object volumes(uuid: #{volume_id}) does not exist.")
|
28
|
-
end
|
29
|
-
|
30
|
-
volume['virtualmachineid']= volume['vmname']= volume['vmdisplayname']= nil
|
31
|
-
|
32
|
-
job_id = Fog::Cloudstack.uuid
|
33
|
-
|
34
|
-
# FIXME: need to determine current user
|
35
|
-
account_id = self.data[:accounts].first
|
36
|
-
user_id = self.data[:users].first
|
37
|
-
|
38
|
-
job = {
|
39
|
-
"accountid" => account_id,
|
40
|
-
"userid" => user_id,
|
41
|
-
"cmd" => "com.cloud.api.commands.DetachVolumeCmd",
|
42
|
-
"created" => Time.now.iso8601,
|
43
|
-
"jobid" => job_id,
|
44
|
-
"jobstatus" => 1,
|
45
|
-
"jobprocstatus" => 0,
|
46
|
-
"jobresultcode" => 0,
|
47
|
-
"jobresulttype" => "object",
|
48
|
-
"jobresult" =>
|
49
|
-
{"volume" => volume}
|
50
|
-
}
|
51
|
-
|
52
|
-
self.data[:jobs][job_id]= job
|
53
|
-
|
54
|
-
{
|
55
|
-
"detachvolumeresponse" => {
|
56
|
-
"jobid" => job_id
|
57
|
-
}
|
58
|
-
}
|
59
|
-
end
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Disables an account
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableAccount.html]
|
9
|
-
def disable_account(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'disableAccount')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'disableAccount',
|
16
|
-
'lock' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Disables an AutoScale Vm Group
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableAutoScaleVmGroup.html]
|
9
|
-
def disable_auto_scale_vm_group(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'disableAutoScaleVmGroup')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'disableAutoScaleVmGroup',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# disable a Cisco Nexus VSM device
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableCiscoNexusVSM.html]
|
9
|
-
def disable_cisco_nexus_vsm(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'disableCiscoNexusVSM')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'disableCiscoNexusVSM',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,51 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Disables static rule for given ip address
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableStaticNat.html]
|
9
|
-
def disable_static_nat(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'disableStaticNat')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'disableStaticNat',
|
16
|
-
'ipaddressid' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
class Mock
|
23
|
-
def disable_static_nat(*args)
|
24
|
-
ip_address_id = args[0].is_a?(Hash) ? args[0]['ipaddressid'] : args[0]
|
25
|
-
|
26
|
-
address = self.data[:public_ip_addresses][ip_address_id]
|
27
|
-
|
28
|
-
unless address
|
29
|
-
raise Fog::Compute::Cloudstack::BadRequest.new(
|
30
|
-
"Unable to execute API command disablestaticnat due to invalid value. \
|
31
|
-
Invalid parameter ipaddressid value=#{ip_address_id} due to incorrect long value format, \
|
32
|
-
or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.")
|
33
|
-
end
|
34
|
-
|
35
|
-
if address['virtualmachineid'].nil?
|
36
|
-
raise Fog::Compute::Cloudstack::BadRequest.new(
|
37
|
-
"Specified IP address id is not associated with any vm Id")
|
38
|
-
end
|
39
|
-
|
40
|
-
address.merge!(
|
41
|
-
'virtualmachineid' => nil,
|
42
|
-
'virtualmachinname' => nil,
|
43
|
-
'virtualmachinedisplayname' => nil
|
44
|
-
)
|
45
|
-
{'enablestaticnatresponse' => {'success' => 'true'}}
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Disables a user account
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disableUser.html]
|
9
|
-
def disable_user(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'disableUser')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'disableUser',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,35 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Disassociates an ip address from the account.
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/disassociateIpAddress.html]
|
9
|
-
def disassociate_ip_address(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'disassociateIpAddress')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'disassociateIpAddress',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
class Mock
|
23
|
-
def disassociate_ip_address(*args)
|
24
|
-
public_ip_address_id = args[0].is_a?(Hash) ? args[0]['id'] : args[0]
|
25
|
-
if self.data[:public_ip_addresses][public_ip_address_id]
|
26
|
-
self.data[:public_ip_addresses].delete(public_ip_address_id)
|
27
|
-
{ "disassociateipaddressresponse" => { "success" => "true" }}
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# disassociate a profile from a blade
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/disassociateUcsProfileFromBlade.html]
|
9
|
-
def disassociate_ucs_profile_from_blade(bladeid, options={})
|
10
|
-
options.merge!(
|
11
|
-
'command' => 'disassociateUcsProfileFromBlade',
|
12
|
-
'bladeid' => bladeid
|
13
|
-
)
|
14
|
-
request(options)
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Dissociate a LUN
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/dissociateLun.html]
|
9
|
-
def dissociate_lun(iqn, path, options={})
|
10
|
-
options.merge!(
|
11
|
-
'command' => 'dissociateLun',
|
12
|
-
'iqn' => iqn,
|
13
|
-
'path' => path
|
14
|
-
)
|
15
|
-
request(options)
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Enables an account
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableAccount.html]
|
9
|
-
def enable_account(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'enableAccount')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'enableAccount')
|
16
|
-
end
|
17
|
-
request(options)
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Enables an AutoScale Vm Group
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableAutoScaleVmGroup.html]
|
9
|
-
def enable_auto_scale_vm_group(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'enableAutoScaleVmGroup')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'enableAutoScaleVmGroup',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Enable a Cisco Nexus VSM device
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableCiscoNexusVSM.html]
|
9
|
-
def enable_cisco_nexus_vsm(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'enableCiscoNexusVSM')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'enableCiscoNexusVSM',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,69 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Enables static nat for given ip address
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableStaticNat.html]
|
9
|
-
def enable_static_nat(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'enableStaticNat')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'enableStaticNat',
|
16
|
-
'ipaddressid' => args[0],
|
17
|
-
'virtualmachineid' => args[1])
|
18
|
-
end
|
19
|
-
request(options)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
class Mock
|
24
|
-
def enable_static_nat(*args)
|
25
|
-
ip_address_id = nil
|
26
|
-
virtual_machine_id = nil
|
27
|
-
if args[0].is_a? Hash
|
28
|
-
ip_address_id = args[0]['ipaddressid']
|
29
|
-
virtual_machine_id = args[0]['virtualmachineid']
|
30
|
-
else
|
31
|
-
ip_address_id = args[0]
|
32
|
-
virtual_machine_id = args[1]
|
33
|
-
end
|
34
|
-
|
35
|
-
server = self.data[:servers][virtual_machine_id]
|
36
|
-
address = self.data[:public_ip_addresses][ip_address_id]
|
37
|
-
|
38
|
-
unless server
|
39
|
-
raise Fog::Compute::Cloudstack::BadRequest.new(
|
40
|
-
"Unable to execute API command enablestaticnat due to invalid value. \
|
41
|
-
Invalid parameter virtualmachineid value=#{virtual_machine_id} due to incorrect long value format, \
|
42
|
-
or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.")
|
43
|
-
end
|
44
|
-
|
45
|
-
unless address
|
46
|
-
raise Fog::Compute::Cloudstack::BadRequest.new(
|
47
|
-
"Unable to execute API command enablestaticnat due to invalid value. \
|
48
|
-
Invalid parameter ipaddressid value=#{ip_address_id} due to incorrect long value format, \
|
49
|
-
or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.")
|
50
|
-
end
|
51
|
-
|
52
|
-
unless address['virtualmachineid'].nil?
|
53
|
-
raise Fog::Compute::Cloudstack::BadRequest.new(
|
54
|
-
"Failed to enable static nat for the ip address id=#{ip_address_id} \
|
55
|
-
as vm id=#{virtual_machine_id} is already associated with ip id=#{ip_address_id}")
|
56
|
-
end
|
57
|
-
|
58
|
-
address.merge!(
|
59
|
-
'virtualmachineid' => server['id'],
|
60
|
-
'virtualmachinname' => server['name'],
|
61
|
-
'virtualmachinedisplayname' => server['displayname']
|
62
|
-
)
|
63
|
-
{'enablestaticnatresponse' => {'success' => 'true'}}
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Puts storage pool into maintenance state
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableStorageMaintenance.html]
|
9
|
-
def enable_storage_maintenance(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'enableStorageMaintenance')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'enableStorageMaintenance',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Enables a user account
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/enableUser.html]
|
9
|
-
def enable_user(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'enableUser')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'enableUser',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Expunge a virtual machine. Once expunged, it cannot be recoverd.
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/expungeVirtualMachine.html]
|
9
|
-
def expunge_virtual_machine(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'expungeVirtualMachine')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'expungeVirtualMachine',
|
16
|
-
'id' => args[0])
|
17
|
-
end
|
18
|
-
request(options)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
module Fog
|
2
|
-
module Compute
|
3
|
-
class Cloudstack
|
4
|
-
|
5
|
-
class Real
|
6
|
-
# Extracts an ISO
|
7
|
-
#
|
8
|
-
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/extractIso.html]
|
9
|
-
def extract_iso(*args)
|
10
|
-
options = {}
|
11
|
-
if args[0].is_a? Hash
|
12
|
-
options = args[0]
|
13
|
-
options.merge!('command' => 'extractIso')
|
14
|
-
else
|
15
|
-
options.merge!('command' => 'extractIso',
|
16
|
-
'id' => args[0],
|
17
|
-
'mode' => args[1])
|
18
|
-
end
|
19
|
-
request(options)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|