utilities.tools
This MC will enable users to install various tools within their VM including tcpdump, Wireshark, some source code build tools, and Docker.
Available Objects
This module contains all necessary Model Component Objects for utilities.tools.
- class utilities.tools.Utilities[source]
Bases:
objectAn object which provides various utility functions for VMs.
- __annotate_func__ = None
- __annotations_cache__ = {}
- __firstlineno__ = 4
- __static_attributes__ = ()
- get_and_validate_vm_os(supported_oses=None)[source]
Get the operating system from a VM and check to see if an approved operating system is used.
- Parameters:
supported_oses (set) – A set of supported operating systems.
- Returns:
The matched operating system.
- Return type:
- Raises:
NotImplementedError – If the VM has an unsupported OS.