From 73fbcef0394f8a22b342dc670899c0984d5d4c34 Mon Sep 17 00:00:00 2001 From: Diane Fleming Date: Fri, 4 Sep 2015 11:07:47 -0500 Subject: [PATCH] Add "update security group" to Compute v2 and Networking v2 Change-Id: I4ff45c7a998b1c0048e23e058f4ce15a3136287b Closes-Bug: #1463131 --- api-ref/src/docbkx/ch_compute-v2-ext.xml | 23 +++- api-ref/src/docbkx/ch_netconn-v2-ext.xml | 18 ++- .../src/wadls/compute-api/src/v2/common.ent | 30 +++-- .../security-groups-update-req.json | 6 + .../security-groups-update-resp.json | 9 ++ api-ref/src/wadls/netconn-api/src/common.ent | 99 +++++++++++++++- .../netconn-api/src/security-groups.wadl | 106 +++++++++++++----- 7 files changed, 238 insertions(+), 53 deletions(-) create mode 100644 api-ref/src/wadls/netconn-api/src/api_samples/security-groups-update-req.json create mode 100644 api-ref/src/wadls/netconn-api/src/api_samples/security-groups-update-resp.json diff --git a/api-ref/src/docbkx/ch_compute-v2-ext.xml b/api-ref/src/docbkx/ch_compute-v2-ext.xml index ba926d63f..3e4fb80ba 100644 --- a/api-ref/src/docbkx/ch_compute-v2-ext.xml +++ b/api-ref/src/docbkx/ch_compute-v2-ext.xml @@ -621,12 +621,25 @@
Security groups (os-security-groups) - Lists, shows information for, creates, and deletes security - groups. + Lists, lists by server, creates, shows information for, updates, + and deletes security groups. - + + + + + + + + + + + + + + + +
Rules for security group (os-security-group-rules) diff --git a/api-ref/src/docbkx/ch_netconn-v2-ext.xml b/api-ref/src/docbkx/ch_netconn-v2-ext.xml index eaaaf29e6..2c2457a03 100644 --- a/api-ref/src/docbkx/ch_netconn-v2-ext.xml +++ b/api-ref/src/docbkx/ch_netconn-v2-ext.xml @@ -120,9 +120,11 @@
- Security groups and rules (security-groups) - Lists, creates, shows information for, and deletes security groups and security group - rules. + Security groups (security-groups) + + Lists, creates, shows information for, updates, and deletes + security groups. + @@ -130,8 +132,18 @@ + + +
+
+ Security group rules (security-group-rules) + + Lists, creates, shows information for, and deletes security group + rules. + + diff --git a/api-ref/src/wadls/compute-api/src/v2/common.ent b/api-ref/src/wadls/compute-api/src/v2/common.ent index a1a817585..d8c668445 100644 --- a/api-ref/src/wadls/compute-api/src/v2/common.ent +++ b/api-ref/src/wadls/compute-api/src/v2/common.ent @@ -1776,7 +1776,8 @@ project. - + - + - + - + - + - + The maximum number of cores for the project. - + - + The maximum number of key pairs per server for the project. - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + '> - + + + +'> + @@ -5769,3 +5798,65 @@ router. '> + + + + A security_group object. + + +'> + + + Security groups object. + +'> + + + + Security group description. + + + + + + + The security group ID. + + + + + + + The security group name. + + + + + + + The tenant. + + +'> + diff --git a/api-ref/src/wadls/netconn-api/src/security-groups.wadl b/api-ref/src/wadls/netconn-api/src/security-groups.wadl index cdd8d4e88..327dda823 100644 --- a/api-ref/src/wadls/netconn-api/src/security-groups.wadl +++ b/api-ref/src/wadls/netconn-api/src/security-groups.wadl @@ -18,39 +18,40 @@ - - - - - - The unique identifier of - the security group. - - - - + + + + + + The unique identifier of + the security group. + + + + - - - - - - The unique identifier of - the security group rule. - - - - + + + + + + + The unique identifier of + the security group rule. + + + + @@ -157,6 +158,49 @@ &fault401; &fault404; + + + + Updates a specified security group. + + + + + + + + + + + The security group name. + + + + + + + Security group description. + + + + + + + + + + + &securityGroupObjectParameter; + &securityGroupResponseParameters; + + &commonFaults; &getFaults; +