# type: (str) -> WriteCompletion
"""
Add a host to the orchestrator inventory.
+
:param host: hostname
"""
raise NotImplementedError()
# type: (str) -> WriteCompletion
"""
Remove a host from the orchestrator inventory.
+
:param host: hostname
"""
raise NotImplementedError()
Report the hosts in the cluster.
The default implementation is extra slow.
+
:return: list of InventoryNodes
"""
return self.get_inventory()
When viewing a CephFS filesystem in the dashboard, we would use this
to display the pods being currently run for MDS daemons.
- Returns a list of ServiceDescription objects.
+ :return: list of ServiceDescription objects.
"""
raise NotImplementedError()
:param only_header: Print only the name of the device attributes
- Ex:
- > Device Path Type Size Rotates Available Model
- > /dev/sdc hdd 50.00 GB True True ATA/QEMU
+ Ex::
+
+ Device Path Type Size Rotates Available Model
+ /dev/sdc hdd 50.00 GB True True ATA/QEMU
"""
row_format = " {0:<15} {1:>10} {2:>10} {3:>10} {4:>10} {5:<15}\n"