[nova] nova spec show-server-group response format

yonglihe yongli.he at intel.com
Tue Feb 26 05:53:40 UTC 2019


Hi, guys

The approved spec show-server-group had 2 options for response.

1. First one(current spec):

          "server": {
             "server_groups": [ # not cached
                    "0b5d2c72-12cc-4ba6-a8d7-3ff5cc1d8cb8"
             ]
         }
    }

related discuss: 
https://review.openstack.org/#/c/612255/11/specs/stein/approved/show-server-group.rst@67

digest:  This  decouple the current  implementation of server groups 
then get a  generic API.


2 Second one:

         "server": {
             "server_group": {
                 "name": "groupA",
                 "id": "0b5d2c72-12cc-4ba6-a8d7-3ff5cc1d8cb8"
             }

related discuss: 
https://review.openstack.org/#/c/612255/4/specs/stein/approved/list-server-group.rst@62

digest: people have tried to change the api to allow adding/removing 
servers to/from groups, but still not implement yet.


we need align this for continuing this work. thanks.


Reference:

bp: https://blueprints.launchpad.net/nova/+spec/show-server-group

spec: 
https://review.openstack.org/#/c/612255/13/specs/stein/approved/show-server-group.rst

code:  https://review.openstack.org/#/c/621474/23


Regards

Yongli He

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190226/5832983e/attachment.html>


More information about the openstack-discuss mailing list