profitbricks 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +1 -1
- data/CHANGELOG.md +0 -0
- data/Gemfile +23 -23
- data/Gemfile.lock +24 -11
- data/Manifest.txt +0 -0
- data/README.md +1 -1
- data/Rakefile +0 -0
- data/examples/create_datacenter.rb +0 -0
- data/lib/profitbricks/cli.rb +0 -0
- data/lib/profitbricks/config.rb +0 -0
- data/lib/profitbricks/data_center.rb +0 -0
- data/lib/profitbricks/extensions.rb +0 -0
- data/lib/profitbricks/firewall.rb +0 -0
- data/lib/profitbricks/image.rb +0 -0
- data/lib/profitbricks/ip_block.rb +0 -0
- data/lib/profitbricks/load_balancer.rb +0 -0
- data/lib/profitbricks/model.rb +0 -0
- data/lib/profitbricks/nic.rb +0 -0
- data/lib/profitbricks/profitbricks.rb +0 -0
- data/lib/profitbricks/rule.rb +0 -0
- data/lib/profitbricks/server.rb +7 -3
- data/lib/profitbricks/storage.rb +0 -0
- data/lib/profitbricks.rb +1 -1
- data/spec/fixtures/activate_firewalls/success.json +0 -0
- data/spec/fixtures/activate_firewalls/success.xml +0 -0
- data/spec/fixtures/activate_load_balancing_on_servers/success.json +0 -0
- data/spec/fixtures/activate_load_balancing_on_servers/success.xml +0 -0
- data/spec/fixtures/add_firewall_rules_to_load_balancer/success.json +0 -0
- data/spec/fixtures/add_firewall_rules_to_load_balancer/success.xml +0 -0
- data/spec/fixtures/add_firewall_rules_to_nic/success.json +0 -0
- data/spec/fixtures/add_firewall_rules_to_nic/success.xml +0 -0
- data/spec/fixtures/add_public_ip_to_nic/success.json +0 -0
- data/spec/fixtures/add_public_ip_to_nic/success.xml +0 -0
- data/spec/fixtures/clear_data_center/success.json +9 -9
- data/spec/fixtures/clear_data_center/success.xml +0 -0
- data/spec/fixtures/connect_storage_to_server/success.json +9 -9
- data/spec/fixtures/connect_storage_to_server/success.xml +0 -0
- data/spec/fixtures/create_data_center/success.json +9 -9
- data/spec/fixtures/create_data_center/success.xml +0 -0
- data/spec/fixtures/create_load_balancer/success.json +0 -0
- data/spec/fixtures/create_load_balancer/success.xml +0 -0
- data/spec/fixtures/create_nic/success.json +0 -0
- data/spec/fixtures/create_nic/success.xml +0 -0
- data/spec/fixtures/create_server/minimal.json +10 -10
- data/spec/fixtures/create_server/minimal.xml +0 -0
- data/spec/fixtures/create_storage/success.json +10 -10
- data/spec/fixtures/create_storage/success.xml +0 -0
- data/spec/fixtures/deactivate_firewalls/success.json +0 -0
- data/spec/fixtures/deactivate_firewalls/success.xml +0 -0
- data/spec/fixtures/deactivate_load_balancing_on_servers/success.json +0 -0
- data/spec/fixtures/deactivate_load_balancing_on_servers/success.xml +0 -0
- data/spec/fixtures/delete_data_center/success.json +7 -7
- data/spec/fixtures/delete_data_center/success.xml +0 -0
- data/spec/fixtures/delete_firewalls/success.json +0 -0
- data/spec/fixtures/delete_firewalls/success.xml +0 -0
- data/spec/fixtures/delete_load_balancer/success.json +0 -0
- data/spec/fixtures/delete_load_balancer/success.xml +0 -0
- data/spec/fixtures/delete_nic/success.json +0 -0
- data/spec/fixtures/delete_nic/success.xml +0 -0
- data/spec/fixtures/delete_server/success.json +9 -9
- data/spec/fixtures/delete_server/success.xml +0 -0
- data/spec/fixtures/delete_storage/failture.json +15 -15
- data/spec/fixtures/delete_storage/failture.xml +0 -0
- data/spec/fixtures/delete_storage/success.json +9 -9
- data/spec/fixtures/delete_storage/success.xml +0 -0
- data/spec/fixtures/deregister_servers_on_load_balancer/success.json +0 -0
- data/spec/fixtures/deregister_servers_on_load_balancer/success.xml +0 -0
- data/spec/fixtures/disconnect_storage_from_server/failture.json +15 -15
- data/spec/fixtures/disconnect_storage_from_server/failture.xml +0 -0
- data/spec/fixtures/disconnect_storage_from_server/success.json +9 -9
- data/spec/fixtures/disconnect_storage_from_server/success.xml +0 -0
- data/spec/fixtures/get_all_data_centers/empty.json +0 -0
- data/spec/fixtures/get_all_data_centers/empty.xml +0 -0
- data/spec/fixtures/get_all_data_centers/test_datacenter.json +9 -9
- data/spec/fixtures/get_all_data_centers/test_datacenter.xml +0 -0
- data/spec/fixtures/get_all_images/success.json +0 -0
- data/spec/fixtures/get_all_images/success.xml +0 -0
- data/spec/fixtures/get_all_public_ip_blocks/success.json +0 -0
- data/spec/fixtures/get_all_public_ip_blocks/success.xml +0 -0
- data/spec/fixtures/get_data_center/create.json +146 -146
- data/spec/fixtures/get_data_center/create.xml +0 -0
- data/spec/fixtures/get_data_center/firewall.json +0 -0
- data/spec/fixtures/get_data_center/firewall.xml +0 -0
- data/spec/fixtures/get_data_center/two_servers_with_storage.json +146 -146
- data/spec/fixtures/get_data_center/two_servers_with_storage.xml +0 -0
- data/spec/fixtures/get_data_center_state/in_process.json +0 -0
- data/spec/fixtures/get_data_center_state/in_process.xml +0 -0
- data/spec/fixtures/get_data_center_state/success.json +0 -0
- data/spec/fixtures/get_data_center_state/success.xml +0 -0
- data/spec/fixtures/get_firewall/success.json +0 -0
- data/spec/fixtures/get_firewall/success.xml +0 -0
- data/spec/fixtures/get_image/success.json +0 -0
- data/spec/fixtures/get_image/success.xml +0 -0
- data/spec/fixtures/get_load_balancer/success.json +0 -0
- data/spec/fixtures/get_load_balancer/success.xml +0 -0
- data/spec/fixtures/get_nic/success.json +0 -0
- data/spec/fixtures/get_nic/success.xml +0 -0
- data/spec/fixtures/get_nic/two_ips.json +0 -0
- data/spec/fixtures/get_nic/two_ips.xml +0 -0
- data/spec/fixtures/get_server/after_create.json +18 -17
- data/spec/fixtures/get_server/after_create.xml +1 -1
- data/spec/fixtures/get_server/connected_storage.json +27 -26
- data/spec/fixtures/get_server/connected_storage.xml +1 -1
- data/spec/fixtures/get_storage/success.json +13 -13
- data/spec/fixtures/get_storage/success.xml +0 -0
- data/spec/fixtures/reboot_server/success.json +0 -0
- data/spec/fixtures/reboot_server/success.xml +0 -0
- data/spec/fixtures/register_servers_on_load_balancer/success.json +0 -0
- data/spec/fixtures/register_servers_on_load_balancer/success.xml +0 -0
- data/spec/fixtures/release_public_ip_block/success.json +0 -0
- data/spec/fixtures/release_public_ip_block/success.xml +0 -0
- data/spec/fixtures/remove_firewall_rules/success.json +0 -0
- data/spec/fixtures/remove_firewall_rules/success.xml +0 -0
- data/spec/fixtures/remove_public_ip_from_nic/success.json +0 -0
- data/spec/fixtures/remove_public_ip_from_nic/success.xml +0 -0
- data/spec/fixtures/reserve_public_ip_block/success.json +0 -0
- data/spec/fixtures/reserve_public_ip_block/success.xml +0 -0
- data/spec/fixtures/set_image_os_type/success.json +0 -0
- data/spec/fixtures/set_image_os_type/success.xml +0 -0
- data/spec/fixtures/set_internet_access/success.json +0 -0
- data/spec/fixtures/set_internet_access/success.xml +0 -0
- data/spec/fixtures/update_data_center/success.json +9 -9
- data/spec/fixtures/update_data_center/success.xml +0 -0
- data/spec/fixtures/update_load_balancer/success.json +0 -0
- data/spec/fixtures/update_load_balancer/success.xml +0 -0
- data/spec/fixtures/update_nic/success.json +0 -0
- data/spec/fixtures/update_nic/success.xml +0 -0
- data/spec/fixtures/update_server/basic.json +9 -9
- data/spec/fixtures/update_server/basic.xml +0 -0
- data/spec/fixtures/update_storage/success.json +9 -9
- data/spec/fixtures/update_storage/success.xml +0 -0
- data/spec/profitbricks/cli_spec.rb +0 -0
- data/spec/profitbricks/data_center_spec.rb +0 -0
- data/spec/profitbricks/firewall_spec.rb +0 -0
- data/spec/profitbricks/image_spec.rb +0 -0
- data/spec/profitbricks/ip_block_spec.rb +0 -0
- data/spec/profitbricks/load_balancer_spec.rb +0 -0
- data/spec/profitbricks/model_spec.rb +0 -0
- data/spec/profitbricks/nic_spec.rb +0 -0
- data/spec/profitbricks/server_spec.rb +0 -0
- data/spec/profitbricks/storage_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +13 -24
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,147 +1,147 @@
|
|
1
|
-
{
|
2
|
-
"get_data_center_response": {
|
3
|
-
"@xmlns:ns2": "http://ws.api.profitbricks.com/",
|
4
|
-
"return": {
|
5
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
6
|
-
"data_center_name": "Test",
|
7
|
-
"data_center_version": "9",
|
8
|
-
"provisioning_state": "AVAILABLE",
|
9
|
-
"servers": [
|
10
|
-
{
|
11
|
-
"connected_storages": {
|
12
|
-
"bus_type": "VIRTIO",
|
13
|
-
"device_number": "1",
|
14
|
-
"size": "5",
|
15
|
-
"storage_id": "b6fdfa5b-fadf-5621-1be3-0882822abb88",
|
16
|
-
"storage_name": "Debian"
|
17
|
-
},
|
18
|
-
"cores": "1",
|
19
|
-
"creation_time": "2012-03-03T23:28:44+01:00",
|
20
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
21
|
-
"data_center_version": "9",
|
22
|
-
"internet_access": false,
|
23
|
-
"ips": "10.7.232.12",
|
24
|
-
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
25
|
-
"nics": {
|
26
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
27
|
-
"data_center_version": "9",
|
28
|
-
"firewall": {
|
29
|
-
"active": false,
|
30
|
-
"firewall_id": "374da20a-e7a4-151a-0be8-04c5b82409a0",
|
31
|
-
"nic_id": "8c5758c1-29b7-8a23-ffc8-4c54dac405c2",
|
32
|
-
"provisioning_state": "AVAILABLE"
|
33
|
-
},
|
34
|
-
"internet_access": false,
|
35
|
-
"ips": "10.7.232.12",
|
36
|
-
"lan_id": "1",
|
37
|
-
"mac_address": "02:01:eb:58:b1:63",
|
38
|
-
"nic_id": "8c5758c1-29b7-8a23-ffc8-4c54dac405c2",
|
39
|
-
"nic_name": "eth0",
|
40
|
-
"server_id": "7e132ddb-b2c8-a109-7f99-7b4a32955006"
|
41
|
-
},
|
42
|
-
"os_type": "OTHER",
|
43
|
-
"provisioning_state": "AVAILABLE",
|
44
|
-
"ram": "256",
|
45
|
-
"server_id": "7e132ddb-b2c8-a109-7f99-7b4a32955006",
|
46
|
-
"server_name": "Test Server 2",
|
47
|
-
"virtual_machine_state": "RUNNING"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"connected_storages": {
|
51
|
-
"bus_type": "VIRTIO",
|
52
|
-
"device_number": "1",
|
53
|
-
"size": "1",
|
54
|
-
"storage_id": "68f1badb-edbf-bb49-00cd-b5481ac91f7f",
|
55
|
-
"storage_name": "Empty"
|
56
|
-
},
|
57
|
-
"cores": "1",
|
58
|
-
"creation_time": "2012-03-02T15:40:24+01:00",
|
59
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
60
|
-
"data_center_version": "9",
|
61
|
-
"internet_access": true,
|
62
|
-
"ips": [
|
63
|
-
"10.7.232.11",
|
64
|
-
"46.16.73.186"
|
65
|
-
],
|
66
|
-
"last_modification_time": "2012-03-02T15:57:31+01:00",
|
67
|
-
"nics": [
|
68
|
-
{
|
69
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
70
|
-
"data_center_version": "9",
|
71
|
-
"firewall": {
|
72
|
-
"active": false,
|
73
|
-
"firewall_id": "dac45569-b53a-c270-20c8-aa69aa071d28",
|
74
|
-
"nic_id": "30790131-39f1-dd1c-c457-3e8ed77e74f6",
|
75
|
-
"provisioning_state": "AVAILABLE"
|
76
|
-
},
|
77
|
-
"internet_access": true,
|
78
|
-
"ips": "46.16.73.186",
|
79
|
-
"lan_id": "2",
|
80
|
-
"mac_address": "02:01:17:75:f9:cb",
|
81
|
-
"nic_id": "30790131-39f1-dd1c-c457-3e8ed77e74f6",
|
82
|
-
"nic_name": "eth0",
|
83
|
-
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5"
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
87
|
-
"data_center_version": "9",
|
88
|
-
"firewall": {
|
89
|
-
"active": false,
|
90
|
-
"firewall_id": "3ccc6dd6-ddac-42e7-fb00-13f1853ee466",
|
91
|
-
"nic_id": "7c2cec85-435e-ddee-9a1c-ff88659ff9be",
|
92
|
-
"provisioning_state": "AVAILABLE"
|
93
|
-
},
|
94
|
-
"internet_access": false,
|
95
|
-
"ips": "10.7.232.11",
|
96
|
-
"lan_id": "1",
|
97
|
-
"mac_address": "02:01:8c:9c:50:3f",
|
98
|
-
"nic_id": "7c2cec85-435e-ddee-9a1c-ff88659ff9be",
|
99
|
-
"nic_name": "eth1",
|
100
|
-
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5"
|
101
|
-
}
|
102
|
-
],
|
103
|
-
"os_type": "UNKNOWN",
|
104
|
-
"provisioning_state": "AVAILABLE",
|
105
|
-
"ram": "256",
|
106
|
-
"rom_drives": {
|
107
|
-
"image_id": "9de62e6e-ff1c-11e0-a1a7-0025901dfe2a",
|
108
|
-
"image_name": "grml64_2011.05.iso"
|
109
|
-
},
|
110
|
-
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5",
|
111
|
-
"server_name": "Test Server",
|
112
|
-
"virtual_machine_state": "RUNNING"
|
113
|
-
}
|
114
|
-
],
|
115
|
-
"storages": [
|
116
|
-
{
|
117
|
-
"creation_time": "2012-03-03T23:28:44+01:00",
|
118
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
119
|
-
"data_center_version": "9",
|
120
|
-
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
121
|
-
"os_type": "UNKNOWN",
|
122
|
-
"provisioning_state": "AVAILABLE",
|
123
|
-
"server_ids": "51d54771-7566-4d9d-a560-1f2a3b61a4d5",
|
124
|
-
"size": "1",
|
125
|
-
"storage_id": "68f1badb-edbf-bb49-00cd-b5481ac91f7f",
|
126
|
-
"storage_name": "Empty"
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"creation_time": "2012-03-03T23:28:44+01:00",
|
130
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
131
|
-
"data_center_version": "9",
|
132
|
-
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
133
|
-
"mount_image": {
|
134
|
-
"image_id": "d1d8747f-fa56-11e0-a1a7-0025901dfe2a",
|
135
|
-
"image_name": "profitbricks-debian-squeeze-EN-6.0.1a-amd64.img"
|
136
|
-
},
|
137
|
-
"os_type": "UNKNOWN",
|
138
|
-
"provisioning_state": "AVAILABLE",
|
139
|
-
"server_ids": "7e132ddb-b2c8-a109-7f99-7b4a32955006",
|
140
|
-
"size": "5",
|
141
|
-
"storage_id": "b6fdfa5b-fadf-5621-1be3-0882822abb88",
|
142
|
-
"storage_name": "Debian"
|
143
|
-
}
|
144
|
-
]
|
145
|
-
}
|
146
|
-
}
|
1
|
+
{
|
2
|
+
"get_data_center_response": {
|
3
|
+
"@xmlns:ns2": "http://ws.api.profitbricks.com/",
|
4
|
+
"return": {
|
5
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
6
|
+
"data_center_name": "Test",
|
7
|
+
"data_center_version": "9",
|
8
|
+
"provisioning_state": "AVAILABLE",
|
9
|
+
"servers": [
|
10
|
+
{
|
11
|
+
"connected_storages": {
|
12
|
+
"bus_type": "VIRTIO",
|
13
|
+
"device_number": "1",
|
14
|
+
"size": "5",
|
15
|
+
"storage_id": "b6fdfa5b-fadf-5621-1be3-0882822abb88",
|
16
|
+
"storage_name": "Debian"
|
17
|
+
},
|
18
|
+
"cores": "1",
|
19
|
+
"creation_time": "2012-03-03T23:28:44+01:00",
|
20
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
21
|
+
"data_center_version": "9",
|
22
|
+
"internet_access": false,
|
23
|
+
"ips": "10.7.232.12",
|
24
|
+
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
25
|
+
"nics": {
|
26
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
27
|
+
"data_center_version": "9",
|
28
|
+
"firewall": {
|
29
|
+
"active": false,
|
30
|
+
"firewall_id": "374da20a-e7a4-151a-0be8-04c5b82409a0",
|
31
|
+
"nic_id": "8c5758c1-29b7-8a23-ffc8-4c54dac405c2",
|
32
|
+
"provisioning_state": "AVAILABLE"
|
33
|
+
},
|
34
|
+
"internet_access": false,
|
35
|
+
"ips": "10.7.232.12",
|
36
|
+
"lan_id": "1",
|
37
|
+
"mac_address": "02:01:eb:58:b1:63",
|
38
|
+
"nic_id": "8c5758c1-29b7-8a23-ffc8-4c54dac405c2",
|
39
|
+
"nic_name": "eth0",
|
40
|
+
"server_id": "7e132ddb-b2c8-a109-7f99-7b4a32955006"
|
41
|
+
},
|
42
|
+
"os_type": "OTHER",
|
43
|
+
"provisioning_state": "AVAILABLE",
|
44
|
+
"ram": "256",
|
45
|
+
"server_id": "7e132ddb-b2c8-a109-7f99-7b4a32955006",
|
46
|
+
"server_name": "Test Server 2",
|
47
|
+
"virtual_machine_state": "RUNNING"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"connected_storages": {
|
51
|
+
"bus_type": "VIRTIO",
|
52
|
+
"device_number": "1",
|
53
|
+
"size": "1",
|
54
|
+
"storage_id": "68f1badb-edbf-bb49-00cd-b5481ac91f7f",
|
55
|
+
"storage_name": "Empty"
|
56
|
+
},
|
57
|
+
"cores": "1",
|
58
|
+
"creation_time": "2012-03-02T15:40:24+01:00",
|
59
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
60
|
+
"data_center_version": "9",
|
61
|
+
"internet_access": true,
|
62
|
+
"ips": [
|
63
|
+
"10.7.232.11",
|
64
|
+
"46.16.73.186"
|
65
|
+
],
|
66
|
+
"last_modification_time": "2012-03-02T15:57:31+01:00",
|
67
|
+
"nics": [
|
68
|
+
{
|
69
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
70
|
+
"data_center_version": "9",
|
71
|
+
"firewall": {
|
72
|
+
"active": false,
|
73
|
+
"firewall_id": "dac45569-b53a-c270-20c8-aa69aa071d28",
|
74
|
+
"nic_id": "30790131-39f1-dd1c-c457-3e8ed77e74f6",
|
75
|
+
"provisioning_state": "AVAILABLE"
|
76
|
+
},
|
77
|
+
"internet_access": true,
|
78
|
+
"ips": "46.16.73.186",
|
79
|
+
"lan_id": "2",
|
80
|
+
"mac_address": "02:01:17:75:f9:cb",
|
81
|
+
"nic_id": "30790131-39f1-dd1c-c457-3e8ed77e74f6",
|
82
|
+
"nic_name": "eth0",
|
83
|
+
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
87
|
+
"data_center_version": "9",
|
88
|
+
"firewall": {
|
89
|
+
"active": false,
|
90
|
+
"firewall_id": "3ccc6dd6-ddac-42e7-fb00-13f1853ee466",
|
91
|
+
"nic_id": "7c2cec85-435e-ddee-9a1c-ff88659ff9be",
|
92
|
+
"provisioning_state": "AVAILABLE"
|
93
|
+
},
|
94
|
+
"internet_access": false,
|
95
|
+
"ips": "10.7.232.11",
|
96
|
+
"lan_id": "1",
|
97
|
+
"mac_address": "02:01:8c:9c:50:3f",
|
98
|
+
"nic_id": "7c2cec85-435e-ddee-9a1c-ff88659ff9be",
|
99
|
+
"nic_name": "eth1",
|
100
|
+
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
"os_type": "UNKNOWN",
|
104
|
+
"provisioning_state": "AVAILABLE",
|
105
|
+
"ram": "256",
|
106
|
+
"rom_drives": {
|
107
|
+
"image_id": "9de62e6e-ff1c-11e0-a1a7-0025901dfe2a",
|
108
|
+
"image_name": "grml64_2011.05.iso"
|
109
|
+
},
|
110
|
+
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5",
|
111
|
+
"server_name": "Test Server",
|
112
|
+
"virtual_machine_state": "RUNNING"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"storages": [
|
116
|
+
{
|
117
|
+
"creation_time": "2012-03-03T23:28:44+01:00",
|
118
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
119
|
+
"data_center_version": "9",
|
120
|
+
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
121
|
+
"os_type": "UNKNOWN",
|
122
|
+
"provisioning_state": "AVAILABLE",
|
123
|
+
"server_ids": "51d54771-7566-4d9d-a560-1f2a3b61a4d5",
|
124
|
+
"size": "1",
|
125
|
+
"storage_id": "68f1badb-edbf-bb49-00cd-b5481ac91f7f",
|
126
|
+
"storage_name": "Empty"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"creation_time": "2012-03-03T23:28:44+01:00",
|
130
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
131
|
+
"data_center_version": "9",
|
132
|
+
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
133
|
+
"mount_image": {
|
134
|
+
"image_id": "d1d8747f-fa56-11e0-a1a7-0025901dfe2a",
|
135
|
+
"image_name": "profitbricks-debian-squeeze-EN-6.0.1a-amd64.img"
|
136
|
+
},
|
137
|
+
"os_type": "UNKNOWN",
|
138
|
+
"provisioning_state": "AVAILABLE",
|
139
|
+
"server_ids": "7e132ddb-b2c8-a109-7f99-7b4a32955006",
|
140
|
+
"size": "5",
|
141
|
+
"storage_id": "b6fdfa5b-fadf-5621-1be3-0882822abb88",
|
142
|
+
"storage_name": "Debian"
|
143
|
+
}
|
144
|
+
]
|
145
|
+
}
|
146
|
+
}
|
147
147
|
}
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,147 +1,147 @@
|
|
1
|
-
{
|
2
|
-
"get_data_center_response": {
|
3
|
-
"@xmlns:ns2": "http://ws.api.profitbricks.com/",
|
4
|
-
"return": {
|
5
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
6
|
-
"data_center_name": "Test",
|
7
|
-
"data_center_version": "9",
|
8
|
-
"provisioning_state": "AVAILABLE",
|
9
|
-
"servers": [
|
10
|
-
{
|
11
|
-
"connected_storages": {
|
12
|
-
"bus_type": "VIRTIO",
|
13
|
-
"device_number": "1",
|
14
|
-
"size": "5",
|
15
|
-
"storage_id": "b6fdfa5b-fadf-5621-1be3-0882822abb88",
|
16
|
-
"storage_name": "Debian"
|
17
|
-
},
|
18
|
-
"cores": "1",
|
19
|
-
"creation_time": "2012-03-03T23:28:44+01:00",
|
20
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
21
|
-
"data_center_version": "9",
|
22
|
-
"internet_access": false,
|
23
|
-
"ips": "10.7.232.12",
|
24
|
-
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
25
|
-
"nics": {
|
26
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
27
|
-
"data_center_version": "9",
|
28
|
-
"firewall": {
|
29
|
-
"active": false,
|
30
|
-
"firewall_id": "374da20a-e7a4-151a-0be8-04c5b82409a0",
|
31
|
-
"nic_id": "8c5758c1-29b7-8a23-ffc8-4c54dac405c2",
|
32
|
-
"provisioning_state": "AVAILABLE"
|
33
|
-
},
|
34
|
-
"internet_access": false,
|
35
|
-
"ips": "10.7.232.12",
|
36
|
-
"lan_id": "1",
|
37
|
-
"mac_address": "02:01:eb:58:b1:63",
|
38
|
-
"nic_id": "8c5758c1-29b7-8a23-ffc8-4c54dac405c2",
|
39
|
-
"nic_name": "eth0",
|
40
|
-
"server_id": "7e132ddb-b2c8-a109-7f99-7b4a32955006"
|
41
|
-
},
|
42
|
-
"os_type": "OTHER",
|
43
|
-
"provisioning_state": "AVAILABLE",
|
44
|
-
"ram": "256",
|
45
|
-
"server_id": "7e132ddb-b2c8-a109-7f99-7b4a32955006",
|
46
|
-
"server_name": "Test Server 2",
|
47
|
-
"virtual_machine_state": "RUNNING"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"connected_storages": {
|
51
|
-
"bus_type": "VIRTIO",
|
52
|
-
"device_number": "1",
|
53
|
-
"size": "1",
|
54
|
-
"storage_id": "68f1badb-edbf-bb49-00cd-b5481ac91f7f",
|
55
|
-
"storage_name": "Empty"
|
56
|
-
},
|
57
|
-
"cores": "1",
|
58
|
-
"creation_time": "2012-03-02T15:40:24+01:00",
|
59
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
60
|
-
"data_center_version": "9",
|
61
|
-
"internet_access": true,
|
62
|
-
"ips": [
|
63
|
-
"10.7.232.11",
|
64
|
-
"46.16.73.186"
|
65
|
-
],
|
66
|
-
"last_modification_time": "2012-03-02T15:57:31+01:00",
|
67
|
-
"nics": [
|
68
|
-
{
|
69
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
70
|
-
"data_center_version": "9",
|
71
|
-
"firewall": {
|
72
|
-
"active": false,
|
73
|
-
"firewall_id": "dac45569-b53a-c270-20c8-aa69aa071d28",
|
74
|
-
"nic_id": "30790131-39f1-dd1c-c457-3e8ed77e74f6",
|
75
|
-
"provisioning_state": "AVAILABLE"
|
76
|
-
},
|
77
|
-
"internet_access": true,
|
78
|
-
"ips": "46.16.73.186",
|
79
|
-
"lan_id": "2",
|
80
|
-
"mac_address": "02:01:17:75:f9:cb",
|
81
|
-
"nic_id": "30790131-39f1-dd1c-c457-3e8ed77e74f6",
|
82
|
-
"nic_name": "eth0",
|
83
|
-
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5"
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
87
|
-
"data_center_version": "9",
|
88
|
-
"firewall": {
|
89
|
-
"active": false,
|
90
|
-
"firewall_id": "3ccc6dd6-ddac-42e7-fb00-13f1853ee466",
|
91
|
-
"nic_id": "7c2cec85-435e-ddee-9a1c-ff88659ff9be",
|
92
|
-
"provisioning_state": "AVAILABLE"
|
93
|
-
},
|
94
|
-
"internet_access": false,
|
95
|
-
"ips": "10.7.232.11",
|
96
|
-
"lan_id": "1",
|
97
|
-
"mac_address": "02:01:8c:9c:50:3f",
|
98
|
-
"nic_id": "7c2cec85-435e-ddee-9a1c-ff88659ff9be",
|
99
|
-
"nic_name": "eth1",
|
100
|
-
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5"
|
101
|
-
}
|
102
|
-
],
|
103
|
-
"os_type": "UNKNOWN",
|
104
|
-
"provisioning_state": "AVAILABLE",
|
105
|
-
"ram": "256",
|
106
|
-
"rom_drives": {
|
107
|
-
"image_id": "9de62e6e-ff1c-11e0-a1a7-0025901dfe2a",
|
108
|
-
"image_name": "grml64_2011.05.iso"
|
109
|
-
},
|
110
|
-
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5",
|
111
|
-
"server_name": "Test Server",
|
112
|
-
"virtual_machine_state": "RUNNING"
|
113
|
-
}
|
114
|
-
],
|
115
|
-
"storages": [
|
116
|
-
{
|
117
|
-
"creation_time": "2012-03-03T23:28:44+01:00",
|
118
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
119
|
-
"data_center_version": "9",
|
120
|
-
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
121
|
-
"os_type": "UNKNOWN",
|
122
|
-
"provisioning_state": "AVAILABLE",
|
123
|
-
"server_ids": "51d54771-7566-4d9d-a560-1f2a3b61a4d5",
|
124
|
-
"size": "1",
|
125
|
-
"storage_id": "68f1badb-edbf-bb49-00cd-b5481ac91f7f",
|
126
|
-
"storage_name": "Empty"
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"creation_time": "2012-03-03T23:28:44+01:00",
|
130
|
-
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
131
|
-
"data_center_version": "9",
|
132
|
-
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
133
|
-
"mount_image": {
|
134
|
-
"image_id": "d1d8747f-fa56-11e0-a1a7-0025901dfe2a",
|
135
|
-
"image_name": "profitbricks-debian-squeeze-EN-6.0.1a-amd64.img"
|
136
|
-
},
|
137
|
-
"os_type": "UNKNOWN",
|
138
|
-
"provisioning_state": "AVAILABLE",
|
139
|
-
"server_ids": "7e132ddb-b2c8-a109-7f99-7b4a32955006",
|
140
|
-
"size": "5",
|
141
|
-
"storage_id": "b6fdfa5b-fadf-5621-1be3-0882822abb88",
|
142
|
-
"storage_name": "Debian"
|
143
|
-
}
|
144
|
-
]
|
145
|
-
}
|
146
|
-
}
|
1
|
+
{
|
2
|
+
"get_data_center_response": {
|
3
|
+
"@xmlns:ns2": "http://ws.api.profitbricks.com/",
|
4
|
+
"return": {
|
5
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
6
|
+
"data_center_name": "Test",
|
7
|
+
"data_center_version": "9",
|
8
|
+
"provisioning_state": "AVAILABLE",
|
9
|
+
"servers": [
|
10
|
+
{
|
11
|
+
"connected_storages": {
|
12
|
+
"bus_type": "VIRTIO",
|
13
|
+
"device_number": "1",
|
14
|
+
"size": "5",
|
15
|
+
"storage_id": "b6fdfa5b-fadf-5621-1be3-0882822abb88",
|
16
|
+
"storage_name": "Debian"
|
17
|
+
},
|
18
|
+
"cores": "1",
|
19
|
+
"creation_time": "2012-03-03T23:28:44+01:00",
|
20
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
21
|
+
"data_center_version": "9",
|
22
|
+
"internet_access": false,
|
23
|
+
"ips": "10.7.232.12",
|
24
|
+
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
25
|
+
"nics": {
|
26
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
27
|
+
"data_center_version": "9",
|
28
|
+
"firewall": {
|
29
|
+
"active": false,
|
30
|
+
"firewall_id": "374da20a-e7a4-151a-0be8-04c5b82409a0",
|
31
|
+
"nic_id": "8c5758c1-29b7-8a23-ffc8-4c54dac405c2",
|
32
|
+
"provisioning_state": "AVAILABLE"
|
33
|
+
},
|
34
|
+
"internet_access": false,
|
35
|
+
"ips": "10.7.232.12",
|
36
|
+
"lan_id": "1",
|
37
|
+
"mac_address": "02:01:eb:58:b1:63",
|
38
|
+
"nic_id": "8c5758c1-29b7-8a23-ffc8-4c54dac405c2",
|
39
|
+
"nic_name": "eth0",
|
40
|
+
"server_id": "7e132ddb-b2c8-a109-7f99-7b4a32955006"
|
41
|
+
},
|
42
|
+
"os_type": "OTHER",
|
43
|
+
"provisioning_state": "AVAILABLE",
|
44
|
+
"ram": "256",
|
45
|
+
"server_id": "7e132ddb-b2c8-a109-7f99-7b4a32955006",
|
46
|
+
"server_name": "Test Server 2",
|
47
|
+
"virtual_machine_state": "RUNNING"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"connected_storages": {
|
51
|
+
"bus_type": "VIRTIO",
|
52
|
+
"device_number": "1",
|
53
|
+
"size": "1",
|
54
|
+
"storage_id": "68f1badb-edbf-bb49-00cd-b5481ac91f7f",
|
55
|
+
"storage_name": "Empty"
|
56
|
+
},
|
57
|
+
"cores": "1",
|
58
|
+
"creation_time": "2012-03-02T15:40:24+01:00",
|
59
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
60
|
+
"data_center_version": "9",
|
61
|
+
"internet_access": true,
|
62
|
+
"ips": [
|
63
|
+
"10.7.232.11",
|
64
|
+
"46.16.73.186"
|
65
|
+
],
|
66
|
+
"last_modification_time": "2012-03-02T15:57:31+01:00",
|
67
|
+
"nics": [
|
68
|
+
{
|
69
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
70
|
+
"data_center_version": "9",
|
71
|
+
"firewall": {
|
72
|
+
"active": false,
|
73
|
+
"firewall_id": "dac45569-b53a-c270-20c8-aa69aa071d28",
|
74
|
+
"nic_id": "30790131-39f1-dd1c-c457-3e8ed77e74f6",
|
75
|
+
"provisioning_state": "AVAILABLE"
|
76
|
+
},
|
77
|
+
"internet_access": true,
|
78
|
+
"ips": "46.16.73.186",
|
79
|
+
"lan_id": "2",
|
80
|
+
"mac_address": "02:01:17:75:f9:cb",
|
81
|
+
"nic_id": "30790131-39f1-dd1c-c457-3e8ed77e74f6",
|
82
|
+
"nic_name": "eth0",
|
83
|
+
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
87
|
+
"data_center_version": "9",
|
88
|
+
"firewall": {
|
89
|
+
"active": false,
|
90
|
+
"firewall_id": "3ccc6dd6-ddac-42e7-fb00-13f1853ee466",
|
91
|
+
"nic_id": "7c2cec85-435e-ddee-9a1c-ff88659ff9be",
|
92
|
+
"provisioning_state": "AVAILABLE"
|
93
|
+
},
|
94
|
+
"internet_access": false,
|
95
|
+
"ips": "10.7.232.11",
|
96
|
+
"lan_id": "1",
|
97
|
+
"mac_address": "02:01:8c:9c:50:3f",
|
98
|
+
"nic_id": "7c2cec85-435e-ddee-9a1c-ff88659ff9be",
|
99
|
+
"nic_name": "eth1",
|
100
|
+
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
"os_type": "UNKNOWN",
|
104
|
+
"provisioning_state": "AVAILABLE",
|
105
|
+
"ram": "256",
|
106
|
+
"rom_drives": {
|
107
|
+
"image_id": "9de62e6e-ff1c-11e0-a1a7-0025901dfe2a",
|
108
|
+
"image_name": "grml64_2011.05.iso"
|
109
|
+
},
|
110
|
+
"server_id": "51d54771-7566-4d9d-a560-1f2a3b61a4d5",
|
111
|
+
"server_name": "Test Server",
|
112
|
+
"virtual_machine_state": "RUNNING"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"storages": [
|
116
|
+
{
|
117
|
+
"creation_time": "2012-03-03T23:28:44+01:00",
|
118
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
119
|
+
"data_center_version": "9",
|
120
|
+
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
121
|
+
"os_type": "UNKNOWN",
|
122
|
+
"provisioning_state": "AVAILABLE",
|
123
|
+
"server_ids": "51d54771-7566-4d9d-a560-1f2a3b61a4d5",
|
124
|
+
"size": "1",
|
125
|
+
"storage_id": "68f1badb-edbf-bb49-00cd-b5481ac91f7f",
|
126
|
+
"storage_name": "Empty"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"creation_time": "2012-03-03T23:28:44+01:00",
|
130
|
+
"data_center_id": "b3eebede-5c78-417c-b1bc-ff5de01a0602",
|
131
|
+
"data_center_version": "9",
|
132
|
+
"last_modification_time": "2012-03-03T23:28:44+01:00",
|
133
|
+
"mount_image": {
|
134
|
+
"image_id": "d1d8747f-fa56-11e0-a1a7-0025901dfe2a",
|
135
|
+
"image_name": "profitbricks-debian-squeeze-EN-6.0.1a-amd64.img"
|
136
|
+
},
|
137
|
+
"os_type": "UNKNOWN",
|
138
|
+
"provisioning_state": "AVAILABLE",
|
139
|
+
"server_ids": "7e132ddb-b2c8-a109-7f99-7b4a32955006",
|
140
|
+
"size": "5",
|
141
|
+
"storage_id": "b6fdfa5b-fadf-5621-1be3-0882822abb88",
|
142
|
+
"storage_name": "Debian"
|
143
|
+
}
|
144
|
+
]
|
145
|
+
}
|
146
|
+
}
|
147
147
|
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|