diff --git a/api-ref/src/docbkx/ch_compute-v2.1.xml b/api-ref/src/docbkx/ch_compute-v2.1.xml index 89bf7526d..7e0867911 100644 --- a/api-ref/src/docbkx/ch_compute-v2.1.xml +++ b/api-ref/src/docbkx/ch_compute-v2.1.xml @@ -45,12 +45,14 @@
Guest agents (os-agents) - Creates, updates, and deletes guest agents. Use guest agents - to access files on the disk, configure networking, or run other - applications or scripts in the guest while it runs. This - hypervisor-specific extension is not currently enabled for KVM. - Use of guest agents is possible only if the underlying service - provider uses the Xen driver. + + Creates, lists, updates, and deletes guest agent builds. Use guest + agents to access files on the disk, configure networking, or run other + applications or scripts in the guest while the agent runs. This + hypervisor-specific extension is not currently enabled for KVM. Use of + guest agents is possible only if the underlying service provider uses + the Xen driver. + diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-req.json b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-req.json index 191349854..b8009e5ff 100644 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-req.json +++ b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-req.json @@ -5,6 +5,6 @@ "architecture": "x86", "version": "8.0", "md5hash": "add6bb58e139be103324d04d82d8f545", - "url": "http://example.com/path/to/resource" + "url": "xxxxxxxxxxxx" } } diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-req.xml b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-req.xml deleted file mode 100644 index b7b7d036b..000000000 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-req.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - hypervisor - os - x86 - 8.0 - add6bb58e139be103324d04d82d8f545 - http://example.com/path/to/resource - diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-resp.json b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-resp.json index 24ddede90..82aaeecc5 100644 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-resp.json +++ b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-resp.json @@ -5,7 +5,7 @@ "hypervisor": "hypervisor", "md5hash": "add6bb58e139be103324d04d82d8f545", "os": "os", - "url": "http://example.com/path/to/resource", + "url": "xxxxxxxxxxxx", "version": "8.0" } } diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-resp.xml b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-resp.xml deleted file mode 100644 index abfe15f90..000000000 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-post-resp.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - http://example.com/path/to/resource - hypervisor - add6bb58e139be103324d04d82d8f545 - 8.0 - x86 - os - 1 - diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-req.json b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-req.json index f7398504d..e166abf9e 100644 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-req.json +++ b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-req.json @@ -1,6 +1,6 @@ { - "para": { - "url": "http://example.com/path/to/resource", + "agent": { + "url": "xxx://xxxx/xxx/xxx", "md5hash": "add6bb58e139be103324d04d82d8f545", "version": "7.0" } diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-req.xml b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-req.xml deleted file mode 100644 index 9a25cefdd..000000000 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-req.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - 7.0 - http://example.com/path/to/resource - add6bb58e139be103324d04d82d8f545 - diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-resp.json b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-resp.json index 2919d2138..b399e4538 100644 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-resp.json +++ b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-resp.json @@ -1,8 +1,8 @@ { "agent": { - "agent_id": "1", + "agent_id": 1, "md5hash": "add6bb58e139be103324d04d82d8f545", - "url": "http://example.com/path/to/resource", + "url": "xxx://xxxx/xxx/xxx", "version": "7.0" } } diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-resp.xml b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-resp.xml deleted file mode 100644 index ce62db386..000000000 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agent-update-put-resp.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - http://example.com/path/to/resource - 7.0 - 1 - add6bb58e139be103324d04d82d8f545 - diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agents-get-resp.json b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agents-get-resp.json index 92e14e1dc..bd1d70b42 100644 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agents-get-resp.json +++ b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agents-get-resp.json @@ -6,7 +6,7 @@ "hypervisor": "hypervisor", "md5hash": "add6bb58e139be103324d04d82d8f545", "os": "os", - "url": "http://example.com/path/to/resource", + "url": "xxxxxxxxxxxx", "version": "8.0" } ] diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agents-get-resp.xml b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agents-get-resp.xml deleted file mode 100644 index d80424530..000000000 --- a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-agents/agents-get-resp.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/api-ref/src/wadls/compute-api/src/v2.1/wadl/os-agents-v2.1.wadl b/api-ref/src/wadls/compute-api/src/v2.1/wadl/os-agents-v2.1.wadl index e46ce1e1f..b078b2aee 100644 --- a/api-ref/src/wadls/compute-api/src/v2.1/wadl/os-agents-v2.1.wadl +++ b/api-ref/src/wadls/compute-api/src/v2.1/wadl/os-agents-v2.1.wadl @@ -1,7 +1,7 @@ %common;]> - + - + - + + + The agent ID. + + @@ -76,6 +83,26 @@ href="../api_samples/os-agents/agent-update-put-req.json" /> + + The URL + associated with the + agent. + + + The MD5 hash. + + + The version. + @@ -86,7 +113,41 @@ href="../api_samples/os-agents/agent-update-put-resp.json" /> + + The agent ID. + + + The URL + associated with the + agent. + + + The MD5 hash. + + + The version. + + + + Deletes an existing agent + build. + + + diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-req.json b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-req.json index 191349854..b8009e5ff 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-req.json +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-req.json @@ -5,6 +5,6 @@ "architecture": "x86", "version": "8.0", "md5hash": "add6bb58e139be103324d04d82d8f545", - "url": "http://example.com/path/to/resource" + "url": "xxxxxxxxxxxx" } } diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-req.xml b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-req.xml index b7b7d036b..ee5fdce22 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-req.xml +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-req.xml @@ -5,5 +5,5 @@ x86 8.0 add6bb58e139be103324d04d82d8f545 - http://example.com/path/to/resource + xxxxxxxxxxxx diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-resp.json b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-resp.json index 24ddede90..ebaf63b75 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-resp.json +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-resp.json @@ -1,11 +1,11 @@ { "agent": { - "agent_id": 1, + "agent_id": "1", "architecture": "x86", "hypervisor": "hypervisor", "md5hash": "add6bb58e139be103324d04d82d8f545", "os": "os", - "url": "http://example.com/path/to/resource", + "url": "xxxxxxxxxxxx", "version": "8.0" } } diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-resp.xml b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-resp.xml index abfe15f90..b87086cc0 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-resp.xml +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-post-resp.xml @@ -1,6 +1,6 @@ - http://example.com/path/to/resource + xxxxxxxxxxxx hypervisor add6bb58e139be103324d04d82d8f545 8.0 diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-req.json b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-req.json index f7398504d..532a7ab67 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-req.json +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-req.json @@ -1,6 +1,6 @@ { "para": { - "url": "http://example.com/path/to/resource", + "url": "xxx://xxxx/xxx/xxx", "md5hash": "add6bb58e139be103324d04d82d8f545", "version": "7.0" } diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-req.xml b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-req.xml index 9a25cefdd..60285ce37 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-req.xml +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-req.xml @@ -1,6 +1,6 @@ 7.0 - http://example.com/path/to/resource + xxx://xxxx/xxx/xxx add6bb58e139be103324d04d82d8f545 diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-resp.json b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-resp.json index 2919d2138..2acfb243f 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-resp.json +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-resp.json @@ -2,7 +2,7 @@ "agent": { "agent_id": "1", "md5hash": "add6bb58e139be103324d04d82d8f545", - "url": "http://example.com/path/to/resource", + "url": "xxx://xxxx/xxx/xxx", "version": "7.0" } } diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-resp.xml b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-resp.xml index ce62db386..cd9443d74 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-resp.xml +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agent-update-put-resp.xml @@ -1,6 +1,6 @@ - http://example.com/path/to/resource + xxx://xxxx/xxx/xxx 7.0 1 add6bb58e139be103324d04d82d8f545 diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agents-get-resp.json b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agents-get-resp.json index 92e14e1dc..ed653a86d 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agents-get-resp.json +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agents-get-resp.json @@ -1,12 +1,12 @@ { "agents": [ { - "agent_id": 1, + "agent_id": "1", "architecture": "x86", "hypervisor": "hypervisor", "md5hash": "add6bb58e139be103324d04d82d8f545", "os": "os", - "url": "http://example.com/path/to/resource", + "url": "xxxxxxxxxxxx", "version": "8.0" } ] diff --git a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agents-get-resp.xml b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agents-get-resp.xml index d80424530..7abfb71e8 100644 --- a/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agents-get-resp.xml +++ b/api-ref/src/wadls/compute-api/src/v2/api_samples/os-agents/agents-get-resp.xml @@ -1,4 +1,4 @@ - +