-
Notifications
You must be signed in to change notification settings - Fork 64
Kathara.manager.docker.stats.DockerLinkStats
Tommaso Caiazzi edited this page Mar 18, 2024
·
7 revisions
The class responsible to handle Docker Networks statistics.
Attributes:
-
link_api_object
(Network): The Docker Network associated with this statistics. -
lab_hash
(str): The hash identifier of the network scenario of the Docker Network. -
name
(str): The name of the collision domain. -
network_name
(str): The Docker Network Name. -
user
(str): The user that deployed the associated Docker Network. -
enable_ipv6
(bool): True if ipv6 is enabled, else None. -
external
(List[str]): A list with the name of the attached external networks. -
containers
(List[Container]): A list of the Docker Container associated with the Docker Network.
__init__(link_api_object: docker.models.networks.Network)
to_dict() → Dict[str, Any]
Transform statistics into a dict representation.
Returns:
-
Dict[str, Any]
: Dict containing statistics.
update() → None
Update dynamic statistics with the current ones.
Returns: None
This file was automatically generated via lazydocs.
Website: kathara.org
Contact us: contact@kathara.org