COT.edit_properties module¶
Module for managing VM environment configuration properties.
Classes
COTEditProperties |
Edit OVF environment XML properties. |
-
class
COTEditProperties(UI)[source]¶ Bases:
COT.submodule.COTSubmoduleEdit OVF environment XML properties.
Inherited attributes:
UI,package,outputAttributes:
config_file,properties-
create_subparser(parent, storage)[source]¶ Add subparser for the CLI of this submodule.
Parameters: - parent (object) – Subparser grouping object returned by
ArgumentParser.add_subparsers() - storage (dict) – Dict of { ‘label’: subparser } to be updated with subparser(s) created, if any.
- parent (object) – Subparser grouping object returned by
-
run()[source]¶ Do the actual work of this submodule.
Raises InvalidInputError: if ready_to_run()reportsFalse
-
config_file¶ Path to plaintext file to read configuration lines from.
Raise: InvalidInputErrorif the file does not exist.
-
properties¶ List of property (key, value) tuples to update.
-