Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pyeapi/api/__pycache__/vrfs.cpython-39.pyc
Ðазад
a b�hR0 � @ s\ d Z ddlZddlmZ ddlmZ e�dej�Ze�dej�Z G dd� de�Z d d � ZdS )a\ Module for working with EOS VRF resources The Vrfs resource provides configuration of VRF resources for an EOS node. Parameters: name (string): The name parameter maps to the VRF name in EOS. Valid values include any consecutive sequence of numbers, letters and underscore up to the maximum number of characters. This parameter is defaultable. description (string): The vrf description set by the user ipv4_routing (bool): Tells whether IPv4 routing is enabled on the VRF ipv6_routing (bool): Tells whether IPv6 unicast routing is enabled on the VRF � N)�EntityCollection)� make_iterablez(?:\srd\s)(?P<value>.*)$z(?:description\s)(?P<value>.*)$c @ s� e Zd ZdZdd� Zdd� Zdd� Zdd � Zddd�Zd d� Z dd� Z dd� Zdd� Zddd�Z d dd�Zd!dd�Zd"dd�Zd S )#�Vrfsz�The Vrfs class provides a configuration resource for VRFs The Vrfs class is derived from ResourceBase a standard set of methods for working with VRF configurations on an EOS node. c C s� | j dkr| �d| �}n| �d| �}|s0dS t|d�}|�| �|�� |�| �|�� | �d| �}|rvd|d<