use keyword `service_id` from the orch cli
Signed-off-by: Michael Fritch <mfritch@suse.com>
raise OrchestratorValidationError('unrecognized command -i; -h or --help for usage')
spec = ServiceSpec(
- 'mds', fs_name,
+ service_type='mds',
+ service_id=fs_name,
placement=PlacementSpec.from_string(placement),
)
raise OrchestratorValidationError('unrecognized command -i; -h or --help for usage')
spec = NFSServiceSpec(
- svc_id,
+ service_id=svc_id,
pool=pool,
namespace=namespace,
placement=PlacementSpec.from_string(placement),
raise OrchestratorValidationError('unrecognized command -i; -h or --help for usage')
spec = ServiceSpec(
- 'mds', fs_name,
+ service_type='mds',
+ service_id=fs_name,
placement=PlacementSpec.from_string(placement),
unmanaged=unmanaged)
raise OrchestratorValidationError('unrecognized command -i; -h or --help for usage')
spec = NFSServiceSpec(
- svc_id,
+ service_id=svc_id,
pool=pool,
namespace=namespace,
placement=PlacementSpec.from_string(placement),