mgr/dashboard: Include Network address and labels on Host Creation form
The ability to create host by specifying network address and also create
labels.
https://tracker.ceph.com/issues/50318
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
7c1df692f270ad0e7c80559e5b190c98eea44981)
Conflicts:
qa/tasks/mgr/dashboard/test_host.py
- Keep the {'status': ''} parameter on the request body of _post
src/pybind/mgr/dashboard/controllers/host.py
- Added the addr and labels as parameter in the create() method
as well as the add_host() method.
src/pybind/mgr/dashboard/services/orchestrator.py
- Added the addr and labels as parameter in the add() method and
removed the status parameter
src/pybind/mgr/dashboard/openapi.yaml
- Regenerated the openapi.yaml spec