solusvm 1.4.0 → 2.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/LICENSE +1 -1
- data/README.markdown +159 -116
- data/Rakefile +3 -33
- data/bin/solusvm +3 -4
- data/lib/solusvm.rb +1 -3
- data/lib/solusvm/base.rb +101 -46
- data/lib/solusvm/cli.rb +8 -8
- data/lib/solusvm/cli/base_cli.rb +3 -3
- data/lib/solusvm/cli/client_cli.rb +3 -5
- data/lib/solusvm/cli/general_cli.rb +3 -5
- data/lib/solusvm/cli/node_cli.rb +3 -5
- data/lib/solusvm/cli/reseller_cli.rb +3 -5
- data/lib/solusvm/cli/server_cli.rb +4 -6
- data/lib/solusvm/client.rb +45 -27
- data/lib/solusvm/errors.rb +3 -0
- data/lib/solusvm/general.rb +11 -12
- data/lib/solusvm/hash.rb +1 -11
- data/lib/solusvm/node.rb +33 -21
- data/lib/solusvm/reseller.rb +53 -49
- data/lib/solusvm/server.rb +188 -52
- data/lib/solusvm/version.rb +2 -2
- data/test/cli/test_base_cli.rb +14 -4
- data/test/cli/test_client_cli.rb +13 -13
- data/test/cli/test_general_cli.rb +7 -7
- data/test/cli/test_node_cli.rb +13 -13
- data/test/cli/test_reseller_cli.rb +11 -11
- data/test/cli/test_server_cli.rb +61 -61
- data/test/sham_rack_stubs/base/parse-response.json +4 -0
- data/test/sham_rack_stubs/client/authenticate.json +4 -0
- data/test/sham_rack_stubs/client/change-password.json +6 -0
- data/test/sham_rack_stubs/client/create.json +9 -0
- data/test/sham_rack_stubs/client/delete.json +4 -0
- data/test/sham_rack_stubs/client/exists.json +4 -0
- data/test/sham_rack_stubs/client/list-empty.json +5 -0
- data/test/sham_rack_stubs/client/list.json +30 -0
- data/test/sham_rack_stubs/general/isos-empty.json +5 -0
- data/test/sham_rack_stubs/general/isos.json +5 -0
- data/test/sham_rack_stubs/general/plans-empty.json +5 -0
- data/test/sham_rack_stubs/general/plans.json +5 -0
- data/test/sham_rack_stubs/general/templates-empty.json +7 -0
- data/test/sham_rack_stubs/general/templates.json +7 -0
- data/test/sham_rack_stubs/generic/error.json +4 -0
- data/test/sham_rack_stubs/node/available-ips-empty.json +6 -0
- data/test/sham_rack_stubs/node/available-ips.json +6 -0
- data/test/sham_rack_stubs/node/ids.json +5 -0
- data/test/sham_rack_stubs/node/list-empty.json +5 -0
- data/test/sham_rack_stubs/node/list-groups.json +5 -0
- data/test/sham_rack_stubs/node/list.json +5 -0
- data/test/sham_rack_stubs/node/statistics.json +21 -0
- data/test/sham_rack_stubs/node/virtualservers-empty.json +5 -0
- data/test/sham_rack_stubs/node/virtualservers.json +19 -0
- data/test/sham_rack_stubs/node/xenresources.json +6 -0
- data/test/sham_rack_stubs/reseller/change-resources.json +18 -0
- data/test/sham_rack_stubs/reseller/create.json +25 -0
- data/test/sham_rack_stubs/reseller/delete.json +4 -0
- data/test/sham_rack_stubs/reseller/info.json +24 -0
- data/test/sham_rack_stubs/reseller/list-empty.json +5 -0
- data/test/sham_rack_stubs/reseller/list.json +5 -0
- data/test/sham_rack_stubs/server/add-ip.json +5 -0
- data/test/sham_rack_stubs/server/boot.json +4 -0
- data/test/sham_rack_stubs/server/change-bootorder.json +4 -0
- data/test/sham_rack_stubs/server/change-hostname.json +5 -0
- data/test/sham_rack_stubs/server/change-owner.json +4 -0
- data/test/sham_rack_stubs/server/change-plan.json +4 -0
- data/test/sham_rack_stubs/server/change-rootpassword.json +5 -0
- data/test/sham_rack_stubs/server/change-vncpass.json +5 -0
- data/test/sham_rack_stubs/server/console.json +13 -0
- data/test/sham_rack_stubs/server/create.json +13 -0
- data/test/sham_rack_stubs/server/del-ip.json +4 -0
- data/test/sham_rack_stubs/server/exists.json +4 -0
- data/test/sham_rack_stubs/server/info-all.json +16 -0
- data/test/sham_rack_stubs/server/info.json +15 -0
- data/test/sham_rack_stubs/server/mountiso.json +4 -0
- data/test/sham_rack_stubs/server/network-disable.json +4 -0
- data/test/sham_rack_stubs/server/network-enable.json +4 -0
- data/test/sham_rack_stubs/server/pae-disable.json +4 -0
- data/test/sham_rack_stubs/server/pae-enable.json +4 -0
- data/test/sham_rack_stubs/server/reboot.json +4 -0
- data/test/sham_rack_stubs/server/rebuild.json +4 -0
- data/test/sham_rack_stubs/server/resume.json +4 -0
- data/test/sham_rack_stubs/server/shutdown.json +4 -0
- data/test/sham_rack_stubs/server/status.json +4 -0
- data/test/sham_rack_stubs/server/suspend.json +4 -0
- data/test/sham_rack_stubs/server/terminate.json +4 -0
- data/test/sham_rack_stubs/server/tun-disable.json +4 -0
- data/test/sham_rack_stubs/server/tun-enable.json +4 -0
- data/test/sham_rack_stubs/server/unmountiso.json +4 -0
- data/test/sham_rack_stubs/server/vnc.json +8 -0
- data/test/solusvm/test_base.rb +34 -56
- data/test/solusvm/test_cli.rb +3 -3
- data/test/solusvm/test_client.rb +56 -66
- data/test/solusvm/test_general.rb +34 -19
- data/test/solusvm/test_hash.rb +0 -9
- data/test/solusvm/test_node.rb +66 -72
- data/test/solusvm/test_reseller.rb +47 -58
- data/test/solusvm/test_server.rb +149 -164
- data/test/test_helper.rb +43 -31
- metadata +173 -189
- data/.document +0 -5
- data/.gitignore +0 -25
- data/.travis.yml +0 -12
- data/solusvm.gemspec +0 -33
- data/test/vcr_cassettes/base/invalid_key.yml +0 -19
- data/test/vcr_cassettes/base/invalid_status.yml +0 -19
- data/test/vcr_cassettes/base/nonexistent_node.yml +0 -19
- data/test/vcr_cassettes/base/parse_response.yml +0 -28
- data/test/vcr_cassettes/base/statusmsg.yml +0 -28
- data/test/vcr_cassettes/base/successful.yml +0 -68
- data/test/vcr_cassettes/base/successful_instance_config.yml +0 -28
- data/test/vcr_cassettes/base/unauthorized_ip.yml +0 -19
- data/test/vcr_cassettes/client/authenticate.yml +0 -37
- data/test/vcr_cassettes/client/change_password.yml +0 -39
- data/test/vcr_cassettes/client/create.yml +0 -42
- data/test/vcr_cassettes/client/delete.yml +0 -37
- data/test/vcr_cassettes/client/exists.yml +0 -20
- data/test/vcr_cassettes/client/list.yml +0 -66
- data/test/vcr_cassettes/general/isos.yml +0 -38
- data/test/vcr_cassettes/general/plans.yml +0 -38
- data/test/vcr_cassettes/general/templates.yml +0 -38
- data/test/vcr_cassettes/node/available_ips.yml +0 -41
- data/test/vcr_cassettes/node/ids.yml +0 -21
- data/test/vcr_cassettes/node/list.yml +0 -38
- data/test/vcr_cassettes/node/list_groups.yml +0 -20
- data/test/vcr_cassettes/node/statistics.yml +0 -32
- data/test/vcr_cassettes/node/virtualservers.yml +0 -67
- data/test/vcr_cassettes/node/xenresources.yml +0 -22
- data/test/vcr_cassettes/reseller/change_resources.yml +0 -27
- data/test/vcr_cassettes/reseller/create.yml +0 -27
- data/test/vcr_cassettes/reseller/delete.yml +0 -15
- data/test/vcr_cassettes/reseller/info.yml +0 -27
- data/test/vcr_cassettes/reseller/list.yml +0 -27
- data/test/vcr_cassettes/server/.yml +0 -1017
- data/test/vcr_cassettes/server/add_ip.yml +0 -15
- data/test/vcr_cassettes/server/boot.yml +0 -15
- data/test/vcr_cassettes/server/change_bootorder.yml +0 -15
- data/test/vcr_cassettes/server/change_consolepass.yml +0 -16
- data/test/vcr_cassettes/server/change_hostname.yml +0 -15
- data/test/vcr_cassettes/server/change_owner.yml +0 -15
- data/test/vcr_cassettes/server/change_plan.yml +0 -15
- data/test/vcr_cassettes/server/change_rootpassword.yml +0 -15
- data/test/vcr_cassettes/server/change_vncpass.yml +0 -15
- data/test/vcr_cassettes/server/console.yml +0 -28
- data/test/vcr_cassettes/server/create.yml +0 -27
- data/test/vcr_cassettes/server/del_ip.yml +0 -15
- data/test/vcr_cassettes/server/exists.yml +0 -15
- data/test/vcr_cassettes/server/info.yml +0 -27
- data/test/vcr_cassettes/server/info_all.yml +0 -15
- data/test/vcr_cassettes/server/mountiso.yml +0 -15
- data/test/vcr_cassettes/server/network_disable.yml +0 -15
- data/test/vcr_cassettes/server/network_enable.yml +0 -15
- data/test/vcr_cassettes/server/pae_disable.yml +0 -15
- data/test/vcr_cassettes/server/pae_enable.yml +0 -15
- data/test/vcr_cassettes/server/reboot.yml +0 -15
- data/test/vcr_cassettes/server/rebuild.yml +0 -15
- data/test/vcr_cassettes/server/resume.yml +0 -15
- data/test/vcr_cassettes/server/shutdown.yml +0 -15
- data/test/vcr_cassettes/server/status.yml +0 -15
- data/test/vcr_cassettes/server/suspend.yml +0 -15
- data/test/vcr_cassettes/server/terminate.yml +0 -27
- data/test/vcr_cassettes/server/tun_disable.yml +0 -15
- data/test/vcr_cassettes/server/tun_enable.yml +0 -15
- data/test/vcr_cassettes/server/unmountiso.yml +0 -15
- data/test/vcr_cassettes/server/vnc.yml +0 -15
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://www.example.com/api?maxvps=10&action=reseller-modifyresources&username=vps123&id=api_id&key=api_key
|
6
|
-
body: ''
|
7
|
-
headers: {}
|
8
|
-
response:
|
9
|
-
status:
|
10
|
-
code: 200
|
11
|
-
message: OK
|
12
|
-
body: ! '<status>success</status><statusmsg>Successfully modified reseller resources</statusmsg><maxvps>10</maxvps><maxdisk>21474836480</maxdisk><maxmem>10737418240</maxmem><maxusers>20</maxusers><maxipv4>4</maxipv4><maxipv6>6</maxipv6><maxburst>10738466816</maxburst><maxbw>107374182400</maxbw><nodegroupids>14,11,9</nodegroupids><mediagroupids>14,11,9</mediagroupids><xenpv>1</xenpv><xenhvm>1</xenhvm><kvm>1</kvm><openvz>1</openvz> '
|
13
|
-
http_version: '1.1'
|
14
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
15
|
-
- request:
|
16
|
-
method: get
|
17
|
-
uri: http://www.example.com/api?action=reseller-modifyresources&username=vps13&id=api_id&key=api_key
|
18
|
-
body: ''
|
19
|
-
headers: {}
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
body: <status>error</status><statusmsg>error message</statusmsg>
|
25
|
-
http_version: "1.1"
|
26
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
27
|
-
recorded_with: VCR 2.0.0
|
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://www.example.com/api?username=reseller123&password=123456&email=reseller3%40email.com&firstname=Phill&lastname=Smith&action=reseller-create&id=api_id&key=api_key
|
6
|
-
body: ''
|
7
|
-
headers: {}
|
8
|
-
response:
|
9
|
-
status:
|
10
|
-
code: 200
|
11
|
-
message: OK
|
12
|
-
body: ! '<status>success</status><statusmsg>Successfully added reseller</statusmsg><username>reseller123</username><password>123456</password><email>reseller3@email.com</email><firstname>Phill</firstname><lastname>Smith</lastname><company>FastServers</company><usernameprefix>vpsuser</usernameprefix><maxvps>10</maxvps><maxdisk>21474836480</maxdisk><maxmem>10737418240</maxmem><maxusers>20</maxusers><maxipv4>4</maxipv4><maxipv6>6</maxipv6><maxburst>10738466816</maxburst><maxbw>107374182400</maxbw><nodegroupids>14,11,9</nodegroupids><mediagroupids>14,11,9</mediagroupids><xenpv>1</xenpv><xenhvm>1</xenhvm><kvm>1</kvm><openvz>1</openvz> '
|
13
|
-
http_version: '1.1'
|
14
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
15
|
-
- request:
|
16
|
-
method: get
|
17
|
-
uri: http://www.example.com/api?action=reseller-create&id=api_id&key=api_key
|
18
|
-
body: ''
|
19
|
-
headers: {}
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
body: <status>error</status><statusmsg>error message</statusmsg>
|
25
|
-
http_version: "1.1"
|
26
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
27
|
-
recorded_with: VCR 2.0.0
|
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://www.example.com/api?action=reseller-delete&username=vps123&id=api_id&key=api_key
|
6
|
-
body: ''
|
7
|
-
headers: {}
|
8
|
-
response:
|
9
|
-
status:
|
10
|
-
code: 200
|
11
|
-
message: OK
|
12
|
-
body: <status>success</status><statusmsg>Reseller deleted</statusmsg>
|
13
|
-
http_version: '1.1'
|
14
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
15
|
-
recorded_with: VCR 2.0.0
|
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://www.example.com/api?action=reseller-info&username=vps123&id=api_id&key=api_key
|
6
|
-
body: ''
|
7
|
-
headers: {}
|
8
|
-
response:
|
9
|
-
status:
|
10
|
-
code: 200
|
11
|
-
message: OK
|
12
|
-
body: ! '<status>success</status><statusmsg>Successfully added reseller</statusmsg><username>reseller123</username><password>123456</password><email>reseller3@email.com</email><firstname>Phill</firstname><lastname>Smith</lastname><company>FastServers</company><usernameprefix>vpsuser</usernameprefix><maxvps>10</maxvps><maxdisk>21474836480</maxdisk><maxmem>10737418240</maxmem><maxusers>20</maxusers><maxipv4>4</maxipv4><maxipv6>6</maxipv6><maxburst>10738466816</maxburst><maxbw>107374182400</maxbw><nodegroupids>14,11,9</nodegroupids><mediagroupids>14,11,9</mediagroupids><xenpv>1</xenpv><xenhvm>1</xenhvm><kvm>1</kvm><openvz>1</openvz> '
|
13
|
-
http_version: '1.1'
|
14
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
15
|
-
- request:
|
16
|
-
method: get
|
17
|
-
uri: http://www.example.com/api?action=reseller-info&username=vps13&id=api_id&key=api_key
|
18
|
-
body: ''
|
19
|
-
headers: {}
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
body: <status>error</status><statusmsg>error message</statusmsg>
|
25
|
-
http_version: "1.1"
|
26
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
27
|
-
recorded_with: VCR 2.0.0
|
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://www.example.com/api?action=reseller-list&id=api_id1&key=api_key
|
6
|
-
body: ''
|
7
|
-
headers: {}
|
8
|
-
response:
|
9
|
-
status:
|
10
|
-
code: 200
|
11
|
-
message: OK
|
12
|
-
body: <status>success</status><statusmsg></statusmsg><usernames>username1,username2,username3</usernames>
|
13
|
-
http_version: '1.1'
|
14
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
15
|
-
- request:
|
16
|
-
method: get
|
17
|
-
uri: http://www.example.com/api?action=reseller-list&id=api_id2&key=api_key
|
18
|
-
body: ''
|
19
|
-
headers: {}
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
body: <status>error</status><statusmsg>error message</statusmsg>
|
25
|
-
http_version: "1.1"
|
26
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
27
|
-
recorded_with: VCR 2.0.0
|
@@ -1,1017 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: ''
|
6
|
-
body: ''
|
7
|
-
headers: {}
|
8
|
-
response:
|
9
|
-
status:
|
10
|
-
code: 200
|
11
|
-
message: OK
|
12
|
-
body: <status>success</status><statusmsg>Virtual server booted</statusmsg>
|
13
|
-
http_version: '1.1'
|
14
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
15
|
-
- request:
|
16
|
-
method: get
|
17
|
-
uri: ''
|
18
|
-
body: ''
|
19
|
-
headers: {}
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
body: <status>success</status><statusmsg>Boot order changed</statusmsg>
|
25
|
-
http_version: '1.1'
|
26
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
27
|
-
- request:
|
28
|
-
method: get
|
29
|
-
uri: ''
|
30
|
-
body: ''
|
31
|
-
headers: {}
|
32
|
-
response:
|
33
|
-
status:
|
34
|
-
code: 200
|
35
|
-
message: OK
|
36
|
-
body: ! '<status>success</status><statusmsg>Virtual server console password changed</statusmsg>
|
37
|
-
<consolepassword></consolepassword> '
|
38
|
-
http_version: '1.1'
|
39
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
40
|
-
- request:
|
41
|
-
method: get
|
42
|
-
uri: ''
|
43
|
-
body: ''
|
44
|
-
headers: {}
|
45
|
-
response:
|
46
|
-
status:
|
47
|
-
code: 200
|
48
|
-
message: OK
|
49
|
-
body: <status>success</status><statusmsg>Successfully changed owner</statusmsg>
|
50
|
-
http_version: '1.1'
|
51
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: ''
|
55
|
-
body: ''
|
56
|
-
headers: {}
|
57
|
-
response:
|
58
|
-
status:
|
59
|
-
code: 200
|
60
|
-
message: OK
|
61
|
-
body: <status>success</status><statusmsg>Virtual server updated</statusmsg>
|
62
|
-
http_version: '1.1'
|
63
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
64
|
-
- request:
|
65
|
-
method: get
|
66
|
-
uri: ''
|
67
|
-
body: ''
|
68
|
-
headers: {}
|
69
|
-
response:
|
70
|
-
status:
|
71
|
-
code: 200
|
72
|
-
message: OK
|
73
|
-
body: <status>success</status><statusmsg>Virtual server vnc password changed</statusmsg>
|
74
|
-
<vncpassword></vncpassword>
|
75
|
-
http_version: '1.1'
|
76
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
77
|
-
- request:
|
78
|
-
method: get
|
79
|
-
uri: ''
|
80
|
-
body: ''
|
81
|
-
headers: {}
|
82
|
-
response:
|
83
|
-
status:
|
84
|
-
code: 200
|
85
|
-
message: OK
|
86
|
-
body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><consoleip>theconsoleip</consoleip><consoleport>theconsoleport</consoleport><consolepassword>theconsolepassword</consolepassword><consoleusername>theconsoleusername</consoleusername>
|
87
|
-
http_version: '1.1'
|
88
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
89
|
-
- request:
|
90
|
-
method: get
|
91
|
-
uri: ''
|
92
|
-
body: ''
|
93
|
-
headers: {}
|
94
|
-
response:
|
95
|
-
status:
|
96
|
-
code: 200
|
97
|
-
message: OK
|
98
|
-
body: <status>success</status><statusmsg>Virtual server created</statusmsg><mainipaddress>123.123.123.123</mainipaddress><extraipaddress>122.122.122.122,111.111.111.111</extraipaddress><rootpassword>123456</rootpassword><vserverid>100</vserverid><consoleuser>console-123</consoleuser><consolepassword>123456</consolepassword><hostname>server.hostname.com</hostname><virtid>vm101|101</virtid>
|
99
|
-
http_version: '1.1'
|
100
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
101
|
-
- request:
|
102
|
-
method: get
|
103
|
-
uri: ''
|
104
|
-
body: ''
|
105
|
-
headers: {}
|
106
|
-
response:
|
107
|
-
status:
|
108
|
-
code: 200
|
109
|
-
message: OK
|
110
|
-
body: <status>success</status><statusmsg>Virtual server exists</statusmsg>
|
111
|
-
http_version: '1.1'
|
112
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
113
|
-
- request:
|
114
|
-
method: get
|
115
|
-
uri: ''
|
116
|
-
body: ''
|
117
|
-
headers: {}
|
118
|
-
response:
|
119
|
-
status:
|
120
|
-
code: 200
|
121
|
-
message: OK
|
122
|
-
body: <status>success</status><statusmsg>Virtual server hostname changed</statusmsg><hostname>hostname</hostname>
|
123
|
-
http_version: '1.1'
|
124
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
125
|
-
- request:
|
126
|
-
method: get
|
127
|
-
uri: ''
|
128
|
-
body: ''
|
129
|
-
headers: {}
|
130
|
-
response:
|
131
|
-
status:
|
132
|
-
code: 200
|
133
|
-
message: OK
|
134
|
-
body: <vserverid>1</vserverid><ctid-xid>1</ctid-xid><clientid>1</clientid><ipaddress>123.123.123.123</ipaddress><hostname>host.example.com</hostname><template>vps1</template><hdd>123456</hdd><memory>123456</memory><swap-burst>swp</swap-burst><type>xenhvm</type>
|
135
|
-
http_version: '1.1'
|
136
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
137
|
-
- request:
|
138
|
-
method: get
|
139
|
-
uri: ''
|
140
|
-
body: ''
|
141
|
-
headers: {}
|
142
|
-
response:
|
143
|
-
status:
|
144
|
-
code: 200
|
145
|
-
message: OK
|
146
|
-
body: <status>success</status><statusmsg></statusmsg><node>tydeus</node><state>online</state><mainipaddress>123.123.123.123</mainipaddress><ipaddresses>123.123.123.123</ipaddresses><type>openvz</type><bandwidth>16106127360000,5370261749139,10735865610861,33</bandwidth>.<memory>1073741824,187097088,886644736,17</memory>.<hdd>236223201280,103640707072,132582494208,44</hdd>.<trafficgraph>/graphs/9/214/214-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</trafficgraph>.<loadgraph>/graphs/9/214/214-load-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</loadgraph>.<memorygraph>/graphs/9/214/214-mem-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</memorygraph>
|
147
|
-
http_version: '1.1'
|
148
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
149
|
-
- request:
|
150
|
-
method: get
|
151
|
-
uri: ''
|
152
|
-
body: ''
|
153
|
-
headers: {}
|
154
|
-
response:
|
155
|
-
status:
|
156
|
-
code: 200
|
157
|
-
message: OK
|
158
|
-
body: <status>success</status><statusmsg>ISO mounted</statusmsg>
|
159
|
-
http_version: '1.1'
|
160
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
161
|
-
- request:
|
162
|
-
method: get
|
163
|
-
uri: ''
|
164
|
-
body: ''
|
165
|
-
headers: {}
|
166
|
-
response:
|
167
|
-
status:
|
168
|
-
code: 200
|
169
|
-
message: OK
|
170
|
-
body: <status>success</status><statusmsg>Virtual server network disabled</statusmsg>
|
171
|
-
http_version: '1.1'
|
172
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
173
|
-
- request:
|
174
|
-
method: get
|
175
|
-
uri: ''
|
176
|
-
body: ''
|
177
|
-
headers: {}
|
178
|
-
response:
|
179
|
-
status:
|
180
|
-
code: 200
|
181
|
-
message: OK
|
182
|
-
body: ! '<status>success</status><statusmsg>Virtual server network enabled</statusmsg> '
|
183
|
-
http_version: '1.1'
|
184
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
185
|
-
- request:
|
186
|
-
method: get
|
187
|
-
uri: ''
|
188
|
-
body: ''
|
189
|
-
headers: {}
|
190
|
-
response:
|
191
|
-
status:
|
192
|
-
code: 200
|
193
|
-
message: OK
|
194
|
-
body: <status>success</status><statusmsg>Enabled|Disabled</statusmsg>
|
195
|
-
http_version: '1.1'
|
196
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
197
|
-
- request:
|
198
|
-
method: get
|
199
|
-
uri: ''
|
200
|
-
body: ''
|
201
|
-
headers: {}
|
202
|
-
response:
|
203
|
-
status:
|
204
|
-
code: 200
|
205
|
-
message: OK
|
206
|
-
body: <status>success</status><statusmsg>Virtual server rebooted</statusmsg>
|
207
|
-
http_version: '1.1'
|
208
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
209
|
-
- request:
|
210
|
-
method: get
|
211
|
-
uri: ''
|
212
|
-
body: ''
|
213
|
-
headers: {}
|
214
|
-
response:
|
215
|
-
status:
|
216
|
-
code: 200
|
217
|
-
message: OK
|
218
|
-
body: <status>success</status><statusmsg>Virtual server is being rebuilt</statusmsg>
|
219
|
-
http_version: '1.1'
|
220
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
221
|
-
- request:
|
222
|
-
method: get
|
223
|
-
uri: ''
|
224
|
-
body: ''
|
225
|
-
headers: {}
|
226
|
-
response:
|
227
|
-
status:
|
228
|
-
code: 200
|
229
|
-
message: OK
|
230
|
-
body: <status>success</status><statusmsg>Virtual server unsuspended</statusmsg>
|
231
|
-
http_version: '1.1'
|
232
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
233
|
-
- request:
|
234
|
-
method: get
|
235
|
-
uri: ''
|
236
|
-
body: ''
|
237
|
-
headers: {}
|
238
|
-
response:
|
239
|
-
status:
|
240
|
-
code: 200
|
241
|
-
message: OK
|
242
|
-
body: <status>success</status><statusmsg>Virtual server root password changed</statusmsg><rootpassword>rootpassword</rootpassword>
|
243
|
-
http_version: '1.1'
|
244
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
245
|
-
- request:
|
246
|
-
method: get
|
247
|
-
uri: ''
|
248
|
-
body: ''
|
249
|
-
headers: {}
|
250
|
-
response:
|
251
|
-
status:
|
252
|
-
code: 200
|
253
|
-
message: OK
|
254
|
-
body: <status>success</status><statusmsg>Virtual server shutdown</statusmsg>
|
255
|
-
http_version: '1.1'
|
256
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
257
|
-
- request:
|
258
|
-
method: get
|
259
|
-
uri: ''
|
260
|
-
body: ''
|
261
|
-
headers: {}
|
262
|
-
response:
|
263
|
-
status:
|
264
|
-
code: 200
|
265
|
-
message: OK
|
266
|
-
body: <status>success</status><statusmsg>online</statusmsg>
|
267
|
-
http_version: '1.1'
|
268
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
269
|
-
- request:
|
270
|
-
method: get
|
271
|
-
uri: ''
|
272
|
-
body: ''
|
273
|
-
headers: {}
|
274
|
-
response:
|
275
|
-
status:
|
276
|
-
code: 200
|
277
|
-
message: OK
|
278
|
-
body: <status>success</status><statusmsg>Virtual server suspended</statusmsg>
|
279
|
-
http_version: '1.1'
|
280
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
281
|
-
- request:
|
282
|
-
method: get
|
283
|
-
uri: ''
|
284
|
-
body: ''
|
285
|
-
headers: {}
|
286
|
-
response:
|
287
|
-
status:
|
288
|
-
code: 200
|
289
|
-
message: OK
|
290
|
-
body: <status>success</status><statusmsg>Virtual server terminated</statusmsg>
|
291
|
-
http_version: '1.1'
|
292
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
293
|
-
- request:
|
294
|
-
method: get
|
295
|
-
uri: ''
|
296
|
-
body: ''
|
297
|
-
headers: {}
|
298
|
-
response:
|
299
|
-
status:
|
300
|
-
code: 200
|
301
|
-
message: OK
|
302
|
-
body: <status>success</status><statusmsg>Disabled</statusmsg>
|
303
|
-
http_version: '1.1'
|
304
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
305
|
-
- request:
|
306
|
-
method: get
|
307
|
-
uri: ''
|
308
|
-
body: ''
|
309
|
-
headers: {}
|
310
|
-
response:
|
311
|
-
status:
|
312
|
-
code: 200
|
313
|
-
message: OK
|
314
|
-
body: <status>success</status><statusmsg>Enabled</statusmsg>
|
315
|
-
http_version: '1.1'
|
316
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
317
|
-
- request:
|
318
|
-
method: get
|
319
|
-
uri: ''
|
320
|
-
body: ''
|
321
|
-
headers: {}
|
322
|
-
response:
|
323
|
-
status:
|
324
|
-
code: 200
|
325
|
-
message: OK
|
326
|
-
body: <status>success</status><statusmsg>ISO unmounted</statusmsg>
|
327
|
-
http_version: '1.1'
|
328
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
329
|
-
- request:
|
330
|
-
method: get
|
331
|
-
uri: ''
|
332
|
-
body: ''
|
333
|
-
headers: {}
|
334
|
-
response:
|
335
|
-
status:
|
336
|
-
code: 200
|
337
|
-
message: OK
|
338
|
-
body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><vncip>thevncip</vncip><vncport>thevncport</vncport><vncpassword>thevncpassword</vncpassword>
|
339
|
-
http_version: '1.1'
|
340
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
341
|
-
- request:
|
342
|
-
method: get
|
343
|
-
uri: ''
|
344
|
-
body: ''
|
345
|
-
headers: {}
|
346
|
-
response:
|
347
|
-
status:
|
348
|
-
code: 200
|
349
|
-
message: OK
|
350
|
-
body: <status>success</status><statusmsg>Virtual server booted</statusmsg>
|
351
|
-
http_version: '1.1'
|
352
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
353
|
-
- request:
|
354
|
-
method: get
|
355
|
-
uri: ''
|
356
|
-
body: ''
|
357
|
-
headers: {}
|
358
|
-
response:
|
359
|
-
status:
|
360
|
-
code: 200
|
361
|
-
message: OK
|
362
|
-
body: <status>success</status><statusmsg>Boot order changed</statusmsg>
|
363
|
-
http_version: '1.1'
|
364
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
365
|
-
- request:
|
366
|
-
method: get
|
367
|
-
uri: ''
|
368
|
-
body: ''
|
369
|
-
headers: {}
|
370
|
-
response:
|
371
|
-
status:
|
372
|
-
code: 200
|
373
|
-
message: OK
|
374
|
-
body: ! '<status>success</status><statusmsg>Virtual server console password changed</statusmsg>
|
375
|
-
<consolepassword></consolepassword> '
|
376
|
-
http_version: '1.1'
|
377
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
378
|
-
- request:
|
379
|
-
method: get
|
380
|
-
uri: ''
|
381
|
-
body: ''
|
382
|
-
headers: {}
|
383
|
-
response:
|
384
|
-
status:
|
385
|
-
code: 200
|
386
|
-
message: OK
|
387
|
-
body: <status>success</status><statusmsg>Successfully changed owner</statusmsg>
|
388
|
-
http_version: '1.1'
|
389
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
390
|
-
- request:
|
391
|
-
method: get
|
392
|
-
uri: ''
|
393
|
-
body: ''
|
394
|
-
headers: {}
|
395
|
-
response:
|
396
|
-
status:
|
397
|
-
code: 200
|
398
|
-
message: OK
|
399
|
-
body: <status>success</status><statusmsg>Virtual server updated</statusmsg>
|
400
|
-
http_version: '1.1'
|
401
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
402
|
-
- request:
|
403
|
-
method: get
|
404
|
-
uri: ''
|
405
|
-
body: ''
|
406
|
-
headers: {}
|
407
|
-
response:
|
408
|
-
status:
|
409
|
-
code: 200
|
410
|
-
message: OK
|
411
|
-
body: <status>success</status><statusmsg>Virtual server vnc password changed</statusmsg>
|
412
|
-
<vncpassword></vncpassword>
|
413
|
-
http_version: '1.1'
|
414
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
415
|
-
- request:
|
416
|
-
method: get
|
417
|
-
uri: ''
|
418
|
-
body: ''
|
419
|
-
headers: {}
|
420
|
-
response:
|
421
|
-
status:
|
422
|
-
code: 200
|
423
|
-
message: OK
|
424
|
-
body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><consoleip>theconsoleip</consoleip><consoleport>theconsoleport</consoleport><consolepassword>theconsolepassword</consolepassword><consoleusername>theconsoleusername</consoleusername>
|
425
|
-
http_version: '1.1'
|
426
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
427
|
-
- request:
|
428
|
-
method: get
|
429
|
-
uri: ''
|
430
|
-
body: ''
|
431
|
-
headers: {}
|
432
|
-
response:
|
433
|
-
status:
|
434
|
-
code: 200
|
435
|
-
message: OK
|
436
|
-
body: <status>success</status><statusmsg>Virtual server created</statusmsg><mainipaddress>123.123.123.123</mainipaddress><extraipaddress>122.122.122.122,111.111.111.111</extraipaddress><rootpassword>123456</rootpassword><vserverid>100</vserverid><consoleuser>console-123</consoleuser><consolepassword>123456</consolepassword><hostname>server.hostname.com</hostname><virtid>vm101|101</virtid>
|
437
|
-
http_version: '1.1'
|
438
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
439
|
-
- request:
|
440
|
-
method: get
|
441
|
-
uri: ''
|
442
|
-
body: ''
|
443
|
-
headers: {}
|
444
|
-
response:
|
445
|
-
status:
|
446
|
-
code: 200
|
447
|
-
message: OK
|
448
|
-
body: <status>success</status><statusmsg>Virtual server exists</statusmsg>
|
449
|
-
http_version: '1.1'
|
450
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
451
|
-
- request:
|
452
|
-
method: get
|
453
|
-
uri: ''
|
454
|
-
body: ''
|
455
|
-
headers: {}
|
456
|
-
response:
|
457
|
-
status:
|
458
|
-
code: 200
|
459
|
-
message: OK
|
460
|
-
body: <status>success</status><statusmsg>Virtual server hostname changed</statusmsg><hostname>hostname</hostname>
|
461
|
-
http_version: '1.1'
|
462
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
463
|
-
- request:
|
464
|
-
method: get
|
465
|
-
uri: ''
|
466
|
-
body: ''
|
467
|
-
headers: {}
|
468
|
-
response:
|
469
|
-
status:
|
470
|
-
code: 200
|
471
|
-
message: OK
|
472
|
-
body: <vserverid>1</vserverid><ctid-xid>1</ctid-xid><clientid>1</clientid><ipaddress>123.123.123.123</ipaddress><hostname>host.example.com</hostname><template>vps1</template><hdd>123456</hdd><memory>123456</memory><swap-burst>swp</swap-burst><type>xenhvm</type>
|
473
|
-
http_version: '1.1'
|
474
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
475
|
-
- request:
|
476
|
-
method: get
|
477
|
-
uri: ''
|
478
|
-
body: ''
|
479
|
-
headers: {}
|
480
|
-
response:
|
481
|
-
status:
|
482
|
-
code: 200
|
483
|
-
message: OK
|
484
|
-
body: <status>success</status><statusmsg></statusmsg><node>tydeus</node><state>online</state><mainipaddress>123.123.123.123</mainipaddress><ipaddresses>123.123.123.123</ipaddresses><type>openvz</type><bandwidth>16106127360000,5370261749139,10735865610861,33</bandwidth>.<memory>1073741824,187097088,886644736,17</memory>.<hdd>236223201280,103640707072,132582494208,44</hdd>.<trafficgraph>/graphs/9/214/214-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</trafficgraph>.<loadgraph>/graphs/9/214/214-load-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</loadgraph>.<memorygraph>/graphs/9/214/214-mem-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</memorygraph>
|
485
|
-
http_version: '1.1'
|
486
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
487
|
-
- request:
|
488
|
-
method: get
|
489
|
-
uri: ''
|
490
|
-
body: ''
|
491
|
-
headers: {}
|
492
|
-
response:
|
493
|
-
status:
|
494
|
-
code: 200
|
495
|
-
message: OK
|
496
|
-
body: <status>success</status><statusmsg>ISO mounted</statusmsg>
|
497
|
-
http_version: '1.1'
|
498
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
499
|
-
- request:
|
500
|
-
method: get
|
501
|
-
uri: ''
|
502
|
-
body: ''
|
503
|
-
headers: {}
|
504
|
-
response:
|
505
|
-
status:
|
506
|
-
code: 200
|
507
|
-
message: OK
|
508
|
-
body: <status>success</status><statusmsg>Virtual server network disabled</statusmsg>
|
509
|
-
http_version: '1.1'
|
510
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
511
|
-
- request:
|
512
|
-
method: get
|
513
|
-
uri: ''
|
514
|
-
body: ''
|
515
|
-
headers: {}
|
516
|
-
response:
|
517
|
-
status:
|
518
|
-
code: 200
|
519
|
-
message: OK
|
520
|
-
body: ! '<status>success</status><statusmsg>Virtual server network enabled</statusmsg> '
|
521
|
-
http_version: '1.1'
|
522
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
523
|
-
- request:
|
524
|
-
method: get
|
525
|
-
uri: ''
|
526
|
-
body: ''
|
527
|
-
headers: {}
|
528
|
-
response:
|
529
|
-
status:
|
530
|
-
code: 200
|
531
|
-
message: OK
|
532
|
-
body: <status>success</status><statusmsg>Enabled|Disabled</statusmsg>
|
533
|
-
http_version: '1.1'
|
534
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
535
|
-
- request:
|
536
|
-
method: get
|
537
|
-
uri: ''
|
538
|
-
body: ''
|
539
|
-
headers: {}
|
540
|
-
response:
|
541
|
-
status:
|
542
|
-
code: 200
|
543
|
-
message: OK
|
544
|
-
body: <status>success</status><statusmsg>Virtual server rebooted</statusmsg>
|
545
|
-
http_version: '1.1'
|
546
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
547
|
-
- request:
|
548
|
-
method: get
|
549
|
-
uri: ''
|
550
|
-
body: ''
|
551
|
-
headers: {}
|
552
|
-
response:
|
553
|
-
status:
|
554
|
-
code: 200
|
555
|
-
message: OK
|
556
|
-
body: <status>success</status><statusmsg>Virtual server is being rebuilt</statusmsg>
|
557
|
-
http_version: '1.1'
|
558
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
559
|
-
- request:
|
560
|
-
method: get
|
561
|
-
uri: ''
|
562
|
-
body: ''
|
563
|
-
headers: {}
|
564
|
-
response:
|
565
|
-
status:
|
566
|
-
code: 200
|
567
|
-
message: OK
|
568
|
-
body: <status>success</status><statusmsg>Virtual server unsuspended</statusmsg>
|
569
|
-
http_version: '1.1'
|
570
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
571
|
-
- request:
|
572
|
-
method: get
|
573
|
-
uri: ''
|
574
|
-
body: ''
|
575
|
-
headers: {}
|
576
|
-
response:
|
577
|
-
status:
|
578
|
-
code: 200
|
579
|
-
message: OK
|
580
|
-
body: <status>success</status><statusmsg>Virtual server root password changed</statusmsg><rootpassword>rootpassword</rootpassword>
|
581
|
-
http_version: '1.1'
|
582
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
583
|
-
- request:
|
584
|
-
method: get
|
585
|
-
uri: ''
|
586
|
-
body: ''
|
587
|
-
headers: {}
|
588
|
-
response:
|
589
|
-
status:
|
590
|
-
code: 200
|
591
|
-
message: OK
|
592
|
-
body: <status>success</status><statusmsg>Virtual server shutdown</statusmsg>
|
593
|
-
http_version: '1.1'
|
594
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
595
|
-
- request:
|
596
|
-
method: get
|
597
|
-
uri: ''
|
598
|
-
body: ''
|
599
|
-
headers: {}
|
600
|
-
response:
|
601
|
-
status:
|
602
|
-
code: 200
|
603
|
-
message: OK
|
604
|
-
body: <status>success</status><statusmsg>online</statusmsg>
|
605
|
-
http_version: '1.1'
|
606
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
607
|
-
- request:
|
608
|
-
method: get
|
609
|
-
uri: ''
|
610
|
-
body: ''
|
611
|
-
headers: {}
|
612
|
-
response:
|
613
|
-
status:
|
614
|
-
code: 200
|
615
|
-
message: OK
|
616
|
-
body: <status>success</status><statusmsg>Virtual server suspended</statusmsg>
|
617
|
-
http_version: '1.1'
|
618
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
619
|
-
- request:
|
620
|
-
method: get
|
621
|
-
uri: ''
|
622
|
-
body: ''
|
623
|
-
headers: {}
|
624
|
-
response:
|
625
|
-
status:
|
626
|
-
code: 200
|
627
|
-
message: OK
|
628
|
-
body: <status>success</status><statusmsg>Virtual server terminated</statusmsg>
|
629
|
-
http_version: '1.1'
|
630
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
631
|
-
- request:
|
632
|
-
method: get
|
633
|
-
uri: ''
|
634
|
-
body: ''
|
635
|
-
headers: {}
|
636
|
-
response:
|
637
|
-
status:
|
638
|
-
code: 200
|
639
|
-
message: OK
|
640
|
-
body: <status>success</status><statusmsg>Disabled</statusmsg>
|
641
|
-
http_version: '1.1'
|
642
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
643
|
-
- request:
|
644
|
-
method: get
|
645
|
-
uri: ''
|
646
|
-
body: ''
|
647
|
-
headers: {}
|
648
|
-
response:
|
649
|
-
status:
|
650
|
-
code: 200
|
651
|
-
message: OK
|
652
|
-
body: <status>success</status><statusmsg>Enabled</statusmsg>
|
653
|
-
http_version: '1.1'
|
654
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
655
|
-
- request:
|
656
|
-
method: get
|
657
|
-
uri: ''
|
658
|
-
body: ''
|
659
|
-
headers: {}
|
660
|
-
response:
|
661
|
-
status:
|
662
|
-
code: 200
|
663
|
-
message: OK
|
664
|
-
body: <status>success</status><statusmsg>ISO unmounted</statusmsg>
|
665
|
-
http_version: '1.1'
|
666
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
667
|
-
- request:
|
668
|
-
method: get
|
669
|
-
uri: ''
|
670
|
-
body: ''
|
671
|
-
headers: {}
|
672
|
-
response:
|
673
|
-
status:
|
674
|
-
code: 200
|
675
|
-
message: OK
|
676
|
-
body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><vncip>thevncip</vncip><vncport>thevncport</vncport><vncpassword>thevncpassword</vncpassword>
|
677
|
-
http_version: '1.1'
|
678
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
679
|
-
- request:
|
680
|
-
method: get
|
681
|
-
uri: ''
|
682
|
-
body: ''
|
683
|
-
headers: {}
|
684
|
-
response:
|
685
|
-
status:
|
686
|
-
code: 200
|
687
|
-
message: OK
|
688
|
-
body: <status>success</status><statusmsg>Virtual server booted</statusmsg>
|
689
|
-
http_version: '1.1'
|
690
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
691
|
-
- request:
|
692
|
-
method: get
|
693
|
-
uri: ''
|
694
|
-
body: ''
|
695
|
-
headers: {}
|
696
|
-
response:
|
697
|
-
status:
|
698
|
-
code: 200
|
699
|
-
message: OK
|
700
|
-
body: <status>success</status><statusmsg>Boot order changed</statusmsg>
|
701
|
-
http_version: '1.1'
|
702
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
703
|
-
- request:
|
704
|
-
method: get
|
705
|
-
uri: ''
|
706
|
-
body: ''
|
707
|
-
headers: {}
|
708
|
-
response:
|
709
|
-
status:
|
710
|
-
code: 200
|
711
|
-
message: OK
|
712
|
-
body: ! '<status>success</status><statusmsg>Virtual server console password changed</statusmsg>
|
713
|
-
<consolepassword></consolepassword> '
|
714
|
-
http_version: '1.1'
|
715
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
716
|
-
- request:
|
717
|
-
method: get
|
718
|
-
uri: ''
|
719
|
-
body: ''
|
720
|
-
headers: {}
|
721
|
-
response:
|
722
|
-
status:
|
723
|
-
code: 200
|
724
|
-
message: OK
|
725
|
-
body: <status>success</status><statusmsg>Successfully changed owner</statusmsg>
|
726
|
-
http_version: '1.1'
|
727
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
728
|
-
- request:
|
729
|
-
method: get
|
730
|
-
uri: ''
|
731
|
-
body: ''
|
732
|
-
headers: {}
|
733
|
-
response:
|
734
|
-
status:
|
735
|
-
code: 200
|
736
|
-
message: OK
|
737
|
-
body: <status>success</status><statusmsg>Virtual server updated</statusmsg>
|
738
|
-
http_version: '1.1'
|
739
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
740
|
-
- request:
|
741
|
-
method: get
|
742
|
-
uri: ''
|
743
|
-
body: ''
|
744
|
-
headers: {}
|
745
|
-
response:
|
746
|
-
status:
|
747
|
-
code: 200
|
748
|
-
message: OK
|
749
|
-
body: <status>success</status><statusmsg>Virtual server vnc password changed</statusmsg>
|
750
|
-
<vncpassword></vncpassword>
|
751
|
-
http_version: '1.1'
|
752
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
753
|
-
- request:
|
754
|
-
method: get
|
755
|
-
uri: ''
|
756
|
-
body: ''
|
757
|
-
headers: {}
|
758
|
-
response:
|
759
|
-
status:
|
760
|
-
code: 200
|
761
|
-
message: OK
|
762
|
-
body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><consoleip>theconsoleip</consoleip><consoleport>theconsoleport</consoleport><consolepassword>theconsolepassword</consolepassword><consoleusername>theconsoleusername</consoleusername>
|
763
|
-
http_version: '1.1'
|
764
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
765
|
-
- request:
|
766
|
-
method: get
|
767
|
-
uri: ''
|
768
|
-
body: ''
|
769
|
-
headers: {}
|
770
|
-
response:
|
771
|
-
status:
|
772
|
-
code: 200
|
773
|
-
message: OK
|
774
|
-
body: <status>success</status><statusmsg>Virtual server created</statusmsg><mainipaddress>123.123.123.123</mainipaddress><extraipaddress>122.122.122.122,111.111.111.111</extraipaddress><rootpassword>123456</rootpassword><vserverid>100</vserverid><consoleuser>console-123</consoleuser><consolepassword>123456</consolepassword><hostname>server.hostname.com</hostname><virtid>vm101|101</virtid>
|
775
|
-
http_version: '1.1'
|
776
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
777
|
-
- request:
|
778
|
-
method: get
|
779
|
-
uri: ''
|
780
|
-
body: ''
|
781
|
-
headers: {}
|
782
|
-
response:
|
783
|
-
status:
|
784
|
-
code: 200
|
785
|
-
message: OK
|
786
|
-
body: <status>success</status><statusmsg>Virtual server exists</statusmsg>
|
787
|
-
http_version: '1.1'
|
788
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
789
|
-
- request:
|
790
|
-
method: get
|
791
|
-
uri: ''
|
792
|
-
body: ''
|
793
|
-
headers: {}
|
794
|
-
response:
|
795
|
-
status:
|
796
|
-
code: 200
|
797
|
-
message: OK
|
798
|
-
body: <status>success</status><statusmsg>Virtual server hostname changed</statusmsg><hostname>hostname</hostname>
|
799
|
-
http_version: '1.1'
|
800
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
801
|
-
- request:
|
802
|
-
method: get
|
803
|
-
uri: ''
|
804
|
-
body: ''
|
805
|
-
headers: {}
|
806
|
-
response:
|
807
|
-
status:
|
808
|
-
code: 200
|
809
|
-
message: OK
|
810
|
-
body: <vserverid>1</vserverid><ctid-xid>1</ctid-xid><clientid>1</clientid><ipaddress>123.123.123.123</ipaddress><hostname>host.example.com</hostname><template>vps1</template><hdd>123456</hdd><memory>123456</memory><swap-burst>swp</swap-burst><type>xenhvm</type>
|
811
|
-
http_version: '1.1'
|
812
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
813
|
-
- request:
|
814
|
-
method: get
|
815
|
-
uri: ''
|
816
|
-
body: ''
|
817
|
-
headers: {}
|
818
|
-
response:
|
819
|
-
status:
|
820
|
-
code: 200
|
821
|
-
message: OK
|
822
|
-
body: <status>success</status><statusmsg></statusmsg><node>tydeus</node><state>online</state><mainipaddress>123.123.123.123</mainipaddress><ipaddresses>123.123.123.123</ipaddresses><type>openvz</type><bandwidth>16106127360000,5370261749139,10735865610861,33</bandwidth>.<memory>1073741824,187097088,886644736,17</memory>.<hdd>236223201280,103640707072,132582494208,44</hdd>.<trafficgraph>/graphs/9/214/214-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</trafficgraph>.<loadgraph>/graphs/9/214/214-load-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</loadgraph>.<memorygraph>/graphs/9/214/214-mem-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</memorygraph>
|
823
|
-
http_version: '1.1'
|
824
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
825
|
-
- request:
|
826
|
-
method: get
|
827
|
-
uri: ''
|
828
|
-
body: ''
|
829
|
-
headers: {}
|
830
|
-
response:
|
831
|
-
status:
|
832
|
-
code: 200
|
833
|
-
message: OK
|
834
|
-
body: <status>success</status><statusmsg>ISO mounted</statusmsg>
|
835
|
-
http_version: '1.1'
|
836
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
837
|
-
- request:
|
838
|
-
method: get
|
839
|
-
uri: ''
|
840
|
-
body: ''
|
841
|
-
headers: {}
|
842
|
-
response:
|
843
|
-
status:
|
844
|
-
code: 200
|
845
|
-
message: OK
|
846
|
-
body: <status>success</status><statusmsg>Virtual server network disabled</statusmsg>
|
847
|
-
http_version: '1.1'
|
848
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
849
|
-
- request:
|
850
|
-
method: get
|
851
|
-
uri: ''
|
852
|
-
body: ''
|
853
|
-
headers: {}
|
854
|
-
response:
|
855
|
-
status:
|
856
|
-
code: 200
|
857
|
-
message: OK
|
858
|
-
body: ! '<status>success</status><statusmsg>Virtual server network enabled</statusmsg> '
|
859
|
-
http_version: '1.1'
|
860
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
861
|
-
- request:
|
862
|
-
method: get
|
863
|
-
uri: ''
|
864
|
-
body: ''
|
865
|
-
headers: {}
|
866
|
-
response:
|
867
|
-
status:
|
868
|
-
code: 200
|
869
|
-
message: OK
|
870
|
-
body: <status>success</status><statusmsg>Enabled|Disabled</statusmsg>
|
871
|
-
http_version: '1.1'
|
872
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
873
|
-
- request:
|
874
|
-
method: get
|
875
|
-
uri: ''
|
876
|
-
body: ''
|
877
|
-
headers: {}
|
878
|
-
response:
|
879
|
-
status:
|
880
|
-
code: 200
|
881
|
-
message: OK
|
882
|
-
body: <status>success</status><statusmsg>Virtual server rebooted</statusmsg>
|
883
|
-
http_version: '1.1'
|
884
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
885
|
-
- request:
|
886
|
-
method: get
|
887
|
-
uri: ''
|
888
|
-
body: ''
|
889
|
-
headers: {}
|
890
|
-
response:
|
891
|
-
status:
|
892
|
-
code: 200
|
893
|
-
message: OK
|
894
|
-
body: <status>success</status><statusmsg>Virtual server is being rebuilt</statusmsg>
|
895
|
-
http_version: '1.1'
|
896
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
897
|
-
- request:
|
898
|
-
method: get
|
899
|
-
uri: ''
|
900
|
-
body: ''
|
901
|
-
headers: {}
|
902
|
-
response:
|
903
|
-
status:
|
904
|
-
code: 200
|
905
|
-
message: OK
|
906
|
-
body: <status>success</status><statusmsg>Virtual server unsuspended</statusmsg>
|
907
|
-
http_version: '1.1'
|
908
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
909
|
-
- request:
|
910
|
-
method: get
|
911
|
-
uri: ''
|
912
|
-
body: ''
|
913
|
-
headers: {}
|
914
|
-
response:
|
915
|
-
status:
|
916
|
-
code: 200
|
917
|
-
message: OK
|
918
|
-
body: <status>success</status><statusmsg>Virtual server root password changed</statusmsg><rootpassword>rootpassword</rootpassword>
|
919
|
-
http_version: '1.1'
|
920
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
921
|
-
- request:
|
922
|
-
method: get
|
923
|
-
uri: ''
|
924
|
-
body: ''
|
925
|
-
headers: {}
|
926
|
-
response:
|
927
|
-
status:
|
928
|
-
code: 200
|
929
|
-
message: OK
|
930
|
-
body: <status>success</status><statusmsg>Virtual server shutdown</statusmsg>
|
931
|
-
http_version: '1.1'
|
932
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
933
|
-
- request:
|
934
|
-
method: get
|
935
|
-
uri: ''
|
936
|
-
body: ''
|
937
|
-
headers: {}
|
938
|
-
response:
|
939
|
-
status:
|
940
|
-
code: 200
|
941
|
-
message: OK
|
942
|
-
body: <status>success</status><statusmsg>online</statusmsg>
|
943
|
-
http_version: '1.1'
|
944
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
945
|
-
- request:
|
946
|
-
method: get
|
947
|
-
uri: ''
|
948
|
-
body: ''
|
949
|
-
headers: {}
|
950
|
-
response:
|
951
|
-
status:
|
952
|
-
code: 200
|
953
|
-
message: OK
|
954
|
-
body: <status>success</status><statusmsg>Virtual server suspended</statusmsg>
|
955
|
-
http_version: '1.1'
|
956
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
957
|
-
- request:
|
958
|
-
method: get
|
959
|
-
uri: ''
|
960
|
-
body: ''
|
961
|
-
headers: {}
|
962
|
-
response:
|
963
|
-
status:
|
964
|
-
code: 200
|
965
|
-
message: OK
|
966
|
-
body: <status>success</status><statusmsg>Virtual server terminated</statusmsg>
|
967
|
-
http_version: '1.1'
|
968
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
969
|
-
- request:
|
970
|
-
method: get
|
971
|
-
uri: ''
|
972
|
-
body: ''
|
973
|
-
headers: {}
|
974
|
-
response:
|
975
|
-
status:
|
976
|
-
code: 200
|
977
|
-
message: OK
|
978
|
-
body: <status>success</status><statusmsg>Disabled</statusmsg>
|
979
|
-
http_version: '1.1'
|
980
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
981
|
-
- request:
|
982
|
-
method: get
|
983
|
-
uri: ''
|
984
|
-
body: ''
|
985
|
-
headers: {}
|
986
|
-
response:
|
987
|
-
status:
|
988
|
-
code: 200
|
989
|
-
message: OK
|
990
|
-
body: <status>success</status><statusmsg>Enabled</statusmsg>
|
991
|
-
http_version: '1.1'
|
992
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
993
|
-
- request:
|
994
|
-
method: get
|
995
|
-
uri: ''
|
996
|
-
body: ''
|
997
|
-
headers: {}
|
998
|
-
response:
|
999
|
-
status:
|
1000
|
-
code: 200
|
1001
|
-
message: OK
|
1002
|
-
body: <status>success</status><statusmsg>ISO unmounted</statusmsg>
|
1003
|
-
http_version: '1.1'
|
1004
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
1005
|
-
- request:
|
1006
|
-
method: get
|
1007
|
-
uri: ''
|
1008
|
-
body: ''
|
1009
|
-
headers: {}
|
1010
|
-
response:
|
1011
|
-
status:
|
1012
|
-
code: 200
|
1013
|
-
message: OK
|
1014
|
-
body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><vncip>thevncip</vncip><vncport>thevncport</vncport><vncpassword>thevncpassword</vncpassword>
|
1015
|
-
http_version: '1.1'
|
1016
|
-
recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
|
1017
|
-
recorded_with: VCR 2.0.0
|