diff options
Diffstat (limited to 'doc')
10 files changed, 34 insertions, 0 deletions
diff --git a/doc/api_samples/os-hosts/host-get-reboot.json b/doc/api_samples/os-hosts/host-get-reboot.json new file mode 100644 index 000000000..a93e48953 --- /dev/null +++ b/doc/api_samples/os-hosts/host-get-reboot.json @@ -0,0 +1,4 @@ +{ + "host": "066bf157ab50481d8c607cfe584b2230", + "power_action": "reboot" +}
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-get-reboot.xml b/doc/api_samples/os-hosts/host-get-reboot.xml new file mode 100644 index 000000000..3b3fe27b5 --- /dev/null +++ b/doc/api_samples/os-hosts/host-get-reboot.xml @@ -0,0 +1,2 @@ +<?xml version='1.0' encoding='UTF-8'?> +<host host="ce8c5f8cde4a46ffb01dec0788ad4dfc" power_action="reboot"/>
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-get-shutdown.json b/doc/api_samples/os-hosts/host-get-shutdown.json new file mode 100644 index 000000000..b584c9044 --- /dev/null +++ b/doc/api_samples/os-hosts/host-get-shutdown.json @@ -0,0 +1,4 @@ +{ + "host": "d2576862a2144ee6ad37d9e1938460a2", + "power_action": "shutdown" +}
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-get-shutdown.xml b/doc/api_samples/os-hosts/host-get-shutdown.xml new file mode 100644 index 000000000..4f5f1a758 --- /dev/null +++ b/doc/api_samples/os-hosts/host-get-shutdown.xml @@ -0,0 +1,2 @@ +<?xml version='1.0' encoding='UTF-8'?> +<host host="c82ca6da579440ac930ddee0e6530176" power_action="shutdown"/>
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-get-startup.json b/doc/api_samples/os-hosts/host-get-startup.json new file mode 100644 index 000000000..d66895ecf --- /dev/null +++ b/doc/api_samples/os-hosts/host-get-startup.json @@ -0,0 +1,4 @@ +{ + "host": "57f5de2fa5b44f14974a4f50b9ffcbf8", + "power_action": "startup" +}
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-get-startup.xml b/doc/api_samples/os-hosts/host-get-startup.xml new file mode 100644 index 000000000..8d6959946 --- /dev/null +++ b/doc/api_samples/os-hosts/host-get-startup.xml @@ -0,0 +1,2 @@ +<?xml version='1.0' encoding='UTF-8'?> +<host host="7fae168ed18140d5a785ade2ac1bd420" power_action="startup"/>
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-put-maintenance-req.json b/doc/api_samples/os-hosts/host-put-maintenance-req.json new file mode 100644 index 000000000..6accac164 --- /dev/null +++ b/doc/api_samples/os-hosts/host-put-maintenance-req.json @@ -0,0 +1,4 @@ +{ + "status": "enable", + "maintenance_mode": "disable" +}
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-put-maintenance-req.xml b/doc/api_samples/os-hosts/host-put-maintenance-req.xml new file mode 100644 index 000000000..42b995b5d --- /dev/null +++ b/doc/api_samples/os-hosts/host-put-maintenance-req.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<updates> + <status>enable</status> + <maintenance_mode>disable</maintenance_mode> +</updates>
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-put-maintenance-resp.json b/doc/api_samples/os-hosts/host-put-maintenance-resp.json new file mode 100644 index 000000000..2feb88405 --- /dev/null +++ b/doc/api_samples/os-hosts/host-put-maintenance-resp.json @@ -0,0 +1,5 @@ +{ + "host": "0738dca90a8c43fdadd0be28715520e2", + "maintenance_mode": "off_maintenance", + "status": "enabled" +}
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/host-put-maintenance-resp.xml b/doc/api_samples/os-hosts/host-put-maintenance-resp.xml new file mode 100644 index 000000000..c4d165628 --- /dev/null +++ b/doc/api_samples/os-hosts/host-put-maintenance-resp.xml @@ -0,0 +1,2 @@ +<?xml version='1.0' encoding='UTF-8'?> +<host status="enabled" maintenance_mode="off_maintenance" host="d85f05519b57457c83da18c39fa8e00d"/>
\ No newline at end of file |
