Support for openstack-service utility

Registered by sandeep nandal on 2016-11-23

Summary
=======
OpenStack Client should have support for a command option " openstack-service " utility(used to be found till mitaka release) in OSC.
Using openstack-service utility, user can start/stop/restart/status of all the grouped services for the given component. The proposed command is as following:-

# openstack daemons <action> <component>

action : < status | start | stop | restart >
component : < nova | cinder | swift | glance | keystone | neutron | etc.>

Here, component specify the name of the component, whose all services has to be taken into account of. Eg. nova, cinder, swift, glance, keystone, neutron etc.

Motivation
========
By this utility, it will become convenient for admin, to control openstack system services. It will help to change the configuration on the fly for any given component and then to make all the related services to be re-configured according to the changes.

Description
========
Till Mitaka Release, we used to have openstack-service utility, by which we can control all the related system services of a given component by a single command. Now, as we are making the openstack as the default single command to control the openstack, then it will be handy for the system admin to control all the related system services of specific components with single commands.
The proposed command is as following:-

# openstack daemons <action> <component>

action : < status | start | stop | restart >
component : < nova | cinder | swift | glance | keystone | neutron | etc.>

Here, component specify the name of the component, whose all services has to be taken into account of. Eg. nova, cinder, swift, glance, keystone, neutron etc.

Testing
======
Proper Tests would be added to check the system's behavior after adding this feature.

Outside Dependencies
==================
Functionality must be added to openstack cli.

Requirements Update Required
========================
No specific Update is required for this change, if some external module is planned to be used for this functionality, then we only we will have to update the requirements list.

Doc Impact
=========
OpenStack CLI Documentation will be updated in order to inform the user about the changes that will be introduced. The Help Documentation of OpenStack Utility will also be updated for the given feature.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
sandeep nandal
Direction:
Needs approval
Assignee:
sandeep nandal
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.