diff --git a/brick_cinderclient_ext/__init__.py b/brick_cinderclient_ext/__init__.py index 3349bc2..cbdf71b 100644 --- a/brick_cinderclient_ext/__init__.py +++ b/brick_cinderclient_ext/__init__.py @@ -66,7 +66,6 @@ def do_get_connector(client, args): @utils.arg('identifier', metavar='', help=VOLUME_ID_HELP_MESSAGE) -@utils.service_type('volumev2') @utils.arg('--hostname', metavar='', default=socket.gethostname(), @@ -87,7 +86,6 @@ def do_get_connector(client, args): metavar='', default=False, help=ENFORCE_MULTIPATH_HELP_MESSAGE) -@utils.service_type('volumev2') @brick_utils.require_root def do_local_attach(client, args): hostname = args.hostname @@ -122,7 +120,6 @@ def do_local_attach(client, args): metavar='', default=None, help='The device_info is returned from connect_volume.') -@utils.service_type('volumev2') @brick_utils.require_root def do_local_detach(client, args): volume = args.identifier @@ -142,7 +139,6 @@ def do_local_detach(client, args): metavar='', default=False, help=MULTIPATH_HELP_MESSAGE) -@utils.service_type('volumev2') @brick_utils.require_root def do_get_volume_paths(client, args): """Get volume paths for a volume.""" @@ -162,7 +158,6 @@ def do_get_volume_paths(client, args): metavar='', default='ISCSI', help='Connection protocol. ISCSI, FIBRE_CHANNEL, etc.') -@utils.service_type('volumev2') @brick_utils.require_root def do_get_all_volume_paths(client, args): """Get all volume paths for a protocol."""