COT.info module¶
Implements “info” subcommand.
-
class
COTInfo(ui)[source]¶ Bases:
COT.submodule.COTGenericSubmoduleDisplay VM information string.
Inherited attributes:
uiAttributes:
package_list,verbosity-
__init__(ui)[source]¶ Instantiate this submodule with the given UI.
Parameters: ui (UI) – User interface instance.
-
ready_to_run()[source]¶ Check whether the module is ready to
run().Returns: tuple – (True, ready_message)or(False, reason_why_not)
-
run()[source]¶ Do the actual work of this submodule.
Raises: InvalidInputError– ifready_to_run()reportsFalse
-
package_list¶ List of VM definitions to get information for.
-
verbosity¶ Verbosity of information displayed.
-