http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/infrastructure_datacenter.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/infrastructure_datacenter.xml b/libcloud/test/compute/fixtures/dimensiondata/infrastructure_datacenter.xml new file mode 100644 index 0000000..4220600 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/infrastructure_datacenter.xml @@ -0,0 +1,188 @@ +<?xml version="1.0" encoding="UTF-8"?> +<datacenters xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="5" totalCount="5" pageSize="250"> + <datacenter id="NA3" type="MCP 1.0"> + <displayName>US - West</displayName> + <city>Santa Clara</city> + <state>California</state> + <country>US</country> + <vpnUrl>https://na3.cloud-vpn.net</vpnUrl> + <ftpsHost>ftps-na.cloud-vpn.net</ftpsHost> + <networking type="1" maintenanceStatus="NORMAL"> + <property name="MAX_SERVER_TO_VIP_CONNECTIONS" value="20"/> + </networking> + <hypervisor type="VMWARE" maintenanceStatus="NORMAL"> + <diskSpeed id="HIGHPERFORMANCE" default="false" available="true"> + <displayName>High Performance</displayName> + <abbreviation>HPF</abbreviation> + <description>Faster than Standard. Uses 15000 RPM disk with Fast Cache.</description> + </diskSpeed> + <diskSpeed id="STANDARD" default="true" available="true"> + <displayName>Standard</displayName> + <abbreviation>STD</abbreviation> + <description>Standard Disk Speed</description> + </diskSpeed> + <diskSpeed id="ECONOMY" default="false" available="true"> + <displayName>Economy</displayName> + <abbreviation>ECN</abbreviation> + <description>Slower than Standard. Uses 7200 RPM disk without Fast Cache.</description> + </diskSpeed> + <property name="MIN_DISK_SIZE_GB" value="10"/> + <property name="MAX_DISK_SIZE_GB" value="1000"/> + <property name="MAX_TOTAL_ADDITIONAL_STORAGE_GB" value="10000"/> + <property name="MAX_TOTAL_IMAGE_STORAGE_GB" value="2600"/> + <property name="MAX_CPU_COUNT" value="16"/> + <property name="MIN_MEMORY_MB" value="1024"/> + <property name="MAX_MEMORY_MB" value="131072"/> + </hypervisor> + <backup type="COMMVAULT" maintenanceStatus="NORMAL"/> + <consoleAccess maintenanceStatus="NORMAL"/> + <monitoring maintenanceStatus="NORMAL"/> + </datacenter> + <datacenter id="NA1" type="MCP 1.0"> + <displayName>US - East</displayName> + <city>Ashburn</city> + <state>Virginia</state> + <country>US</country> + <vpnUrl>https://na1.cloud-vpn.net</vpnUrl> + <ftpsHost>ftps-na.cloud-vpn.net</ftpsHost> + <networking type="1" maintenanceStatus="NORMAL"> + <property name="MAX_SERVER_TO_VIP_CONNECTIONS" value="20"/> + </networking> + <hypervisor type="VMWARE" maintenanceStatus="NORMAL"> + <diskSpeed id="STANDARD" default="true" available="true"> + <displayName>Standard</displayName> + <abbreviation>STD</abbreviation> + <description>Standard Disk Speed</description> + </diskSpeed> + <property name="MIN_DISK_SIZE_GB" value="10"/> + <property name="MAX_DISK_SIZE_GB" value="1000"/> + <property name="MAX_TOTAL_ADDITIONAL_STORAGE_GB" value="10000"/> + <property name="MAX_TOTAL_IMAGE_STORAGE_GB" value="2600"/> + <property name="MAX_CPU_COUNT" value="8"/> + <property name="MIN_MEMORY_MB" value="1024"/> + <property name="MAX_MEMORY_MB" value="65536"/> + </hypervisor> + <backup type="COMMVAULT" maintenanceStatus="NORMAL"/> + <consoleAccess maintenanceStatus="NORMAL"/> + <monitoring maintenanceStatus="NORMAL"/> + </datacenter> + <datacenter id="NA5" type="MCP 1.0"> + <displayName>US - East 2</displayName> + <city>Ashburn</city> + <state>Virginia</state> + <country>US</country> + <vpnUrl>https://na5.cloud-vpn.net</vpnUrl> + <ftpsHost>ftps-na.cloud-vpn.net</ftpsHost> + <networking type="1" maintenanceStatus="NORMAL"> + <property name="MAX_SERVER_TO_VIP_CONNECTIONS" value="20"/> + </networking> + <hypervisor type="VMWARE" maintenanceStatus="NORMAL"> + <diskSpeed id="HIGHPERFORMANCE" default="false" available="true"> + <displayName>High Performance</displayName> + <abbreviation>HPF</abbreviation> + <description>Faster than Standard. Uses 15000 RPM disk with Fast Cache.</description> + </diskSpeed> + <diskSpeed id="STANDARD" default="true" available="true"> + <displayName>Standard</displayName> + <abbreviation>STD</abbreviation> + <description>Standard Disk Speed</description> + </diskSpeed> + <diskSpeed id="ECONOMY" default="false" available="true"> + <displayName>Economy</displayName> + <abbreviation>ECN</abbreviation> + <description>Slower than Standard. Uses 7200 RPM disk without Fast Cache.</description> + </diskSpeed> + <property name="MIN_DISK_SIZE_GB" value="10"/> + <property name="MAX_DISK_SIZE_GB" value="1000"/> + <property name="MAX_TOTAL_ADDITIONAL_STORAGE_GB" value="10000"/> + <property name="MAX_TOTAL_IMAGE_STORAGE_GB" value="2600"/> + <property name="MAX_CPU_COUNT" value="16"/> + <property name="MIN_MEMORY_MB" value="1024"/> + <property name="MAX_MEMORY_MB" value="131072"/> + </hypervisor> + <backup type="COMMVAULT" maintenanceStatus="NORMAL"/> + <consoleAccess maintenanceStatus="NORMAL"/> + <monitoring maintenanceStatus="NORMAL"/> + </datacenter> + <datacenter id="NA9" type="MCP 2.0"> + <displayName>US - East 3 - MCP 2.0</displayName> + <city>Ashburn</city> + <state>Virginia</state> + <country>US</country> + <vpnUrl>https://na9.cloud-vpn.net</vpnUrl> + <ftpsHost>ftps-na.cloud-vpn.net</ftpsHost> + <networking type="2" maintenanceStatus="NORMAL"> + <property name="MAX_NODE_CONNECTION_LIMIT" value="100000"/> + <property name="MAX_NODE_CONNECTION_RATE_LIMIT" value="4000"/> + <property name="MAX_VIRTUAL_LISTENER_CONNECTION_LIMIT" value="100000"/> + <property name="MAX_VIRTUAL_LISTENER_CONNECTION_RATE_LIMIT" value="4000"/> + </networking> + <hypervisor type="VMWARE" maintenanceStatus="NORMAL"> + <diskSpeed id="STANDARD" default="true" available="true"> + <displayName>Standard</displayName> + <abbreviation>STD</abbreviation> + <description>Standard Disk Speed</description> + </diskSpeed> + <diskSpeed id="HIGHPERFORMANCE" default="false" available="true"> + <displayName>High Performance</displayName> + <abbreviation>HPF</abbreviation> + <description>Faster than Standard. Uses 15000 RPM disk with Fast Cache.</description> + </diskSpeed> + <diskSpeed id="ECONOMY" default="false" available="true"> + <displayName>Economy</displayName> + <abbreviation>ECN</abbreviation> + <description>Slower than Standard. Uses 7200 RPM disk without Fast Cache.</description> + </diskSpeed> + <property name="MIN_DISK_SIZE_GB" value="10"/> + <property name="MAX_DISK_SIZE_GB" value="1000"/> + <property name="MAX_TOTAL_ADDITIONAL_STORAGE_GB" value="14000"/> + <property name="MAX_TOTAL_IMAGE_STORAGE_GB" value="2600"/> + <property name="MAX_CPU_COUNT" value="32"/> + <property name="MIN_MEMORY_MB" value="1024"/> + <property name="MAX_MEMORY_MB" value="262144"/> + </hypervisor> + <backup type="COMMVAULT" maintenanceStatus="NORMAL"/> + <consoleAccess maintenanceStatus="NORMAL"/> + <monitoring maintenanceStatus="NORMAL"/> + </datacenter> + <datacenter id="NA12" type="MCP 2.0"> + <displayName>US - West - MCP 2.0</displayName> + <city>Santa Clara</city> + <state>California</state> + <country>US</country> + <vpnUrl>https://na12.cloud-vpn.net</vpnUrl> + <ftpsHost>ftps-na.cloud-vpn.net</ftpsHost> + <networking type="2" maintenanceStatus="NORMAL"> + <property name="MAX_NODE_CONNECTION_LIMIT" value="100000"/> + <property name="MAX_NODE_CONNECTION_RATE_LIMIT" value="4000"/> + <property name="MAX_VIRTUAL_LISTENER_CONNECTION_LIMIT" value="100000"/> + <property name="MAX_VIRTUAL_LISTENER_CONNECTION_RATE_LIMIT" value="4000"/> + </networking> + <hypervisor type="VMWARE" maintenanceStatus="NORMAL"> + <diskSpeed id="STANDARD" default="true" available="true"> + <displayName>Standard</displayName> + <abbreviation>STD</abbreviation> + <description>Standard Disk Speed</description> + </diskSpeed> + <diskSpeed id="HIGHPERFORMANCE" default="false" available="true"> + <displayName>High Performance</displayName> + <abbreviation>HPF</abbreviation> + <description>Faster than Standard. Uses 15000 RPM disk with Fast Cache.</description> + </diskSpeed> + <diskSpeed id="ECONOMY" default="false" available="true"> + <displayName>Economy</displayName> + <abbreviation>ECN</abbreviation> + <description>Slower than Standard. Uses 7200 RPM disk without Fast Cache.</description> + </diskSpeed> + <property name="MIN_DISK_SIZE_GB" value="10"/> + <property name="MAX_DISK_SIZE_GB" value="1000"/> + <property name="MAX_TOTAL_ADDITIONAL_STORAGE_GB" value="14000"/> + <property name="MAX_TOTAL_IMAGE_STORAGE_GB" value="2600"/> + <property name="MAX_CPU_COUNT" value="32"/> + <property name="MIN_MEMORY_MB" value="1024"/> + <property name="MAX_MEMORY_MB" value="262144"/> + </hypervisor> + <consoleAccess maintenanceStatus="NORMAL"/> + <monitoring maintenanceStatus="NORMAL"/> + </datacenter> +</datacenters> \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/infrastructure_datacenter_NA9.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/infrastructure_datacenter_NA9.xml b/libcloud/test/compute/fixtures/dimensiondata/infrastructure_datacenter_NA9.xml new file mode 100644 index 0000000..396ad10 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/infrastructure_datacenter_NA9.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<datacenters xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="1" totalCount="1" pageSize="250"> + <datacenter id="NA9" type="MCP 2.0"> + <displayName>US - East 3 - MCP 2.0</displayName> + <city>Ashburn</city> + <state>Virginia</state> + <country>US</country> + <vpnUrl>https://na9.cloud-vpn.net</vpnUrl> + <ftpsHost>ftps-na.cloud-vpn.net</ftpsHost> + <networking type="2" maintenanceStatus="NORMAL"> + <property name="MAX_NODE_CONNECTION_LIMIT" value="100000"/> + <property name="MAX_NODE_CONNECTION_RATE_LIMIT" value="4000"/> + <property name="MAX_VIRTUAL_LISTENER_CONNECTION_LIMIT" value="100000"/> + <property name="MAX_VIRTUAL_LISTENER_CONNECTION_RATE_LIMIT" value="4000"/> + </networking> + <hypervisor type="VMWARE" maintenanceStatus="NORMAL"> + <diskSpeed id="STANDARD" default="true" available="true"> + <displayName>Standard</displayName> + <abbreviation>STD</abbreviation> + <description>Standard Disk Speed</description> + </diskSpeed> + <diskSpeed id="HIGHPERFORMANCE" default="false" available="true"> + <displayName>High Performance</displayName> + <abbreviation>HPF</abbreviation> + <description>Faster than Standard. Uses 15000 RPM disk with Fast Cache.</description> + </diskSpeed> + <diskSpeed id="ECONOMY" default="false" available="true"> + <displayName>Economy</displayName> + <abbreviation>ECN</abbreviation> + <description>Slower than Standard. Uses 7200 RPM disk without Fast Cache.</description> + </diskSpeed> + <cpuSpeed id="STANDARD" default="true" available="true"> + <displayName>Standard</displayName> + <description>Standard CPU Speed</description> + </cpuSpeed> + <cpuSpeed id="HIGHPERFORMANCE" default="false" available="true"> + <displayName>High Performance</displayName> + <description>Faster and more consistent than Standard. Suitable for applications that are more CPU intensive.</description> + </cpuSpeed> + <property name="MIN_DISK_SIZE_GB" value="10"/> + <property name="MAX_DISK_SIZE_GB" value="1000"/> + <property name="MAX_TOTAL_ADDITIONAL_STORAGE_GB" value="14000"/> + <property name="MAX_TOTAL_IMAGE_STORAGE_GB" value="2600"/> + <property name="MAX_CPU_COUNT" value="32"/> + <property name="MIN_MEMORY_GB" value="1"/> + <property name="MAX_MEMORY_GB" value="256"/> + <property name="VMWARE_HARDWARE_VERSION" value="vmx-10"/> + <property name="VLAN_SECURITY_GROUPS_ENABLED" value="false"/> + </hypervisor> + <backup type="COMMVAULT" maintenanceStatus="NORMAL"/> + <consoleAccess maintenanceStatius="NORMAL"/> + <monitoring maintenanceStatus="NORMAL"/> + </datacenter> +</datacenters> http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_addPublicIpBlock.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_addPublicIpBlock.xml b/libcloud/test/compute/fixtures/dimensiondata/network_addPublicIpBlock.xml new file mode 100644 index 0000000..5555132 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_addPublicIpBlock.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response xmlns="urn:didata.com:api:cloud:types" requestId="na/2015-12-20T16:59:48.842-05:00/28d362bb-249c-42b6-9236-ddd8729f332c"> + <operation>ADD_PUBLIC_IP_BLOCK</operation> + <responseCode>OK</responseCode> + <message>Public IPv4 Address Block has been added successfully to Network Domain d3320077-c2ce-4523-8c65-d417e766077b.</message> + <info name="ipBlockId" value="4487241a-f0ca-11e3-9315-d4bed9b167ba"/> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_createFirewallRule.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_createFirewallRule.xml b/libcloud/test/compute/fixtures/dimensiondata/network_createFirewallRule.xml new file mode 100644 index 0000000..ac3162e --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_createFirewallRule.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03-06T02:28:56.679-05:00/1003070b-dea9-41bd-9f0c-5c24086589b8"> +<operation>CREATE_FIREWALL_RULE</operation> +<responseCode>OK</responseCode> +<message>Request create Firewall Rule 'My.Rule.2' successful</message> +<info name="firewallRuleId" value="d0a20f59-77b9-4f28-a63b-e58496b73a6c"/> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_createNatRule.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_createNatRule.xml b/libcloud/test/compute/fixtures/dimensiondata/network_createNatRule.xml new file mode 100644 index 0000000..ff652a4 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_createNatRule.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03-06T05:53:37.334-05:00/fb842265-fa06-4ca9-a2af-a8a6815735fc"> +<operation>CREATE_NAT_RULE</operation> +<responseCode>OK</responseCode> +<message>NAT Rule with Id d31c2db0-be6b-4d50-8744-9a7a534b5fba has been +created.</message> +<info name="natRuleId" value="d31c2db0-be6b-4d50-8744-9a7a534b5fba"/> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_deleteFirewallRule.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_deleteFirewallRule.xml b/libcloud/test/compute/fixtures/dimensiondata/network_deleteFirewallRule.xml new file mode 100644 index 0000000..3016297 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_deleteFirewallRule.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response requestId="NA9/2015-03-06T04:49:42.721-05:00/f69f1106-0df7-4614-b517-844ce29013e4" +xmlns="urn:didata.com:api:cloud:types"> +<operation>DELETE_FIREWALL_RULE</operation> +<responseCode>OK</responseCode> +<message>Firewall Rule (Id:84e34850-595d-436e-a885-7cd37edb24a4) has been +deleted</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_deleteNatRule.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_deleteNatRule.xml b/libcloud/test/compute/fixtures/dimensiondata/network_deleteNatRule.xml new file mode 100644 index 0000000..2d2cebc --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_deleteNatRule.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03-06T12:24:57.820-05:00/5974fe37-bac5-4345-8a88-4c93a874bf4a"> +<operation>DELETE_NAT_RULE</operation> +<responseCode>OK</responseCode> +<message>NAT Rule with Id 2187a636-7ebb-49a1-a2ff-5d617f496dce has been +deleted.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_deleteNetworkDomain.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_deleteNetworkDomain.xml b/libcloud/test/compute/fixtures/dimensiondata/network_deleteNetworkDomain.xml new file mode 100644 index 0000000..a3cca2e --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_deleteNetworkDomain.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-02-24T10:19:41.471-05:00/27083502-a2ea-4331-b0cb-c2a11bb044b0"> +<operation>DELETE_NETWORK_DOMAIN</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to Delete Network Domain (Id: 8cdfd607-f429-4df6-9352- +162cfc0891be) has been accepted and is being processed</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_deleteVlan.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_deleteVlan.xml b/libcloud/test/compute/fixtures/dimensiondata/network_deleteVlan.xml new file mode 100644 index 0000000..9eae809 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_deleteVlan.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response requestId="NA9/2014-04-14T13:37:20/62f06368-c3fb-11e3-b29c-001517c4643e" +xmlns="urn:didata.com:api:cloud:types"> +<operation>DELETE_VLAN</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to Delete VLAN (Id:0e56433f-d808-4669-821d-812769517ff8) +has been accepted and is being processed</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_deployNetworkDomain.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_deployNetworkDomain.xml b/libcloud/test/compute/fixtures/dimensiondata/network_deployNetworkDomain.xml new file mode 100644 index 0000000..4269840 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_deployNetworkDomain.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response requestId="na/2015-01-14T13:37:20/62f06368-c3fb-11e3-b29c-001517c4643e" xmlns="urn:didata.com:api:cloud:types"> +<operation>DEPLOY_NETWORK_DOMAIN</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to Deploy Network Domain 'A Network Domain' has been +accepted and is being processed</message> +<info name="networkDomainId" value="f14a871f-9a25-470c-aef8-51e13202e1aa"/> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_deployVlan.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_deployVlan.xml b/libcloud/test/compute/fixtures/dimensiondata/network_deployVlan.xml new file mode 100644 index 0000000..946a505 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_deployVlan.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-02-13T05:58:00.905-05:00/04a82e12-2d51-420e-84f5-bf2630c5a5e5"> +<operation>DEPLOY_VLAN</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to deploy VLAN 'Production VLAN' has been accepted and is +being processed.</message> +<info name="vlanId" value="0e56433f_d808_4669_821d_812769517ff8"/> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_editFirewallRule.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_editFirewallRule.xml b/libcloud/test/compute/fixtures/dimensiondata/network_editFirewallRule.xml new file mode 100644 index 0000000..eff18c4 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_editFirewallRule.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03-06T03:34:21.951-05:00/d7e37b41-ceff-4a8c-992d-a0220b8ebd76"> +<operation>EDIT_FIREWALL_RULE</operation> +<responseCode>OK</responseCode> +<message>Firewall Rule with id 1aa3d0ce-d95d-4296-8338-9717e0d37ff9 has +been edited</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_editNetworkDomain.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_editNetworkDomain.xml b/libcloud/test/compute/fixtures/dimensiondata/network_editNetworkDomain.xml new file mode 100644 index 0000000..07d55e5 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_editNetworkDomain.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-02-24T09:05:41.790-05:00/b24cbc7d-0648-4070-889f-7ab97bf21941"> +<operation>EDIT_NETWORK_DOMAIN</operation> +<responseCode>OK</responseCode> +<message>Network Domain 'Development Network Domain' was edited +successfully.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_editVlan.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_editVlan.xml b/libcloud/test/compute/fixtures/dimensiondata/network_editVlan.xml new file mode 100644 index 0000000..10d0010 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_editVlan.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-02-25T06:55:10.939-05:00/0593b9af-6b0c-4e5b-8e74-57b0e752f2bf"> +<operation>EDIT_VLAN</operation> +<responseCode>OK</responseCode> +<message>VLAN 'test' was edited successfully</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_expandVlan.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_expandVlan.xml b/libcloud/test/compute/fixtures/dimensiondata/network_expandVlan.xml new file mode 100644 index 0000000..03f9112 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_expandVlan.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-02-13T05:58:00.905-05:00/04a82e12-2d51-420e-84f5-bf2630c5a5e5"> +<operation>EXPAND_VLAN</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to expand VLAN 'Production VLAN' has been accepted and is +being processed.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_firewallRule.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_firewallRule.xml b/libcloud/test/compute/fixtures/dimensiondata/network_firewallRule.xml new file mode 100644 index 0000000..536b350 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_firewallRule.xml @@ -0,0 +1,273 @@ +<?xml version="1.0" encoding="UTF-8"?> +<firewallRules xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="13" totalCount="13" pageSize="50"> + <firewallRule id="756cba02-b0bc-48f4-aea5-9445870b6148" datacenterId="NA9" ruleType="DEFAULT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>CCDEFAULT.BlockOutboundMailIPv4</name> + <action>DROP</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="ANY"/> + <port begin="25"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="8ffbe8c1-e545-424b-bfcc-e25c2017537d" datacenterId="NA9" ruleType="DEFAULT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>CCDEFAULT.BlockOutboundMailIPv4Secure</name> + <action>DROP</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="ANY"/> + <port begin="587"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="f93b5139-402b-45c5-af80-aa00e311572e" datacenterId="NA9" ruleType="DEFAULT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>CCDEFAULT.BlockOutboundMailIPv6</name> + <action>DROP</action> + <ipVersion>IPV6</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="ANY"/> + <port begin="25"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="83ade810-3983-4009-a250-155c5ab47f54" datacenterId="NA9" ruleType="DEFAULT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>CCDEFAULT.BlockOutboundMailIPv6Secure</name> + <action>DROP</action> + <ipVersion>IPV6</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="ANY"/> + <port begin="587"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="cc9e1475-9218-484d-af5f-aba5c9a37c2d" datacenterId="NA9" ruleType="DEFAULT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>CCDEFAULT.DenyExternalInboundIPv6</name> + <action>DROP</action> + <ipVersion>IPV6</ipVersion> + <protocol>IP</protocol> + <source> + <ip address="EXTERNAL_IPV6"/> + </source> + <destination> + <ip address="ANY"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="a23db203-99c9-42de-9dce-3a97724b7d4d" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>AllowOctopusTentacleComms6</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV6</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="2607:f480:111:1336:6503:544c:74a6:3a28"/> + <port begin="10933"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="bc26b74f-9b52-4923-8eda-7fc434759611" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>AllowOctopusComms4</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="ANY"/> + <port begin="10933"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="0bb8cc91-75fd-48a1-b9f8-1d728dabbca1" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>AllowHTTPSinbound</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="ANY"/> + <port begin="443"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="38ff959f-58c5-47b9-af6b-568a23e3c299" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>AllowHTTPSinbound6</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV6</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="2607:f480:111:1336:6503:544c:74a6:3a28"/> + <port begin="443"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="04159804-e48c-40b5-80f5-48c40d1b7f2f" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>Allow8843Inbound</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="ANY"/> + <port begin="8443"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="4250d8db-db42-4e40-acb0-672ec1a1af1b" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>Allow9443Inbound</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="ANY"/> + <port begin="9443"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="f0119d2f-e891-44ee-af89-76122b4be219" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>Allow9443Inbound6</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV6</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="2607:f480:111:1336:6503:544c:74a6:3a28"/> + <port begin="8443"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="b976e0e6-4fb2-4f3e-a016-652e02d191b4" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>AllowSTSInbound6</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV6</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="ANY"/> + </source> + <destination> + <ip address="2607:f480:111:1336:6503:544c:74a6:3a28"/> + <port begin="9443"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="b976e0e6-4fb2-4f3e-a016-652e02d211b4" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>b30c224c-c95b-4cd9-bb8b-bfdfb5486abf</networkDomainId> + <name>SpecificSourceIP</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV6</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="2607:f480:111:1336:6503:544c:74a6:3a28"/> + </source> + <destination> + <ip address="ANY"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="ce250bd3-0e45-4c13-a6d2-74e0657ef699" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>423c4386-87b4-43c4-9604-88ae237bfc7f</networkDomainId> + <name>RULE_WITH_SOURCE_AND_DEST_IP_ONLY</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="10.10.10.15"/> + </source> + <destination> + <ip address="10.10.10.14"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="ce250bd3-0e45-4c13-a6d2-74e0657ef699" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>423c4386-87b4-43c4-9604-88ae237bfc7f</networkDomainId> + <name>RULE_WITH_DEST_IP_NO_PORT</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="10.10.10.15"/> + </source> + <destination> + <ip address="10.10.10.14"/> + <port begin="40000" end="40005"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> + <firewallRule id="ce250bd3-0e45-4c13-a6d2-74e0657ef700" datacenterId="NA9" ruleType="CLIENT_RULE"> + <networkDomainId>423c4386-87b4-43c4-9604-88ae237bfc7f</networkDomainId> + <name>RULE_WITH_SOURCE_AND_DEST</name> + <action>ACCEPT_DECISIVELY</action> + <ipVersion>IPV4</ipVersion> + <protocol>TCP</protocol> + <source> + <ip address="10.10.10.0" prefixSize="24"/> + <port begin="40000" end="40005"/> + </source> + <destination> + <ip address="10.10.10.0" prefixSize="24"/> + <port begin="40000"/> + </destination> + <enabled>true</enabled> + <state>NORMAL</state> + </firewallRule> +</firewallRules> http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_firewallRule_d0a20f59_77b9_4f28_a63b_e58496b73a6c.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_firewallRule_d0a20f59_77b9_4f28_a63b_e58496b73a6c.xml b/libcloud/test/compute/fixtures/dimensiondata/network_firewallRule_d0a20f59_77b9_4f28_a63b_e58496b73a6c.xml new file mode 100644 index 0000000..876f37d --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_firewallRule_d0a20f59_77b9_4f28_a63b_e58496b73a6c.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<firewallRule +xmlns="urn:didata.com:api:cloud:types" id="d0a20f59-77b9-4f28-a63b-e58496b73a6c" datacenterId="NA9" ruleType="DEFAULT_RULE"> +<networkDomainId>8cdfd607-f429-4df6-9352-162cfc0891be</networkDomainId> +<name>CCDEFAULT.BlockOutboundMailIPv4</name> +<action>DROP</action> +<ipVersion>IPV4</ipVersion> +<protocol>TCP</protocol> +<source> +<ip address="ANY"/> +</source> +<destination> +<ip address="ANY"/> +<port begin="25"/> +</destination> +<enabled>true</enabled> +<state>NORMAL</state> +</firewallRule> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_natRule.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_natRule.xml b/libcloud/test/compute/fixtures/dimensiondata/network_natRule.xml new file mode 100644 index 0000000..7478df6 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_natRule.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<natRules +xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="2" +totalCount="2" pageSize="250"> +<natRule id="2187a636-7ebb-49a1-a2ff-5d617f496dce" datacenterId="NA9"> +<networkDomainId>484174a2-ae74-4658-9e56- +50fc90e086cf</networkDomainId> +<internalIp>10.0.0.15</internalIp> +<externalIp>165.180.12.18</externalIp> +<createTime>2015-03-06T13:43:45.000Z</createTime> +<state>NORMAL</state> +</natRule> +<natRule id="2169a38e-5692-497e-a22a-701a838a6539" datacenterId="NA9"> +<networkDomainId>484174a2-ae74-4658-9e56- +50fc90e086cf</networkDomainId> +<internalIp>10.0.0.16</internalIp> +<externalIp>165.180.12.19</externalIp> +<createTime>2015-03-06T13:45:10.000Z</createTime> +<state>NORMAL</state> +</natRule> +</natRules> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_natRule_2187a636_7ebb_49a1_a2ff_5d617f496dce.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_natRule_2187a636_7ebb_49a1_a2ff_5d617f496dce.xml b/libcloud/test/compute/fixtures/dimensiondata/network_natRule_2187a636_7ebb_49a1_a2ff_5d617f496dce.xml new file mode 100644 index 0000000..6bf447d --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_natRule_2187a636_7ebb_49a1_a2ff_5d617f496dce.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<natRule +xmlns="urn:didata.com:api:cloud:types" id="2187a636-7ebb-49a1-a2ff-5d617f496dce" datacenterId="NA9"> +<networkDomainId>484174a2-ae74-4658-9e56-50fc90e086cf</networkDomainId> +<internalIp>10.0.0.16</internalIp> +<externalIp>165.180.12.19</externalIp> +<createTime>2015-03-06T13:45:10.000Z</createTime> +<state>NORMAL</state> +</natRule> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_networkDomain.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_networkDomain.xml b/libcloud/test/compute/fixtures/dimensiondata/network_networkDomain.xml new file mode 100644 index 0000000..cb7a078 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_networkDomain.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<networkDomains xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="5" totalCount="5" pageSize="250"> + <networkDomain id="b30c224c-c95b-4cd9-bb8b-bfdfb5486abf" datacenterId="NA9"> + <name>Aurora</name> + <description>Project Aurora Demo Environments</description> + <type>ADVANCED</type> + <snatIpv4Address>168.128.2.136</snatIpv4Address> + <createTime>2015-07-13T03:52:16.000Z</createTime> + <state>NORMAL</state> + </networkDomain> + <networkDomain id="b74444b5-ad7d-4ed1-a9e0-02aab80f7858" datacenterId="NA12"> + <name>Test net domain</name> + <description>description of my network</description> + <type>ESSENTIALS</type> + <snatIpv4Address>168.128.26.20</snatIpv4Address> + <createTime>2015-07-15T03:36:00.000Z</createTime> + <state>NORMAL</state> + </networkDomain> + <networkDomain id="2122a8c3-cefe-4a3d-afb4-44bc159266c7" datacenterId="NA12"> + <name>another networkj</name> + <description>net network netowkrm</description> + <type>ESSENTIALS</type> + <snatIpv4Address>168.128.26.22</snatIpv4Address> + <createTime>2015-07-15T03:40:09.000Z</createTime> + <state>NORMAL</state> + </networkDomain> + <networkDomain id="d3320077-c2ce-4523-8c65-d417e766077b" datacenterId="NA9"> + <name>Imports</name> + <description>Imported servers</description> + <type>ADVANCED</type> + <snatIpv4Address>168.128.2.69</snatIpv4Address> + <createTime>2015-08-18T03:53:02.000Z</createTime> + <state>NORMAL</state> + </networkDomain> + <networkDomain id="68a60a3c-030d-4d4b-a8fd-4a6991afc27b" datacenterId="NA9"> + <name>Platform R2.0 Lab (MCP 2.0)</name> + <description>This is the R2.0 lab for Platform on MCP 2.0</description> + <type>ESSENTIALS</type> + <snatIpv4Address>168.128.2.149</snatIpv4Address> + <createTime>2015-08-25T01:39:22.000Z</createTime> + <state>NORMAL</state> + </networkDomain> +</networkDomains> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_networkDomain_8cdfd607_f429_4df6_9352_162cfc0891be.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_networkDomain_8cdfd607_f429_4df6_9352_162cfc0891be.xml b/libcloud/test/compute/fixtures/dimensiondata/network_networkDomain_8cdfd607_f429_4df6_9352_162cfc0891be.xml new file mode 100644 index 0000000..bdd1c6b --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_networkDomain_8cdfd607_f429_4df6_9352_162cfc0891be.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<networkDomain xmlns="urn:didata.com:api:cloud:types" id="8cdfd607-f429-4df6-9352-162cfc0891be" datacenterId="NA12"> + <name>test</name> + <description>test2</description> + <type>ESSENTIALS</type> + <snatIpv4Address>168.128.26.20</snatIpv4Address> + <createTime>2015-07-15T03:36:00.000Z</createTime> + <state>NORMAL</state> +</networkDomain> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock.xml b/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock.xml new file mode 100644 index 0000000..3a1c1b3 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<publicIpBlocks xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="1" totalCount="1" pageSize="250"> + <publicIpBlock id="9945dc4a-bdce-11e4-8c14-b8ca3a5d9ef8" datacenterId="NA9"> + <networkDomainId>8cdfd607-f429-4df6-9352-162cfc0891be</networkDomainId> + <baseIp>168.128.4.18</baseIp> + <size>2</size> + <createTime>2015-07-13T04:07:37.000Z</createTime> + <state>NORMAL</state> + </publicIpBlock> +</publicIpBlocks> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock_4487241a_f0ca_11e3_9315_d4bed9b167ba.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock_4487241a_f0ca_11e3_9315_d4bed9b167ba.xml b/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock_4487241a_f0ca_11e3_9315_d4bed9b167ba.xml new file mode 100644 index 0000000..dc8814b --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock_4487241a_f0ca_11e3_9315_d4bed9b167ba.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<publicIpBlock xmlns="urn:didata.com:api:cloud:types" id="9945dc4a-bdce-11e4-8c14-b8ca3a5d9ef8" datacenterId="NA9"> + <networkDomainId>8cdfd607-f429-4df6-9352-162cfc0891be</networkDomainId> + <baseIp>168.128.4.18</baseIp> + <size>2</size> + <createTime>2015-07-13T04:07:37.000Z</createTime> + <state>NORMAL</state> +</publicIpBlock> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock_9945dc4a_bdce_11e4_8c14_b8ca3a5d9ef8.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock_9945dc4a_bdce_11e4_8c14_b8ca3a5d9ef8.xml b/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock_9945dc4a_bdce_11e4_8c14_b8ca3a5d9ef8.xml new file mode 100644 index 0000000..dc8814b --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_publicIpBlock_9945dc4a_bdce_11e4_8c14_b8ca3a5d9ef8.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<publicIpBlock xmlns="urn:didata.com:api:cloud:types" id="9945dc4a-bdce-11e4-8c14-b8ca3a5d9ef8" datacenterId="NA9"> + <networkDomainId>8cdfd607-f429-4df6-9352-162cfc0891be</networkDomainId> + <baseIp>168.128.4.18</baseIp> + <size>2</size> + <createTime>2015-07-13T04:07:37.000Z</createTime> + <state>NORMAL</state> +</publicIpBlock> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_removePublicIpBlock.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_removePublicIpBlock.xml b/libcloud/test/compute/fixtures/dimensiondata/network_removePublicIpBlock.xml new file mode 100644 index 0000000..8b6fe34 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_removePublicIpBlock.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-02-27T09:31:34.239-05:00/3e762559-c7f5-4d2b-abab-63306d406aa1"> +<operation>REMOVE_PUBLIC_IP_BLOCK</operation> +<responseCode>OK</responseCode> +<message>Public Ip Block bef4334a-844b-11e4-a91c-0030487e0302 has been +removed successfully</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_vlan.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_vlan.xml b/libcloud/test/compute/fixtures/dimensiondata/network_vlan.xml new file mode 100644 index 0000000..4575d83 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_vlan.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<vlans xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="4" totalCount="4" pageSize="250"> + <vlan id="55b236ad-9119-4b48-a1bb-cf5c76a7ac0f" datacenterId="NA9"> + <networkDomain id="8cdfd607-f429-4df6-9352-162cfc0891be" name="Aurora"/> + <name>Primary</name> + <description></description> + <privateIpv4Range address="10.0.0.0" prefixSize="24"/> + <ipv4GatewayAddress>10.0.0.1</ipv4GatewayAddress> + <ipv6Range address="2607:f480:111:1336:0:0:0:0" prefixSize="64"/> + <ipv6GatewayAddress>2607:f480:111:1336:0:0:0:1</ipv6GatewayAddress> + <createTime>2015-07-13T03:52:45.000Z</createTime> + <state>NORMAL</state> + </vlan> + <vlan id="7ede3b25-2222-4285-ab61-21ffb137a763" datacenterId="NA9"> + <networkDomain id="8cdfd607-f429-4df6-9352-162cfc0891be" name="Imports"/> + <name>Wi-Fi</name> + <description>Wi-Fi</description> + <privateIpv4Range address="10.230.98.0" prefixSize="24"/> + <ipv4GatewayAddress>10.230.98.1</ipv4GatewayAddress> + <ipv6Range address="2607:f480:111:1199:0:0:0:0" prefixSize="64"/> + <ipv6GatewayAddress>2607:f480:111:1199:0:0:0:1</ipv6GatewayAddress> + <createTime>2015-08-18T23:47:04.000Z</createTime> + <state>NORMAL</state> + </vlan> +</vlans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/network_vlan_0e56433f_d808_4669_821d_812769517ff8.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/network_vlan_0e56433f_d808_4669_821d_812769517ff8.xml b/libcloud/test/compute/fixtures/dimensiondata/network_vlan_0e56433f_d808_4669_821d_812769517ff8.xml new file mode 100644 index 0000000..7dcd5cc --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/network_vlan_0e56433f_d808_4669_821d_812769517ff8.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<vlan +xmlns="urn:didata.com:api:cloud:types" id="0e56433f-d808-4669-821d-812769517ff8" datacenterId="NA9"> +<networkDomain id="8cdfd607-f429-4df6-9352-162cfc0891be" name="Production +Network Domain"/> +<name>Production VLAN</name> +<description>test2</description> +<privateIpv4Range address="10.0.3.0" prefixSize="24"/> +<ipv4GatewayAddress>10.0.3.1</ipv4GatewayAddress> +<ipv6Range address="2607:f480:1111:1153:0:0:0:0" prefixSize="64"/> +<ipv6GatewayAddress>2607:f480:1111:1153:0:0:0:1</ipv6GatewayAddress> +<createTime>2015-02-13T10:56:44.000Z</createTime> +<state>NORMAL</state> +</vlan> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/report_usageMonitoring.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/report_usageMonitoring.xml b/libcloud/test/compute/fixtures/dimensiondata/report_usageMonitoring.xml new file mode 100644 index 0000000..dc32d95 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/report_usageMonitoring.xml @@ -0,0 +1,8 @@ +Date,Location,Server,Server ID,Essentials Monitoring Hours,Advanced Monitoring +Hours +2/24/15,NA5,Server A,5a2378ba-11de-11e5-ad2a-ca9798323470,14.25,0 +2/24/15,NA5,Server B,6330a644-11de-11e5-ad2a-ca9798323470,0,8.64 +2/25/15,NA5,Server A,5a2378ba-11de-11e5-ad2a-ca9798323470,24,0 +2/25/15,NA5,Server B,6330a644-11de-11e5-ad2a-ca9798323470,0,24 +2/26/15,NA5,Server A,5a2378ba-11de-11e5-ad2a-ca9798323470,17.59,6.41 +2/26/15,NA5,Server B,6330a644-11de-11e5-ad2a-ca9798323470,2.11,21.89 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_addNic.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_addNic.xml b/libcloud/test/compute/fixtures/dimensiondata/server_addNic.xml new file mode 100644 index 0000000..56eeb02 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_addNic.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03-08T06:17:52.133-04:00/70e7458c-038c-4819-a1de-90d15007c2f5"> +<operation>ADD_NIC</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>The request to add NIC for VLAN 'Subsystem VLAN' on Server +'Production Mail Server' has been accepted and is being processed..</message> +<info name="nicId" value="a202e51b-41c0-4cfc-add0-b1c62fc0ecf6"/> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_antiAffinityRule_list.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_antiAffinityRule_list.xml b/libcloud/test/compute/fixtures/dimensiondata/server_antiAffinityRule_list.xml new file mode 100644 index 0000000..290b7e4 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_antiAffinityRule_list.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<antiAffinityRules xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="2" totalCount="2" pageSize="250"> + <antiAffinityRule id="07e3621a-a920-4a9a-943c-d8021f27f418" state="NORMAL" created="2016-03-24T00:03:27.000Z" datacenterId="NA9"> + <serverSummary id="22f3544a-c874-4930-a31c-e9e513e51114"> + <name>ansible-test-image-rhel6</name> + <description>my new node</description> + <networkingDetails> + <networkInfo networkDomainId="423c4386-87b4-43c4-9604-88ae237bfc7f" networkDomainName="Jeff Test"> + <primaryNic id="aafffb27-f16b-4757-9b63-ef7d8acd9c7f" privateIpv4="172.16.1.8" ipv6="2607:f480:111:1423:1b57:e47a:c212:257d" vlanId="bd6fbee5-17db-49f8-b1f5-3b213cea3061" vlanName="jeff-test"/> </networkInfo> + </networkingDetails> + </serverSummary> + <serverSummary id="5718d174-31d4-4d49-b1c6-fcb0d782f233"> + <name>ansible-custom-image-test-UAT</name> + <description>my new node</description> + <networkingDetails> + <networkInfo networkDomainId="423c4386-87b4-43c4-9604-88ae237bfc7f" networkDomainName="Jeff Test"> + <primaryNic id="b359cea3-4452-46fe-b30b-b3ce839cde9b" privateIpv4="172.16.1.9" ipv6="2607:f480:111:1423:7fa7:9a9b:ecb9:882e" vlanId="bd6fbee5-17db-49f8-b1f5-3b213cea3061" vlanName="jeff-test"/> + </networkInfo> + </networkingDetails> + </serverSummary> + </antiAffinityRule> + <antiAffinityRule id="5e10b1ab-68f2-4a8b-a49c-d88d623db665" state="NORMAL" created="2016-03-24T00:07:39.000Z" datacenterId="NA9"> + <serverSummary id="9f8b5428-bac3-4cf9-adda-62f57fb38671"> + <name>rhel-ansible-full-test</name> + <description>RHEL Ansible Test</description> + <networkingDetails> + <networkInfo networkDomainId="423c4386-87b4-43c4-9604-88ae237bfc7f" networkDomainName="Jeff Test"> + <primaryNic id="e081e784-5768-472c-b7f3-353e1646edc8" privateIpv4="172.16.1.15" ipv6="2607:f480:111:1423:70c9:9216:f7bf:dcf6" vlanId="bd6fbee5-17db-49f8-b1f5-3b213cea3061" vlanName="jeff-test"/> + </networkInfo> + </networkingDetails> + </serverSummary> + <serverSummary id="feee5cd2-d83b-4b80-913d-0bf26c838a33"> + <name>rhel-ansible-full-test</name> + <description>RHEL Ansible Test</description> + <networkingDetails> + <networkInfo networkDomainId="423c4386-87b4-43c4-9604-88ae237bfc7f" networkDomainName="Jeff Test"> + <primaryNic id="3278f833-9535-405c-91b8-0a0470f58aae" privateIpv4="172.16.1.17" ipv6="2607:f480:111:1423:3081:71a8:4c52:a8a" vlanId="bd6fbee5-17db-49f8-b1f5-3b213cea3061" vlanName="jeff-test"/> + </networkInfo> + </networkingDetails> + </serverSummary> + </antiAffinityRule> +</antiAffinityRules> http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_antiAffinityRule_list_PAGINATED.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_antiAffinityRule_list_PAGINATED.xml b/libcloud/test/compute/fixtures/dimensiondata/server_antiAffinityRule_list_PAGINATED.xml new file mode 100644 index 0000000..fdd5e01 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_antiAffinityRule_list_PAGINATED.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<antiAffinityRules xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="2" totalCount="2" pageSize="2"> + <antiAffinityRule id="07e3621a-a920-4a9a-943c-d8021f27f418" state="NORMAL" created="2016-03-24T00:03:27.000Z" datacenterId="NA9"> + <serverSummary id="22f3544a-c874-4930-a31c-e9e513e51114"> + <name>ansible-test-image-rhel6</name> + <description>my new node</description> + <networkingDetails> + <networkInfo networkDomainId="423c4386-87b4-43c4-9604-88ae237bfc7f" networkDomainName="Jeff Test"> + <primaryNic id="aafffb27-f16b-4757-9b63-ef7d8acd9c7f" privateIpv4="172.16.1.8" ipv6="2607:f480:111:1423:1b57:e47a:c212:257d" vlanId="bd6fbee5-17db-49f8-b1f5-3b213cea3061" vlanName="jeff-test"/> </networkInfo> + </networkingDetails> + </serverSummary> + <serverSummary id="5718d174-31d4-4d49-b1c6-fcb0d782f233"> + <name>ansible-custom-image-test-UAT</name> + <description>my new node</description> + <networkingDetails> + <networkInfo networkDomainId="423c4386-87b4-43c4-9604-88ae237bfc7f" networkDomainName="Jeff Test"> + <primaryNic id="b359cea3-4452-46fe-b30b-b3ce839cde9b" privateIpv4="172.16.1.9" ipv6="2607:f480:111:1423:7fa7:9a9b:ecb9:882e" vlanId="bd6fbee5-17db-49f8-b1f5-3b213cea3061" vlanName="jeff-test"/> + </networkInfo> + </networkingDetails> + </serverSummary> + </antiAffinityRule> + <antiAffinityRule id="5e10b1ab-68f2-4a8b-a49c-d88d623db665" state="NORMAL" created="2016-03-24T00:07:39.000Z" datacenterId="NA9"> + <serverSummary id="9f8b5428-bac3-4cf9-adda-62f57fb38671"> + <name>rhel-ansible-full-test</name> + <description>RHEL Ansible Test</description> + <networkingDetails> + <networkInfo networkDomainId="423c4386-87b4-43c4-9604-88ae237bfc7f" networkDomainName="Jeff Test"> + <primaryNic id="e081e784-5768-472c-b7f3-353e1646edc8" privateIpv4="172.16.1.15" ipv6="2607:f480:111:1423:70c9:9216:f7bf:dcf6" vlanId="bd6fbee5-17db-49f8-b1f5-3b213cea3061" vlanName="jeff-test"/> + </networkInfo> + </networkingDetails> + </serverSummary> + <serverSummary id="feee5cd2-d83b-4b80-913d-0bf26c838a33"> + <name>rhel-ansible-full-test</name> + <description>RHEL Ansible Test</description> + <networkingDetails> + <networkInfo networkDomainId="423c4386-87b4-43c4-9604-88ae237bfc7f" networkDomainName="Jeff Test"> + <primaryNic id="3278f833-9535-405c-91b8-0a0470f58aae" privateIpv4="172.16.1.17" ipv6="2607:f480:111:1423:3081:71a8:4c52:a8a" vlanId="bd6fbee5-17db-49f8-b1f5-3b213cea3061" vlanName="jeff-test"/> + </networkInfo> + </networkingDetails> + </serverSummary> + </antiAffinityRule> +</antiAffinityRules> http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_changeServerMonitoringPlan.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_changeServerMonitoringPlan.xml b/libcloud/test/compute/fixtures/dimensiondata/server_changeServerMonitoringPlan.xml new file mode 100644 index 0000000..654097d --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_changeServerMonitoringPlan.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-08-10T09:22:40.684-04:00/c0ca4a5d-3611-417e-8209-fd3046cff1d5"> +<operation>CHANGE_SERVER_MONITORING_PLAN</operation> +<responseCode>OK</responseCode> +<message>Monitoring on Server 'Production Server' has been changed to +Service Plan 'ADVANCED'.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_cleanServer.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_cleanServer.xml b/libcloud/test/compute/fixtures/dimensiondata/server_cleanServer.xml new file mode 100644 index 0000000..011dfd4 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_cleanServer.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="au/2016-04- +14T10:08:07.701+10:00/1cc24d5e-4612-499b-a5d4-8fd5dbb511f0"> +<operation>CLEAN_SERVER</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>The request to clean a failed Server deployment for Server +e75ead52-692f-4314-8725-c8a4f4d13a87 has been accepted and is being processed.</message> +</response> http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_deleteServer.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_deleteServer.xml b/libcloud/test/compute/fixtures/dimensiondata/server_deleteServer.xml new file mode 100644 index 0000000..c8e70da --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_deleteServer.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03- +08T05:49:07.774-04:00/f0a53414-e991-4c9b-b52f-5770ff5b606b"> +<operation>DELETE_SERVER</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to Delete Server (Id:d577a691-e116-4913-a440- +022d2729fc84) has been accepted and is being processed</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_deleteServer_RESOURCEBUSY.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_deleteServer_RESOURCEBUSY.xml b/libcloud/test/compute/fixtures/dimensiondata/server_deleteServer_RESOURCEBUSY.xml new file mode 100644 index 0000000..2df9e07 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_deleteServer_RESOURCEBUSY.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03- +08T05:49:07.774-04:00/f0a53414-e991-4c9b-b52f-5770ff5b606b"> +<operation>DELETE_SERVER</operation> +<responseCode>RESOURCE_BUSY</responseCode> +<message>Server is already busy</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_deployServer.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_deployServer.xml b/libcloud/test/compute/fixtures/dimensiondata/server_deployServer.xml new file mode 100644 index 0000000..05108c5 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_deployServer.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03-08T10:43:34.168-04:00/7c4ea967-1723-4a06-80e2-fcdf50f3fa82"> +<operation>DEPLOY</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to deploy Server 'Production FTPS Server' has been +accepted and is being processed.</message> +<info name="serverId" value="e75ead52-692f-4314-8725-c8a4f4d13a87"/> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_disableServerMonitoring.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_disableServerMonitoring.xml b/libcloud/test/compute/fixtures/dimensiondata/server_disableServerMonitoring.xml new file mode 100644 index 0000000..63609de --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_disableServerMonitoring.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-06-10T09:19:48.692-04:00/929c91ac-5377-4dcf-aac6-a89610971139"> +<operation>DISABLE_SERVER_MONITORING</operation> +<responseCode>OK</responseCode> +<message>Monitoring on Server 5783e93f-5370-44fc-a772-cd3c29a2ecaa has +been disabled.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_enableServerMonitoring.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_enableServerMonitoring.xml b/libcloud/test/compute/fixtures/dimensiondata/server_enableServerMonitoring.xml new file mode 100644 index 0000000..9b1b555 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_enableServerMonitoring.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-06-10T09:22:40.684-04:00/c0ca4a5d-3611-417e-8209-fd3046cff1d5"> +<operation>ENABLE_SERVER_MONITORING</operation> +<responseCode>OK</responseCode> +<message>Monitoring on Server 'Production Server' has been +enabled.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_powerOffServer.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_powerOffServer.xml b/libcloud/test/compute/fixtures/dimensiondata/server_powerOffServer.xml new file mode 100644 index 0000000..549ea79 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_powerOffServer.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-08- +12T11:49:17.375-04:00/d5bb0975-1ade-4350-aaec-24807bdf7038"> +<operation>POWER_OFF_SERVER</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to power off Server 'Production Server' has been accepted +and is being processed.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_powerOffServer_INPROGRESS.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_powerOffServer_INPROGRESS.xml b/libcloud/test/compute/fixtures/dimensiondata/server_powerOffServer_INPROGRESS.xml new file mode 100644 index 0000000..8ddcca9 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_powerOffServer_INPROGRESS.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-08- +12T11:49:17.375-04:00/d5bb0975-1ade-4350-aaec-24807bdf7038"> +<operation>POWER_OFF_SERVER</operation> +<responseCode>RESOURCE_BUSY</responseCode> +<message>Request to power off Server 'Production Server' has been accepted +and is being processed.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_rebootServer.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_rebootServer.xml b/libcloud/test/compute/fixtures/dimensiondata/server_rebootServer.xml new file mode 100644 index 0000000..38f098a --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_rebootServer.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-08- +12T09:52:43.365-04:00/5260a4e5-ea21-49f4-909a-22341d8c39cb"> +<operation>REBOOT_SERVER</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to reboot Server 'Production Server' has been accepted +and is being processed.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_rebootServer_RESOURCEBUSY.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_rebootServer_RESOURCEBUSY.xml b/libcloud/test/compute/fixtures/dimensiondata/server_rebootServer_RESOURCEBUSY.xml new file mode 100644 index 0000000..3defba4 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_rebootServer_RESOURCEBUSY.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-08- +12T09:52:43.365-04:00/5260a4e5-ea21-49f4-909a-22341d8c39cb"> +<operation>REBOOT_SERVER</operation> +<responseCode>RESOURCE_BUSY</responseCode> +<message>Request to reboot Server 'Production Server' did not work, server is busy.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_reconfigureServer.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_reconfigureServer.xml b/libcloud/test/compute/fixtures/dimensiondata/server_reconfigureServer.xml new file mode 100644 index 0000000..e28e8d7 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_reconfigureServer.xml @@ -0,0 +1,5 @@ +<response xmlns="urn:didata.com:api:cloud:types" requestId="na9/2015-1130T12:07:27.838-05:00/1e22a049-d772-4c39-943c-5c773a7ac9ae"> + <operation>RECONFIGURE_SERVER</operation> + <responseCode>OK</responseCode> + <message>Request to reconfigure Server 'Production Server' has been accepted and is being processed.</message> +</response> http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_removeNic.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_removeNic.xml b/libcloud/test/compute/fixtures/dimensiondata/server_removeNic.xml new file mode 100644 index 0000000..61be4e3 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_removeNic.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<response +xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-03-08T06:57:51.297-04:00/6857b7e6-e3a9-438c-87fe-ed2248c65c55"> +<operation>REMOVE_NIC</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to Remove NIC 5999db1d-725c-46ba-9d4e-d33991e61ab1 for +VLAN 'Subsystem VLAN' from Server 'Production Mail Server' has been accepted +and is being processed.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_resetServer.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_resetServer.xml b/libcloud/test/compute/fixtures/dimensiondata/server_resetServer.xml new file mode 100644 index 0000000..ece1a8b --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_resetServer.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<response xmlns="urn:didata.com:api:cloud:types" requestId="NA9/2015-08- +12T11:37:13.823-04:00/7b264a73-d73b-424c-bec8-5debba8b4626"> +<operation>RESET_SERVER</operation> +<responseCode>IN_PROGRESS</responseCode> +<message>Request to reset Server 'Production Server' has been accepted and +is being processed.</message> +</response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/d559c58a/libcloud/test/compute/fixtures/dimensiondata/server_server.xml ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/fixtures/dimensiondata/server_server.xml b/libcloud/test/compute/fixtures/dimensiondata/server_server.xml new file mode 100644 index 0000000..f134822 --- /dev/null +++ b/libcloud/test/compute/fixtures/dimensiondata/server_server.xml @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<servers xmlns="urn:didata.com:api:cloud:types" pageNumber="1" pageCount="2" totalCount="2" pageSize="250"> + <!-- MCP 1.0 Server State: RUNNING--> + <server id="e75ead52-692f-4314-8725-c8a4f4d13a87" datacenterId="NA1"> + <name>Production Web Server MCP 1</name> + <description>nopassword0</description> + <operatingSystem id="REDHAT632" displayName="REDHAT6/32" family="UNIX" /> + <cpu count="4" speed="STANDARD" coresPerSocket="1" /> + <memoryGb>2</memoryGb> + <disk id="74f81c56-96cc-4cca-b4d7-a88f641a6ea2" scsiId="0" sizeGb="10" speed="STANDARD" state="NORMAL" /> + <nic id="43b24e9e-c1c9-4d53-965b-89bcaa725103" privateIpv4="10.160.117.25" networkId="c550be0e-65c1-11e4-811f-005056806999" networkName="Test1" state="NORMAL" /> + <backup assetId="5579f3a7-4c32-4cf5-8a7e-b45c36a35c10" servicePlan="Enterprise" state="NORMAL" /> + <monitoring monitoringId="11049" servicePlan="ESSENTIALS" state="NORMAL" /> + <sourceImageId>e9ec6eb4-4634-49de-b914-01eb74da5fb9</sourceImageId> + <createTime>2015-08-11T16:51:05.000Z</createTime> + <deployed>true</deployed> + <started>true</started> + <state>NORMAL</state> + <vmwareTools versionStatus="NEED_UPGRADE" runningStatus="RUNNING" apiVersion="8389" /> + <virtualHardware version="vmx-08" upToDate="false" /> + </server> + <!-- MCP 1.0 Server State: STARTING--> + <server id="e75ead52-692f-4314-8725-c8a4f4d13a88" datacenterId="NA1"> + <name>Production Web Server MCP 1</name> + <description>nopassword0</description> + <operatingSystem id="REDHAT632" displayName="REDHAT6/32" family="UNIX" /> + <cpu count="4" speed="STANDARD" coresPerSocket="1" /> + <memoryGb>2</memoryGb> + <disk id="74f81c56-96cc-4cca-b4d7-a88f641a6ea2" scsiId="0" sizeGb="10" speed="STANDARD" state="NORMAL" /> + <nic id="43b24e9e-c1c9-4d53-965b-89bcaa725103" privateIpv4="10.160.117.25" networkId="c550be0e-65c1-11e4-811f-005056806999" networkName="Test1" state="NORMAL" /> + <backup assetId="5579f3a7-4c32-4cf5-8a7e-b45c36a35c10" servicePlan="Enterprise" state="NORMAL" /> + <monitoring monitoringId="11049" servicePlan="ESSENTIALS" state="NORMAL" /> + <sourceImageId>e9ec6eb4-4634-49de-b914-01eb74da5fb9</sourceImageId> + <createTime>2015-08-11T16:51:05.000Z</createTime> + <deployed>true</deployed> + <started>true</started> + <state>PENDING_ADD</state> + <progress> + <action>DEPLOY_SERVER_WITH_DISK_SPEED</action> + <requestTime>2015-12-02T11:07:40.000Z</requestTime> + <userName>devuser1</userName> + </progress> + <vmwareTools versionStatus="NEED_UPGRADE" runningStatus="RUNNING" apiVersion="8389" /> + <virtualHardware version="vmx-08" upToDate="false" /> + </server> + <!-- MCP 2.0 Server State: SHUTTING_DOWN--> + <server id="5a32d6e4-9707-4813-a269-56ab4d989f4d" datacenterId="NA9"> + <name>Production Web Server MCP 2</name> + <description>Server to host our main web application.</description> + <operatingSystem id="WIN2008S32" displayName="WIN2008S/32" family="WINDOWS" /> + <cpu count="2" speed="STANDARD" coresPerSocket="1" /> + <memoryGb>4</memoryGb> + <disk id="c2e1f199-116e-4dbc-9960-68720b832b0a" scsiId="0" sizeGb="50" speed="STANDARD" state="NORMAL" /> + <networkInfo networkDomainId="553f26b6-2a73-42c3-a78b-6116f11291d0"> + <primaryNic id="5e869800-df7b-4626-bcbf-8643b8be11fd" privateIpv4="10.0.4.8" ipv6="2607:f480:1111:1282:2960:fb72:7154:6160" vlanId="bc529e20-dc6f-42ba-be20-0ffe44d1993f" vlanName="Production VLAN" state="NORMAL" /> + </networkInfo> + <backup assetId="91002e08-8dc1-47a1-ad33-04f501c06f87" servicePlan="Advanced" state="NORMAL" /> + <monitoring monitoringId="11039" servicePlan="ESSENTIALS" state="NORMAL" /> + <softwareLabel>MSSQL2008R2S</softwareLabel> + <sourceImageId>3ebf3c0f-90fe-4a8b-8585-6e65b316592c</sourceImageId> + <createTime>2015-12-02T10:31:33.000Z</createTime> + <deployed>true</deployed> + <started>true</started> + <state>PENDING_CHANGE</state> + <progress> + <action>SHUTDOWN_SERVER</action> + <requestTime>2015-12-02T11:07:40.000Z</requestTime> + <userName>devuser1</userName> + </progress> + <vmwareTools versionStatus="CURRENT" runningStatus="RUNNING" apiVersion="9354" /> + <virtualHardware version="vmx-08" upToDate="false" /> + </server> + <!-- MCP 2.0 Server State: RECONFIGURING--> + <server id="5a32d6e4-9707-4813-a269-56ab4d989f4d" datacenterId="NA9"> + <name>Production Web Server MCP 2</name> + <description>Server to host our main web application.</description> + <operatingSystem id="WIN2008S32" displayName="WIN2008S/32" family="WINDOWS" /> + <cpu count="2" speed="STANDARD" coresPerSocket="1" /> + <memoryGb>4</memoryGb> + <disk id="c2e1f199-116e-4dbc-9960-68720b832b0a" scsiId="0" sizeGb="50" speed="STANDARD" state="NORMAL" /> + <networkInfo networkDomainId="553f26b6-2a73-42c3-a78b-6116f11291d0"> + <primaryNic id="5e869800-df7b-4626-bcbf-8643b8be11fd" privateIpv4="10.0.4.8" ipv6="2607:f480:1111:1282:2960:fb72:7154:6160" vlanId="bc529e20-dc6f-42ba-be20-0ffe44d1993f" vlanName="Production VLAN" state="NORMAL" /> + </networkInfo> + <backup assetId="91002e08-8dc1-47a1-ad33-04f501c06f87" servicePlan="Advanced" state="NORMAL" /> + <monitoring monitoringId="11039" servicePlan="ESSENTIALS" state="NORMAL" /> + <softwareLabel>MSSQL2008R2S</softwareLabel> + <sourceImageId>3ebf3c0f-90fe-4a8b-8585-6e65b316592c</sourceImageId> + <createTime>2015-12-02T10:31:33.000Z</createTime> + <deployed>true</deployed> + <started>true</started> + <state>PENDING_CHANGE</state> + <progress> + <action>RECONFIGURE_SERVER</action> + <requestTime>2015-12-02T11:07:40.000Z</requestTime> + <userName>devuser1</userName> + </progress> + <vmwareTools versionStatus="CURRENT" runningStatus="RUNNING" apiVersion="9354" /> + <virtualHardware version="vmx-08" upToDate="false" /> + </server> + <!-- MCP 2.0 Server State: UNKNOWN - running--> + <server id="5a32d6e4-9707-4813-a269-56ab4d989f4d" datacenterId="NA9"> + <name>Production Web Server MCP 2</name> + <description>Server to host our main web application.</description> + <operatingSystem id="WIN2008S32" displayName="WIN2008S/32" family="WINDOWS" /> + <cpu count="2" speed="STANDARD" coresPerSocket="1" /> + <memoryGb>4</memoryGb> + <disk id="c2e1f199-116e-4dbc-9960-68720b832b0a" scsiId="0" sizeGb="50" speed="STANDARD" state="NORMAL" /> + <networkInfo networkDomainId="553f26b6-2a73-42c3-a78b-6116f11291d0"> + <primaryNic id="5e869800-df7b-4626-bcbf-8643b8be11fd" privateIpv4="10.0.4.8" ipv6="2607:f480:1111:1282:2960:fb72:7154:6160" vlanId="bc529e20-dc6f-42ba-be20-0ffe44d1993f" vlanName="Production VLAN" state="NORMAL" /> + </networkInfo> + <backup assetId="91002e08-8dc1-47a1-ad33-04f501c06f87" servicePlan="Advanced" state="NORMAL" /> + <monitoring monitoringId="11039" servicePlan="ESSENTIALS" state="NORMAL" /> + <softwareLabel>MSSQL2008R2S</softwareLabel> + <sourceImageId>3ebf3c0f-90fe-4a8b-8585-6e65b316592c</sourceImageId> + <createTime>2015-12-02T10:31:33.000Z</createTime> + <deployed>true</deployed> + <started>true</started> + <state>UNKNOWN</state> + <progress> + <action>SHUTDOWN_SERVER</action> + <requestTime>2015-12-02T11:07:40.000Z</requestTime> + <userName>devuser1</userName> + </progress> + <vmwareTools versionStatus="CURRENT" runningStatus="RUNNING" apiVersion="9354" /> + <virtualHardware version="vmx-08" upToDate="false" /> + </server> + <!-- MCP 2.0 Server State: UNKNOWN-terminated--> + <server id="5a32d6e4-9707-4813-a269-56ab4d989f4d" datacenterId="NA9"> + <name>Production Web Server MCP 21</name> + <description>Server to host our main web application.</description> + <operatingSystem id="WIN2008S32" displayName="WIN2008S/32" family="WINDOWS" /> + <cpu count="2" speed="STANDARD" coresPerSocket="1" /> + <memoryGb>4</memoryGb> + <disk id="c2e1f199-116e-4dbc-9960-68720b832b0a" scsiId="0" sizeGb="50" speed="STANDARD" state="NORMAL" /> + <networkInfo networkDomainId="553f26b6-2a73-42c3-a78b-6116f11291d0"> + <primaryNic id="5e869800-df7b-4626-bcbf-8643b8be11fd" privateIpv4="10.0.4.8" ipv6="2607:f480:1111:1282:2960:fb72:7154:6160" vlanId="bc529e20-dc6f-42ba-be20-0ffe44d1993f" vlanName="Production VLAN" state="NORMAL" /> + </networkInfo> + <backup assetId="91002e08-8dc1-47a1-ad33-04f501c06f87" servicePlan="Advanced" state="NORMAL" /> + <monitoring monitoringId="11039" servicePlan="ESSENTIALS" state="NORMAL" /> + <softwareLabel>MSSQL2008R2S</softwareLabel> + <sourceImageId>3ebf3c0f-90fe-4a8b-8585-6e65b316592c</sourceImageId> + <createTime>2015-12-02T10:31:33.000Z</createTime> + <deployed>true</deployed> + <started>false</started> + <state>UNKNOWN</state> + <progress> + <action>SHUTDOWN_SERVER</action> + <requestTime>2015-12-02T11:07:40.000Z</requestTime> + <userName>devuser1</userName> + </progress> + <vmwareTools versionStatus="CURRENT" runningStatus="RUNNING" apiVersion="9354" /> + <virtualHardware version="vmx-08" upToDate="false" /> + </server> + <!-- MCP 2.0 Server State: STOPPED--> + <server id="5a32d6e4-9707-4813-a269-56ab4d989f4d" datacenterId="NA9"> + <name>Production Web Server MCP 2</name> + <description>Server to host our main web application.</description> + <operatingSystem id="WIN2008S32" displayName="WIN2008S/32" family="WINDOWS" /> + <cpu count="2" speed="STANDARD" coresPerSocket="1" /> + <memoryGb>4</memoryGb> + <disk id="c2e1f199-116e-4dbc-9960-68720b832b0a" scsiId="0" sizeGb="50" speed="STANDARD" state="NORMAL" /> + <networkInfo networkDomainId="553f26b6-2a73-42c3-a78b-6116f11291d0"> + <primaryNic id="5e869800-df7b-4626-bcbf-8643b8be11fd" privateIpv4="10.0.4.8" ipv6="2607:f480:1111:1282:2960:fb72:7154:6160" vlanId="bc529e20-dc6f-42ba-be20-0ffe44d1993f" vlanName="Production VLAN" state="NORMAL" /> + </networkInfo> + <backup assetId="91002e08-8dc1-47a1-ad33-04f501c06f87" servicePlan="Advanced" state="NORMAL" /> + <monitoring monitoringId="11039" servicePlan="ESSENTIALS" state="NORMAL" /> + <softwareLabel>MSSQL2008R2S</softwareLabel> + <sourceImageId>3ebf3c0f-90fe-4a8b-8585-6e65b316592c</sourceImageId> + <createTime>2015-12-02T10:31:33.000Z</createTime> + <deployed>true</deployed> + <started>false</started> + <state>NORMAL</state> + <vmwareTools versionStatus="CURRENT" runningStatus="RUNNING" apiVersion="9354" /> + <virtualHardware version="vmx-08" upToDate="false" /> + </server> +</servers>