tengine_resource 0.5.15 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/Gemfile +1 -27
  2. data/Gemfile.lock +60 -73
  3. data/README.rdoc +2 -2
  4. data/bin/create_indexes_for_tengine_resource +18 -0
  5. data/lib/tengine/resource/config/resource.rb +0 -3
  6. data/lib/tengine/resource/credential.rb +16 -17
  7. data/lib/tengine/resource/net_ssh.rb +22 -10
  8. data/lib/tengine/resource/physical_server.rb +8 -0
  9. data/lib/tengine/resource/provider.rb +206 -35
  10. data/lib/tengine/resource/server.rb +3 -3
  11. data/lib/tengine/resource/virtual_server.rb +1 -1
  12. data/lib/tengine/resource/virtual_server_image.rb +8 -8
  13. data/lib/tengine/resource/virtual_server_type.rb +2 -2
  14. data/lib/tengine/resource/watcher.rb +39 -9
  15. data/tmp/.gitkeep +0 -0
  16. metadata +92 -141
  17. data/.document +0 -5
  18. data/.rspec +0 -1
  19. data/Rakefile +0 -42
  20. data/VERSION +0 -1
  21. data/config/.gitignore +0 -2
  22. data/lib/tengine/resource/credential/ec2.rb +0 -5
  23. data/lib/tengine/resource/credential/ec2/dummy.rb +0 -148
  24. data/lib/tengine/resource/credential/ec2/launch_options.rb +0 -179
  25. data/lib/tengine/resource/provider/ec2.rb +0 -187
  26. data/lib/tengine/resource/provider/wakame.rb +0 -638
  27. data/spec/fixtures/goku_at_ec2_ap_northeast.rb +0 -177
  28. data/spec/mongoid.yml +0 -35
  29. data/spec/mongoid_en.yml +0 -48
  30. data/spec/spec_helper.rb +0 -43
  31. data/spec/support/ec2.rb +0 -129
  32. data/spec/support/mongo_index_key_log.rb +0 -91
  33. data/spec/tengine/resource/bugfix/watcher_for_wakame_spec.rb +0 -232
  34. data/spec/tengine/resource/credential_spec.rb +0 -205
  35. data/spec/tengine/resource/drivers/resource_control_driver_spec.rb +0 -84
  36. data/spec/tengine/resource/net_ssh_spec.rb +0 -148
  37. data/spec/tengine/resource/physical_server_spec.rb +0 -47
  38. data/spec/tengine/resource/provider/ec2_spec.rb +0 -473
  39. data/spec/tengine/resource/provider/test_files/describe_host_nodes.json +0 -22
  40. data/spec/tengine/resource/provider/test_files/describe_images.json +0 -23
  41. data/spec/tengine/resource/provider/test_files/describe_instance_specs.json +0 -23
  42. data/spec/tengine/resource/provider/test_files/describe_instances.json +0 -56
  43. data/spec/tengine/resource/provider/test_files/run_instances.json +0 -30
  44. data/spec/tengine/resource/provider/test_files/terminate_instances.json +0 -3
  45. data/spec/tengine/resource/provider/wakame/00_describe_host_nodes_0_physical_servers.json +0 -8
  46. data/spec/tengine/resource/provider/wakame/01_describe_host_nodes_10_physical_servers.json +0 -139
  47. data/spec/tengine/resource/provider/wakame/02_describe_host_nodes_60_physical_servers.json +0 -795
  48. data/spec/tengine/resource/provider/wakame/10_describe_instances_0_virtual_servers.json +0 -8
  49. data/spec/tengine/resource/provider/wakame/11_describe_instances_10_virtual_servers.json +0 -469
  50. data/spec/tengine/resource/provider/wakame/12_describe_instances_after_run_instances.json +0 -280
  51. data/spec/tengine/resource/provider/wakame/13_describe_instances_after_terminate_instances.json +0 -279
  52. data/spec/tengine/resource/provider/wakame/20_describe_images_0_virtual_server_images.json +0 -8
  53. data/spec/tengine/resource/provider/wakame/21_describe_images_5_virtual_server_images.json +0 -84
  54. data/spec/tengine/resource/provider/wakame/22_describe_images_60_virtual_server_images.json +0 -856
  55. data/spec/tengine/resource/provider/wakame/30_describe_instance_specs_0_virtual_server_specs.json +0 -8
  56. data/spec/tengine/resource/provider/wakame/31_describe_instance_specs_4_virtual_server_specs.json +0 -66
  57. data/spec/tengine/resource/provider/wakame/40_run_instances_0_virtual_servers.json +0 -1
  58. data/spec/tengine/resource/provider/wakame/41_run_instances_1_virtual_servers.json +0 -22
  59. data/spec/tengine/resource/provider/wakame/42_run_instances_5_virtual_servers.json +0 -106
  60. data/spec/tengine/resource/provider/wakame/50_terminate_instances_0_virtual_servers.json +0 -1
  61. data/spec/tengine/resource/provider/wakame/51_terminate_instances_3_virtual_servers.json +0 -5
  62. data/spec/tengine/resource/provider/wakame/sync_physical_servers_spec.rb +0 -114
  63. data/spec/tengine/resource/provider/wakame/sync_virtual_server_images_spec.rb +0 -116
  64. data/spec/tengine/resource/provider/wakame/sync_virtual_server_types_spec.rb +0 -116
  65. data/spec/tengine/resource/provider/wakame/sync_virtual_servers_spec.rb +0 -216
  66. data/spec/tengine/resource/provider/wakame_api_spec.rb +0 -319
  67. data/spec/tengine/resource/provider/wakame_spec.rb +0 -339
  68. data/spec/tengine/resource/provider_spec.rb +0 -252
  69. data/spec/tengine/resource/server_spec.rb +0 -195
  70. data/spec/tengine/resource/test_files/.gitignore +0 -6
  71. data/spec/tengine/resource/test_files/00_describe_host_nodes_0_physical_servers.json +0 -8
  72. data/spec/tengine/resource/test_files/01_describe_host_nodes_10_physical_servers.json +0 -139
  73. data/spec/tengine/resource/test_files/02_describe_host_nodes_60_physical_servers.json +0 -795
  74. data/spec/tengine/resource/test_files/10_describe_instances_0_virtual_servers.json +0 -8
  75. data/spec/tengine/resource/test_files/11_describe_instances_10_virtual_servers.json +0 -469
  76. data/spec/tengine/resource/test_files/12_describe_instances_after_run_instances.json +0 -280
  77. data/spec/tengine/resource/test_files/13_describe_instances_after_terminate_instances.json +0 -279
  78. data/spec/tengine/resource/test_files/14_describe_instances_after_run_1_instance.json +0 -55
  79. data/spec/tengine/resource/test_files/20_describe_images_0_virtual_server_images.json +0 -8
  80. data/spec/tengine/resource/test_files/21_describe_images_5_virtual_server_images.json +0 -84
  81. data/spec/tengine/resource/test_files/22_describe_images_60_virtual_server_images.json +0 -856
  82. data/spec/tengine/resource/test_files/30_describe_instance_specs_0_virtual_server_specs.json +0 -8
  83. data/spec/tengine/resource/test_files/31_describe_instance_specs_4_virtual_server_specs.json +0 -66
  84. data/spec/tengine/resource/test_files/40_run_instances_0_virtual_servers.json +0 -1
  85. data/spec/tengine/resource/test_files/41_run_instances_1_virtual_servers.json +0 -22
  86. data/spec/tengine/resource/test_files/42_run_instances_5_virtual_servers.json +0 -106
  87. data/spec/tengine/resource/test_files/43_run_instances_1_virtual_servers_without_aws_availability_zone.json +0 -22
  88. data/spec/tengine/resource/test_files/50_terminate_instances_0_virtual_servers.json +0 -1
  89. data/spec/tengine/resource/test_files/51_terminate_instances_3_virtual_servers.json +0 -5
  90. data/spec/tengine/resource/virtual_server_image_spec.rb +0 -94
  91. data/spec/tengine/resource/virtual_server_spec.rb +0 -116
  92. data/spec/tengine/resource/virtual_server_type_spec.rb +0 -4
  93. data/spec/tengine/resource/watcher_spec.rb +0 -1027
  94. data/spec/tengine_resource_spec.rb +0 -5
  95. data/tengine_resource.gemspec +0 -172
  96. data/tmp/log/.gitignore +0 -1
@@ -1,280 +0,0 @@
1
- [
2
- {
3
- "owner_total": 6,
4
- "start": 0,
5
- "results": [
6
- {
7
- "id": "virtual_server_id_91",
8
- "host_node": "physical_server_id_01",
9
- "image_id": "virtual_server_image_uuid_01",
10
- "instance_spec_id": "virtual_server_spec_id_01",
11
- "state": "running",
12
- "network": [
13
- {
14
- "network_name": "nw-data",
15
- "ipaddr": ["192.168.2.91"],
16
- "nat_network_name": "nw-outside",
17
- "nat_ipaddr": ["172.16.0.91"],
18
- "dns_name": "jria301q.shpoolxx.vdc.local",
19
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
20
- },
21
- {
22
- "network_name": "nw-data_2",
23
- "ipaddr": ["192.168.3.91"],
24
- "nat_network_name": "nw-outside_2",
25
- "nat_ipaddr": ["172.16.1.91"],
26
- "dns_name": "jria301q.shpoolxx.vdc.local",
27
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
28
- }
29
- ],
30
- "vif": [
31
- {
32
- "ipv4": {
33
- "nat_address": "172.16.0.234",
34
- "address": "192.168.2.188"
35
- },
36
- "vif_id": "vif-aspojqs4"
37
- }
38
- ],
39
- "status": "online",
40
- "cpu_cores": 1,
41
- "memory_size": 256,
42
- "ha_enabled": 0,
43
- "arch": "x86_64",
44
- "hostname": "jria301q",
45
- "created_at": "2011-10-18T06:51:16Z",
46
- "netfilter_group_id": ["ng-demofgr"],
47
- "ssh_key_pair": null,
48
- "volume": [],
49
- "netfilter_group": ["default"]
50
- },
51
- {
52
- "id": "virtual_server_id_92",
53
- "host_node": "physical_server_id_01",
54
- "image_id": "virtual_server_image_uuid_01",
55
- "instance_spec_id": "virtual_server_spec_id_01",
56
- "state": "running",
57
- "network": [
58
- {
59
- "network_name": "nw-data",
60
- "ipaddr": ["192.168.2.92"],
61
- "nat_network_name": "nw-outside",
62
- "nat_ipaddr": ["172.16.0.92"],
63
- "dns_name": "jria301q.shpoolxx.vdc.local",
64
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
65
- },
66
- {
67
- "network_name": "nw-data_2",
68
- "ipaddr": ["192.168.3.92"],
69
- "nat_network_name": "nw-outside_2",
70
- "nat_ipaddr": ["172.16.1.92"],
71
- "dns_name": "jria301q.shpoolxx.vdc.local",
72
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
73
- }
74
- ],
75
- "vif": [
76
- {
77
- "ipv4": {
78
- "nat_address": "172.16.0.234",
79
- "address": "192.168.2.188"
80
- },
81
- "vif_id": "vif-aspojqs4"
82
- }
83
- ],
84
- "status": "online",
85
- "cpu_cores": 1,
86
- "memory_size": 256,
87
- "ha_enabled": 0,
88
- "arch": "x86_64",
89
- "hostname": "jria301q",
90
- "created_at": "2011-10-18T06:51:16Z",
91
- "netfilter_group_id": ["ng-demofgr"],
92
- "ssh_key_pair": null,
93
- "volume": [],
94
- "netfilter_group": ["default"]
95
- },
96
- {
97
- "id": "virtual_server_id_93",
98
- "host_node": "physical_server_id_01",
99
- "image_id": "virtual_server_image_uuid_01",
100
- "instance_spec_id": "virtual_server_spec_id_01",
101
- "state": "running",
102
- "network": [
103
- {
104
- "network_name": "nw-data",
105
- "ipaddr": ["192.168.2.93"],
106
- "nat_network_name": "nw-outside",
107
- "nat_ipaddr": ["172.16.0.93"],
108
- "dns_name": "jria301q.shpoolxx.vdc.local",
109
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
110
- },
111
- {
112
- "network_name": "nw-data_2",
113
- "ipaddr": ["192.168.3.93"],
114
- "nat_network_name": "nw-outside_2",
115
- "nat_ipaddr": ["172.16.1.93"],
116
- "dns_name": "jria301q.shpoolxx.vdc.local",
117
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
118
- }
119
- ],
120
- "vif": [
121
- {
122
- "ipv4": {
123
- "nat_address": "172.16.0.234",
124
- "address": "192.168.2.188"
125
- },
126
- "vif_id": "vif-aspojqs4"
127
- }
128
- ],
129
- "status": "online",
130
- "cpu_cores": 1,
131
- "memory_size": 256,
132
- "ha_enabled": 0,
133
- "arch": "x86_64",
134
- "hostname": "jria301q",
135
- "created_at": "2011-10-18T06:51:16Z",
136
- "netfilter_group_id": ["ng-demofgr"],
137
- "ssh_key_pair": null,
138
- "volume": [],
139
- "netfilter_group": ["default"]
140
- },
141
- {
142
- "id": "virtual_server_id_94",
143
- "host_node": "physical_server_id_01",
144
- "image_id": "virtual_server_image_uuid_01",
145
- "instance_spec_id": "virtual_server_spec_id_01",
146
- "state": "running",
147
- "network": [
148
- {
149
- "network_name": "nw-data",
150
- "ipaddr": ["192.168.2.94"],
151
- "nat_network_name": "nw-outside",
152
- "nat_ipaddr": ["172.16.0.94"],
153
- "dns_name": "jria301q.shpoolxx.vdc.local",
154
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
155
- },
156
- {
157
- "network_name": "nw-data_2",
158
- "ipaddr": ["192.168.3.94"],
159
- "nat_network_name": "nw-outside_2",
160
- "nat_ipaddr": ["172.16.1.94"],
161
- "dns_name": "jria301q.shpoolxx.vdc.local",
162
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
163
- }
164
- ],
165
- "vif": [
166
- {
167
- "ipv4": {
168
- "nat_address": "172.16.0.234",
169
- "address": "192.168.2.188"
170
- },
171
- "vif_id": "vif-aspojqs4"
172
- }
173
- ],
174
- "status": "online",
175
- "cpu_cores": 1,
176
- "memory_size": 256,
177
- "ha_enabled": 0,
178
- "arch": "x86_64",
179
- "hostname": "jria301q",
180
- "created_at": "2011-10-18T06:51:16Z",
181
- "netfilter_group_id": ["ng-demofgr"],
182
- "ssh_key_pair": null,
183
- "volume": [],
184
- "netfilter_group": ["default"]
185
- },
186
- {
187
- "id": "virtual_server_id_095",
188
- "host_node": "physical_server_id_01",
189
- "image_id": "virtual_server_image_uuid_01",
190
- "instance_spec_id": "virtual_server_spec_id_01",
191
- "state": "running",
192
- "network": [
193
- {
194
- "network_name": "nw-data",
195
- "ipaddr": ["192.168.2.95"],
196
- "nat_network_name": "nw-outside",
197
- "nat_ipaddr": ["172.16.0.95"],
198
- "dns_name": "jria301q.shpoolxx.vdc.local",
199
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
200
- },
201
- {
202
- "network_name": "nw-data_2",
203
- "ipaddr": ["192.168.3.95"],
204
- "nat_network_name": "nw-outside_2",
205
- "nat_ipaddr": ["172.16.1.95"],
206
- "dns_name": "jria301q.shpoolxx.vdc.local",
207
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
208
- }
209
- ],
210
- "vif": [
211
- {
212
- "ipv4": {
213
- "nat_address": "172.16.0.234",
214
- "address": "192.168.2.188"
215
- },
216
- "vif_id": "vif-aspojqs4"
217
- }
218
- ],
219
- "status": "online",
220
- "cpu_cores": 1,
221
- "memory_size": 256,
222
- "ha_enabled": 0,
223
- "arch": "x86_64",
224
- "hostname": "jria301q",
225
- "created_at": "2011-10-18T06:51:16Z",
226
- "netfilter_group_id": ["ng-demofgr"],
227
- "ssh_key_pair": null,
228
- "volume": [],
229
- "netfilter_group": ["default"]
230
- },
231
- {
232
- "id": "virtual_server_id_96",
233
- "host_node": "physical_server_id_01",
234
- "image_id": "virtual_server_image_uuid_01",
235
- "instance_spec_id": "virtual_server_spec_id_01",
236
- "state": "running",
237
- "network": [
238
- {
239
- "network_name": "nw-data",
240
- "ipaddr": ["192.168.2.96"],
241
- "nat_network_name": "nw-outside",
242
- "nat_ipaddr": ["172.16.0.96"],
243
- "dns_name": "jria301q.shpoolxx.vdc.local",
244
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
245
- },
246
- {
247
- "network_name": "nw-data_2",
248
- "ipaddr": ["192.168.3.96"],
249
- "nat_network_name": "nw-outside_2",
250
- "nat_ipaddr": ["172.16.1.96"],
251
- "dns_name": "jria301q.shpoolxx.vdc.local",
252
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
253
- }
254
- ],
255
- "vif": [
256
- {
257
- "ipv4": {
258
- "nat_address": "172.16.0.234",
259
- "address": "192.168.2.188"
260
- },
261
- "vif_id": "vif-aspojqs4"
262
- }
263
- ],
264
- "status": "online",
265
- "cpu_cores": 1,
266
- "memory_size": 256,
267
- "ha_enabled": 0,
268
- "arch": "x86_64",
269
- "hostname": "jria301q",
270
- "created_at": "2011-10-18T06:51:16Z",
271
- "netfilter_group_id": ["ng-demofgr"],
272
- "ssh_key_pair": null,
273
- "volume": [],
274
- "netfilter_group": ["default"]
275
- }
276
-
277
- ],
278
- "limit": null
279
- }
280
- ]
@@ -1,279 +0,0 @@
1
- [
2
- {
3
- "owner_total": 6,
4
- "start": 0,
5
- "results": [
6
- {
7
- "id": "virtual_server_id_91",
8
- "host_node": "physical_server_id_01",
9
- "image_id": "virtual_server_image_uuid_01",
10
- "instance_spec_id": "virtual_server_spec_id_01",
11
- "state": "terminated",
12
- "network": [
13
- {
14
- "network_name": "nw-data",
15
- "ipaddr": ["192.168.2.91"],
16
- "nat_network_name": "nw-outside",
17
- "nat_ipaddr": ["172.16.0.91"],
18
- "dns_name": "jria301q.shpoolxx.vdc.local",
19
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
20
- },
21
- {
22
- "network_name": "nw-data_2",
23
- "ipaddr": ["192.168.3.91"],
24
- "nat_network_name": "nw-outside_2",
25
- "nat_ipaddr": ["172.16.1.91"],
26
- "dns_name": "jria301q.shpoolxx.vdc.local",
27
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
28
- }
29
- ],
30
- "vif": [
31
- {
32
- "ipv4": {
33
- "nat_address": "172.16.0.234",
34
- "address": "192.168.2.188"
35
- },
36
- "vif_id": "vif-aspojqs4"
37
- }
38
- ],
39
- "status": "online",
40
- "cpu_cores": 1,
41
- "memory_size": 256,
42
- "ha_enabled": 0,
43
- "arch": "x86_64",
44
- "hostname": "jria301q",
45
- "created_at": "2011-10-18T06:51:16Z",
46
- "netfilter_group_id": ["ng-demofgr"],
47
- "ssh_key_pair": null,
48
- "volume": [],
49
- "netfilter_group": ["default"]
50
- },
51
- {
52
- "id": "virtual_server_id_92",
53
- "host_node": "physical_server_id_01",
54
- "image_id": "virtual_server_image_uuid_01",
55
- "instance_spec_id": "virtual_server_spec_id_01",
56
- "state": "terminated",
57
- "network": [
58
- {
59
- "network_name": "nw-data",
60
- "ipaddr": ["192.168.2.92"],
61
- "nat_network_name": "nw-outside",
62
- "nat_ipaddr": ["172.16.0.92"],
63
- "dns_name": "jria301q.shpoolxx.vdc.local",
64
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
65
- },
66
- {
67
- "network_name": "nw-data_2",
68
- "ipaddr": ["192.168.3.92"],
69
- "nat_network_name": "nw-outside_2",
70
- "nat_ipaddr": ["172.16.1.92"],
71
- "dns_name": "jria301q.shpoolxx.vdc.local",
72
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
73
- }
74
- ],
75
- "vif": [
76
- {
77
- "ipv4": {
78
- "nat_address": "172.16.0.234",
79
- "address": "192.168.2.188"
80
- },
81
- "vif_id": "vif-aspojqs4"
82
- }
83
- ],
84
- "status": "online",
85
- "cpu_cores": 1,
86
- "memory_size": 256,
87
- "ha_enabled": 0,
88
- "arch": "x86_64",
89
- "hostname": "jria301q",
90
- "created_at": "2011-10-18T06:51:16Z",
91
- "netfilter_group_id": ["ng-demofgr"],
92
- "ssh_key_pair": null,
93
- "volume": [],
94
- "netfilter_group": ["default"]
95
- },
96
- {
97
- "id": "virtual_server_id_93",
98
- "host_node": "physical_server_id_01",
99
- "image_id": "virtual_server_image_uuid_01",
100
- "instance_spec_id": "virtual_server_spec_id_01",
101
- "state": "shuttingdown",
102
- "network": [
103
- {
104
- "network_name": "nw-data",
105
- "ipaddr": ["192.168.2.93"],
106
- "nat_network_name": "nw-outside",
107
- "nat_ipaddr": ["172.16.0.93"],
108
- "dns_name": "jria301q.shpoolxx.vdc.local",
109
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
110
- },
111
- {
112
- "network_name": "nw-data_2",
113
- "ipaddr": ["192.168.3.93"],
114
- "nat_network_name": "nw-outside_2",
115
- "nat_ipaddr": ["172.16.1.93"],
116
- "dns_name": "jria301q.shpoolxx.vdc.local",
117
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
118
- }
119
- ],
120
- "vif": [
121
- {
122
- "ipv4": {
123
- "nat_address": "172.16.0.234",
124
- "address": "192.168.2.188"
125
- },
126
- "vif_id": "vif-aspojqs4"
127
- }
128
- ],
129
- "status": "online",
130
- "cpu_cores": 1,
131
- "memory_size": 256,
132
- "ha_enabled": 0,
133
- "arch": "x86_64",
134
- "hostname": "jria301q",
135
- "created_at": "2011-10-18T06:51:16Z",
136
- "netfilter_group_id": ["ng-demofgr"],
137
- "ssh_key_pair": null,
138
- "volume": [],
139
- "netfilter_group": ["default"]
140
- },
141
- {
142
- "id": "virtual_server_id_94",
143
- "host_node": "physical_server_id_01",
144
- "image_id": "virtual_server_image_uuid_01",
145
- "instance_spec_id": "virtual_server_spec_id_01",
146
- "state": "running",
147
- "network": [
148
- {
149
- "network_name": "nw-data",
150
- "ipaddr": ["192.168.2.94"],
151
- "nat_network_name": "nw-outside",
152
- "nat_ipaddr": ["172.16.0.94"],
153
- "dns_name": "jria301q.shpoolxx.vdc.local",
154
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
155
- },
156
- {
157
- "network_name": "nw-data_2",
158
- "ipaddr": ["192.168.3.94"],
159
- "nat_network_name": "nw-outside_2",
160
- "nat_ipaddr": ["172.16.1.94"],
161
- "dns_name": "jria301q.shpoolxx.vdc.local",
162
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
163
- }
164
- ],
165
- "vif": [
166
- {
167
- "ipv4": {
168
- "nat_address": "172.16.0.234",
169
- "address": "192.168.2.188"
170
- },
171
- "vif_id": "vif-aspojqs4"
172
- }
173
- ],
174
- "status": "online",
175
- "cpu_cores": 1,
176
- "memory_size": 256,
177
- "ha_enabled": 0,
178
- "arch": "x86_64",
179
- "hostname": "jria301q",
180
- "created_at": "2011-10-18T06:51:16Z",
181
- "netfilter_group_id": ["ng-demofgr"],
182
- "ssh_key_pair": null,
183
- "volume": [],
184
- "netfilter_group": ["default"]
185
- },
186
- {
187
- "id": "virtual_server_id_95",
188
- "host_node": "physical_server_id_01",
189
- "image_id": "virtual_server_image_uuid_01",
190
- "instance_spec_id": "virtual_server_spec_id_01",
191
- "state": "running",
192
- "network": [
193
- {
194
- "network_name": "nw-data",
195
- "ipaddr": ["192.168.2.95"],
196
- "nat_network_name": "nw-outside",
197
- "nat_ipaddr": ["172.16.0.95"],
198
- "dns_name": "jria301q.shpoolxx.vdc.local",
199
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
200
- },
201
- {
202
- "network_name": "nw-data_2",
203
- "ipaddr": ["192.168.3.95"],
204
- "nat_network_name": "nw-outside_2",
205
- "nat_ipaddr": ["172.16.1.95"],
206
- "dns_name": "jria301q.shpoolxx.vdc.local",
207
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
208
- }
209
- ],
210
- "vif": [
211
- {
212
- "ipv4": {
213
- "nat_address": "172.16.0.234",
214
- "address": "192.168.2.188"
215
- },
216
- "vif_id": "vif-aspojqs4"
217
- }
218
- ],
219
- "status": "online",
220
- "cpu_cores": 1,
221
- "memory_size": 256,
222
- "ha_enabled": 0,
223
- "arch": "x86_64",
224
- "hostname": "jria301q",
225
- "created_at": "2011-10-18T06:51:16Z",
226
- "netfilter_group_id": ["ng-demofgr"],
227
- "ssh_key_pair": null,
228
- "volume": [],
229
- "netfilter_group": ["default"]
230
- },
231
- {
232
- "id": "virtual_server_id_96",
233
- "host_node": "physical_server_id_01",
234
- "image_id": "virtual_server_image_uuid_01",
235
- "instance_spec_id": "virtual_server_spec_id_01",
236
- "state": "running",
237
- "network": [
238
- {
239
- "network_name": "nw-data",
240
- "ipaddr": ["192.168.2.96"],
241
- "nat_network_name": "nw-outside",
242
- "nat_ipaddr": ["172.16.0.96"],
243
- "dns_name": "jria301q.shpoolxx.vdc.local",
244
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
245
- },
246
- {
247
- "network_name": "nw-data_2",
248
- "ipaddr": ["192.168.3.96"],
249
- "nat_network_name": "nw-outside_2",
250
- "nat_ipaddr": ["172.16.1.96"],
251
- "dns_name": "jria301q.shpoolxx.vdc.local",
252
- "nat_dns_name": "jria301q.shpoolxx.vdc.public"
253
- }
254
- ],
255
- "vif": [
256
- {
257
- "ipv4": {
258
- "nat_address": "172.16.0.234",
259
- "address": "192.168.2.188"
260
- },
261
- "vif_id": "vif-aspojqs4"
262
- }
263
- ],
264
- "status": "online",
265
- "cpu_cores": 1,
266
- "memory_size": 256,
267
- "ha_enabled": 0,
268
- "arch": "x86_64",
269
- "hostname": "jria301q",
270
- "created_at": "2011-10-18T06:51:16Z",
271
- "netfilter_group_id": ["ng-demofgr"],
272
- "ssh_key_pair": null,
273
- "volume": [],
274
- "netfilter_group": ["default"]
275
- }
276
- ],
277
- "limit": null
278
- }
279
- ]