Merge "Set v2 commands available for v2 service_type"
This commit is contained in:
@@ -668,6 +668,7 @@ def do_type_key(cs, args):
|
|||||||
vtype.unset_keys(list(keypair))
|
vtype.unset_keys(list(keypair))
|
||||||
|
|
||||||
|
|
||||||
|
@utils.service_type('volumev2')
|
||||||
def do_endpoints(cs, args):
|
def do_endpoints(cs, args):
|
||||||
"""Discover endpoints that get returned from the authenticate services."""
|
"""Discover endpoints that get returned from the authenticate services."""
|
||||||
catalog = cs.client.service_catalog.catalog
|
catalog = cs.client.service_catalog.catalog
|
||||||
@@ -675,6 +676,7 @@ def do_endpoints(cs, args):
|
|||||||
utils.print_dict(e['endpoints'][0], e['name'])
|
utils.print_dict(e['endpoints'][0], e['name'])
|
||||||
|
|
||||||
|
|
||||||
|
@utils.service_type('volumev2')
|
||||||
def do_credentials(cs, args):
|
def do_credentials(cs, args):
|
||||||
"""Show user credentials returned from auth."""
|
"""Show user credentials returned from auth."""
|
||||||
catalog = cs.client.service_catalog.catalog
|
catalog = cs.client.service_catalog.catalog
|
||||||
@@ -1373,6 +1375,7 @@ def do_qos_disassociate_all(cs, args):
|
|||||||
nargs='+',
|
nargs='+',
|
||||||
default=[],
|
default=[],
|
||||||
help='QoS specs to set/unset (only key is necessary on unset)')
|
help='QoS specs to set/unset (only key is necessary on unset)')
|
||||||
|
@utils.service_type('volumev2')
|
||||||
def do_qos_key(cs, args):
|
def do_qos_key(cs, args):
|
||||||
"""Set or unset specifications for a qos spec."""
|
"""Set or unset specifications for a qos spec."""
|
||||||
keypair = _extract_metadata(args)
|
keypair = _extract_metadata(args)
|
||||||
|
|||||||
Reference in New Issue
Block a user