Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pyeapi/api/__pycache__/mlag.cpython-39.pyc
Ðазад
a b�h�* � @ s4 d Z ddlZddlmZ G dd� de�Zdd� ZdS )a Module for working with EOS MLAG resources The Mlag resource provides configuration management of global and interface MLAG settings on an EOS node. Parameters: config (dict): The global MLAG configuration values interfaces (dict): The configured MLAG interfaces Config Parameters: domain_id (str): The domain_id parameter is parsed from the nodes mlag configuration. The domain id is an alphanumeric string that names the MLAG domain local_interface (str): The local VLAN interface used as the control plane endpoint between MLAG peers. Valid values include any VLAN SVI peer_address (str): The IP address of the MLAG peer used to send MLAG control traffic. The peer address must be reachable from the local interface. Valid values include any IPv4 unicast address peer_link (str): The physical link that connects the node to its MLAG peer. Valid values for the peer link include layer 2 Ethernet or Port-Channel interfaces shutdown (bool): The administrative state of the global MLAG process. Interface Parameters: mlag_id (str): The interface mlag parameter parsed from the nodes interface configuration. Valid values for the mlag id are in the range of 1 to 2000 � N)�Entityc s� e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Z� fdd�Zd#dd�Z d$dd�Zd%dd�Zd&dd�Zd'dd �Zd(d!d"�Z� ZS ))�Mlagz�The Mlag class provides management of the MLAG configuration The Mlag class is derived from Entity and provides an API for working with the nodes MLAG configuraiton. c C s&