]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/orchestrator: allow scaling the NFS server count up and down
authorJeff Layton <jlayton@redhat.com>
Mon, 25 Feb 2019 14:21:08 +0000 (09:21 -0500)
committerJeff Layton <jlayton@redhat.com>
Wed, 6 Mar 2019 12:15:14 +0000 (07:15 -0500)
commita256735d4cc0d577faf86dda1672738301fefe78
treed258a938e90ba34b3829c3c97058ba4e2e407a04
parent32161b7699bd9c14f7eec9dfe57fe893b36b365b
mgr/orchestrator: allow scaling the NFS server count up and down

Add a new 'ceph orchestrator nfs update' command that will take the
NFS clustername and a new count as arguments. That will get translated
to a StatelessServiceSpec and passed to update_stateless_service.

Also, add the necessary stubs to the test_orchestrator and the CLI
QA test.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
qa/tasks/mgr/test_orchestrator_cli.py
src/pybind/mgr/orchestrator_cli/module.py
src/pybind/mgr/test_orchestrator/module.py