orchestro.inventory package#
Submodules#
orchestro.inventory.orche module#
Functions and routines associated with Enasis Network Orchestrations.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class orchestro.inventory.orche.InventoryModule[source]#
Bases:
BaseInventoryPlugin
Process and update Ansible inventory from Orche objects.
- add_child(*args: Any, **kwargs: Any) None [source]#
Perform the operations related to the Ansible inventory.
- Parameters:
args – Positional arguments passed for downstream.
kwargs – Keyword arguments passed for downstream.
- add_group(*args: Any, **kwargs: Any) None [source]#
Perform the operations related to the Ansible inventory.
- Parameters:
args – Positional arguments passed for downstream.
kwargs – Keyword arguments passed for downstream.
- add_host(*args: Any, **kwargs: Any) None [source]#
Perform the operations related to the Ansible inventory.
- Parameters:
args – Positional arguments passed for downstream.
kwargs – Keyword arguments passed for downstream.
- property dumped: dict[str, Any]#
Return the facts about the attributes from the instance.
- Returns:
Facts about the attributes from the instance.
- parse(inventory: InventoryData, loader: DataLoader, path: str, cache: bool = True) None [source]#
Process and update Ansible inventory from Orche objects.
- Parameters:
inventory – Reference to Ansible inventory object.
loader – Reference for the Ansible loader object.
path – Value which represents source of inventory.
cache – Indicates taht internal cache is enabled.
Module contents#
Functions and routines associated with Enasis Network Orchestrations.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.