signature stringlengths 8 3.44k | body stringlengths 0 1.41M | docstring stringlengths 1 122k | id stringlengths 5 17 |
|---|---|---|---|
def _get_main_interface_physical(self): | return self.__main_interface_physical<EOL> | Getter method for main_interface_physical, mapped from YANG variable /logical_interface_state/main_interface_physical (list)
YANG Description: main interface | f336497:c0:m9 |
def _set_main_interface_physical(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGListType("<STR_LIT>",main_interface_physical.main_interface_physical, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, is_container='<STR_LIT:list>', user_ordered=False, path_helper=self._path_helper, yang_keys='<STR_LIT>', extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}), is_container='<STR_LIT:list>', yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:list>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:list>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__main_interface_physical = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for main_interface_physical, mapped from YANG variable /logical_interface_state/main_interface_physical (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_main_interface_physical is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_main_interface_physical() directly.
YANG Description: main interface | f336497:c0:m10 |
def _get_logical_interface_name(self): | return self.__logical_interface_name<EOL> | Getter method for logical_interface_name, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/logical_interface_name (string)
YANG Description: Logical Interface name | f336498:c0:m3 |
def _set_logical_interface_name(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__logical_interface_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for logical_interface_name, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/logical_interface_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_interface_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_logical_interface_name() directly.
YANG Description: Logical Interface name | f336498:c0:m4 |
def _get_source_type(self): | return self.__source_type<EOL> | Getter method for source_type, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/source_type (string)
YANG Description: source type | f336498:c0:m6 |
def _set_source_type(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__source_type = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for source_type, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/source_type (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_type is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_type() directly.
YANG Description: source type | f336498:c0:m7 |
def _get_protocol_status(self): | return self.__protocol_status<EOL> | Getter method for protocol_status, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/protocol_status (boolean)
YANG Description: Protocol Status | f336498:c0:m9 |
def _set_protocol_status(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__protocol_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for protocol_status, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/protocol_status (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_protocol_status() directly.
YANG Description: Protocol Status | f336498:c0:m10 |
def _get_admin_status(self): | return self.__admin_status<EOL> | Getter method for admin_status, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/admin_status (boolean)
YANG Description: Admin Status | f336498:c0:m12 |
def _set_admin_status(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__admin_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for admin_status, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/admin_status (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_admin_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_admin_status() directly.
YANG Description: Admin Status | f336498:c0:m13 |
def _get_lif_index(self): | return self.__lif_index<EOL> | Getter method for lif_index, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/lif_index (uint32)
YANG Description: Lif index | f336498:c0:m15 |
def _set_lif_index(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__lif_index = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for lif_index, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/lif_index (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_lif_index is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_lif_index() directly.
YANG Description: Lif index | f336498:c0:m16 |
def _get_bridge_domain_index(self): | return self.__bridge_domain_index<EOL> | Getter method for bridge_domain_index, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/bridge_domain_index (uint32)
YANG Description: Bridge Domain index | f336498:c0:m18 |
def _set_bridge_domain_index(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__bridge_domain_index = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for bridge_domain_index, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/bridge_domain_index (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_bridge_domain_index is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bridge_domain_index() directly.
YANG Description: Bridge Domain index | f336498:c0:m19 |
def _get_interface_name(self): | return self.__interface_name<EOL> | Getter method for interface_name, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/interface_name (string)
YANG Description: interface name | f336498:c0:m21 |
def _set_interface_name(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__interface_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for interface_name, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/interface_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_interface_name() directly.
YANG Description: interface name | f336498:c0:m22 |
def _get_is_binded(self): | return self.__is_binded<EOL> | Getter method for is_binded, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/is_binded (boolean)
YANG Description: Is the lif binded | f336498:c0:m24 |
def _set_is_binded(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__is_binded = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for is_binded, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/is_binded (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_is_binded is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_is_binded() directly.
YANG Description: Is the lif binded | f336498:c0:m25 |
def _get_ip_address(self): | return self.__ip_address<EOL> | Getter method for ip_address, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/ip_address (inet:ipv4-address)
YANG Description: inner vlan id | f336498:c0:m27 |
def _set_ip_address(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__ip_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for ip_address, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire/ip_address (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ip_address() directly.
YANG Description: inner vlan id | f336498:c0:m28 |
def _get_protocol_status(self): | return self.__protocol_status<EOL> | Getter method for protocol_status, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/protocol_status (boolean)
YANG Description: Protocol Status | f336499:c0:m3 |
def _set_protocol_status(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__protocol_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for protocol_status, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/protocol_status (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_protocol_status() directly.
YANG Description: Protocol Status | f336499:c0:m4 |
def _get_admin_status(self): | return self.__admin_status<EOL> | Getter method for admin_status, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/admin_status (boolean)
YANG Description: Admin Status | f336499:c0:m6 |
def _set_admin_status(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__admin_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for admin_status, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/admin_status (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_admin_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_admin_status() directly.
YANG Description: Admin Status | f336499:c0:m7 |
def _get_interface_index(self): | return self.__interface_index<EOL> | Getter method for interface_index, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/interface_index (uint32)
YANG Description: interface index | f336499:c0:m9 |
def _set_interface_index(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__interface_index = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for interface_index, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/interface_index (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_index is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_interface_index() directly.
YANG Description: interface index | f336499:c0:m10 |
def _get_counters(self): | return self.__counters<EOL> | Getter method for counters, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters (container)
YANG Description: Lif counters | f336499:c0:m12 |
def _set_counters(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=counters.counters, is_container='<STR_LIT>', presence=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__counters = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for counters, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counters is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_counters() directly.
YANG Description: Lif counters | f336499:c0:m13 |
def _get_logical_interface_pseudo_wire(self): | return self.__logical_interface_pseudo_wire<EOL> | Getter method for logical_interface_pseudo_wire, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire (container)
YANG Description: logical interface pseudo wire | f336499:c0:m15 |
def _set_logical_interface_pseudo_wire(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=logical_interface_pseudo_wire.logical_interface_pseudo_wire, is_container='<STR_LIT>', presence=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__logical_interface_pseudo_wire = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for logical_interface_pseudo_wire, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/logical_interface_pseudo_wire (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_interface_pseudo_wire is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_logical_interface_pseudo_wire() directly.
YANG Description: logical interface pseudo wire | f336499:c0:m16 |
def _get_lif_type(self): | return self.__lif_type<EOL> | Getter method for lif_type, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/lif_type (intf-type)
YANG Description: interface type | f336500:c0:m3 |
def _set_lif_type(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_type="<STR_LIT>", restriction_arg={u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:1>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:2>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:3>}},), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__lif_type = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for lif_type, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/lif_type (intf-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_lif_type is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_lif_type() directly.
YANG Description: interface type | f336500:c0:m4 |
def _get_total_lifs(self): | return self.__total_lifs<EOL> | Getter method for total_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/total_lifs (uint32)
YANG Description: total Lifs | f336500:c0:m6 |
def _set_total_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__total_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for total_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/total_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_total_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_total_lifs() directly.
YANG Description: total Lifs | f336500:c0:m7 |
def _get_protocol_status_up_lifs(self): | return self.__protocol_status_up_lifs<EOL> | Getter method for protocol_status_up_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/protocol_status_up_lifs (uint32)
YANG Description: Protocol status up lifs | f336500:c0:m9 |
def _set_protocol_status_up_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__protocol_status_up_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for protocol_status_up_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/protocol_status_up_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_status_up_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_protocol_status_up_lifs() directly.
YANG Description: Protocol status up lifs | f336500:c0:m10 |
def _get_binded_lifs(self): | return self.__binded_lifs<EOL> | Getter method for binded_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/binded_lifs (uint32)
YANG Description: binded lifs | f336500:c0:m12 |
def _set_binded_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__binded_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for binded_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/binded_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_binded_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_binded_lifs() directly.
YANG Description: binded lifs | f336500:c0:m13 |
def _get_unbinded_lifs(self): | return self.__unbinded_lifs<EOL> | Getter method for unbinded_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/unbinded_lifs (uint32)
YANG Description: unbinded lifs | f336500:c0:m15 |
def _set_unbinded_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__unbinded_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for unbinded_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/unbinded_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_unbinded_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_unbinded_lifs() directly.
YANG Description: unbinded lifs | f336500:c0:m16 |
def _get_implicit_lifs(self): | return self.__implicit_lifs<EOL> | Getter method for implicit_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/implicit_lifs (uint32)
YANG Description: implicit lifs | f336500:c0:m18 |
def _set_implicit_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__implicit_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for implicit_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/implicit_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_implicit_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_implicit_lifs() directly.
YANG Description: implicit lifs | f336500:c0:m19 |
def _get_explicit_lifs(self): | return self.__explicit_lifs<EOL> | Getter method for explicit_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/explicit_lifs (uint32)
YANG Description: explicit lifs | f336500:c0:m21 |
def _set_explicit_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__explicit_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for explicit_lifs, mapped from YANG variable /logical_interface_state/main_interface_pseudo_wire/counters/explicit_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_explicit_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_explicit_lifs() directly.
YANG Description: explicit lifs | f336500:c0:m22 |
def _get_logical_interface_name(self): | return self.__logical_interface_name<EOL> | Getter method for logical_interface_name, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/logical_interface_name (string)
YANG Description: Logical Interface name | f336501:c0:m3 |
def _set_logical_interface_name(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__logical_interface_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for logical_interface_name, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/logical_interface_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_interface_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_logical_interface_name() directly.
YANG Description: Logical Interface name | f336501:c0:m4 |
def _get_source_type(self): | return self.__source_type<EOL> | Getter method for source_type, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/source_type (string)
YANG Description: source type | f336501:c0:m6 |
def _set_source_type(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__source_type = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for source_type, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/source_type (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_type is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_type() directly.
YANG Description: source type | f336501:c0:m7 |
def _get_protocol_status(self): | return self.__protocol_status<EOL> | Getter method for protocol_status, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/protocol_status (boolean)
YANG Description: Protocol Status | f336501:c0:m9 |
def _set_protocol_status(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__protocol_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for protocol_status, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/protocol_status (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_protocol_status() directly.
YANG Description: Protocol Status | f336501:c0:m10 |
def _get_admin_status(self): | return self.__admin_status<EOL> | Getter method for admin_status, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/admin_status (boolean)
YANG Description: Admin Status | f336501:c0:m12 |
def _set_admin_status(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__admin_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for admin_status, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/admin_status (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_admin_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_admin_status() directly.
YANG Description: Admin Status | f336501:c0:m13 |
def _get_lif_index(self): | return self.__lif_index<EOL> | Getter method for lif_index, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/lif_index (uint32)
YANG Description: Lif index | f336501:c0:m15 |
def _set_lif_index(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__lif_index = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for lif_index, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/lif_index (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_lif_index is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_lif_index() directly.
YANG Description: Lif index | f336501:c0:m16 |
def _get_bridge_domain_index(self): | return self.__bridge_domain_index<EOL> | Getter method for bridge_domain_index, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/bridge_domain_index (uint32)
YANG Description: Bridge Domain index | f336501:c0:m18 |
def _set_bridge_domain_index(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__bridge_domain_index = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for bridge_domain_index, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/bridge_domain_index (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_bridge_domain_index is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bridge_domain_index() directly.
YANG Description: Bridge Domain index | f336501:c0:m19 |
def _get_interface_name(self): | return self.__interface_name<EOL> | Getter method for interface_name, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/interface_name (string)
YANG Description: interface name | f336501:c0:m21 |
def _set_interface_name(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__interface_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for interface_name, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/interface_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_interface_name() directly.
YANG Description: interface name | f336501:c0:m22 |
def _get_is_binded(self): | return self.__is_binded<EOL> | Getter method for is_binded, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/is_binded (boolean)
YANG Description: Is the lif binded | f336501:c0:m24 |
def _set_is_binded(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__is_binded = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for is_binded, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/is_binded (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_is_binded is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_is_binded() directly.
YANG Description: Is the lif binded | f336501:c0:m25 |
def _get_vni_tni(self): | return self.__vni_tni<EOL> | Getter method for vni_tni, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/vni_tni (uint32)
YANG Description: VNI or TNI | f336501:c0:m27 |
def _set_vni_tni(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__vni_tni = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for vni_tni, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel/vni_tni (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_tni is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_vni_tni() directly.
YANG Description: VNI or TNI | f336501:c0:m28 |
def _get_protocol_status(self): | return self.__protocol_status<EOL> | Getter method for protocol_status, mapped from YANG variable /logical_interface_state/main_interface_tunnel/protocol_status (boolean)
YANG Description: Protocol Status | f336502:c0:m3 |
def _set_protocol_status(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__protocol_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for protocol_status, mapped from YANG variable /logical_interface_state/main_interface_tunnel/protocol_status (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_protocol_status() directly.
YANG Description: Protocol Status | f336502:c0:m4 |
def _get_admin_status(self): | return self.__admin_status<EOL> | Getter method for admin_status, mapped from YANG variable /logical_interface_state/main_interface_tunnel/admin_status (boolean)
YANG Description: Admin Status | f336502:c0:m6 |
def _set_admin_status(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__admin_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for admin_status, mapped from YANG variable /logical_interface_state/main_interface_tunnel/admin_status (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_admin_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_admin_status() directly.
YANG Description: Admin Status | f336502:c0:m7 |
def _get_interface_index(self): | return self.__interface_index<EOL> | Getter method for interface_index, mapped from YANG variable /logical_interface_state/main_interface_tunnel/interface_index (uint32)
YANG Description: interface index | f336502:c0:m9 |
def _set_interface_index(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__interface_index = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for interface_index, mapped from YANG variable /logical_interface_state/main_interface_tunnel/interface_index (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_index is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_interface_index() directly.
YANG Description: interface index | f336502:c0:m10 |
def _get_counters(self): | return self.__counters<EOL> | Getter method for counters, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters (container)
YANG Description: Lif counters | f336502:c0:m12 |
def _set_counters(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=counters.counters, is_container='<STR_LIT>', presence=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__counters = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for counters, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counters is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_counters() directly.
YANG Description: Lif counters | f336502:c0:m13 |
def _get_logical_interface_tunnel(self): | return self.__logical_interface_tunnel<EOL> | Getter method for logical_interface_tunnel, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel (container)
YANG Description: logical interface tunnel | f336502:c0:m15 |
def _set_logical_interface_tunnel(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=logical_interface_tunnel.logical_interface_tunnel, is_container='<STR_LIT>', presence=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__logical_interface_tunnel = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for logical_interface_tunnel, mapped from YANG variable /logical_interface_state/main_interface_tunnel/logical_interface_tunnel (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_interface_tunnel is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_logical_interface_tunnel() directly.
YANG Description: logical interface tunnel | f336502:c0:m16 |
def _get_lif_type(self): | return self.__lif_type<EOL> | Getter method for lif_type, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/lif_type (intf-type)
YANG Description: interface type | f336503:c0:m3 |
def _set_lif_type(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_type="<STR_LIT>", restriction_arg={u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:1>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:2>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:3>}},), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__lif_type = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for lif_type, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/lif_type (intf-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_lif_type is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_lif_type() directly.
YANG Description: interface type | f336503:c0:m4 |
def _get_total_lifs(self): | return self.__total_lifs<EOL> | Getter method for total_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/total_lifs (uint32)
YANG Description: total Lifs | f336503:c0:m6 |
def _set_total_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__total_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for total_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/total_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_total_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_total_lifs() directly.
YANG Description: total Lifs | f336503:c0:m7 |
def _get_protocol_status_up_lifs(self): | return self.__protocol_status_up_lifs<EOL> | Getter method for protocol_status_up_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/protocol_status_up_lifs (uint32)
YANG Description: Protocol status up lifs | f336503:c0:m9 |
def _set_protocol_status_up_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__protocol_status_up_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for protocol_status_up_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/protocol_status_up_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_status_up_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_protocol_status_up_lifs() directly.
YANG Description: Protocol status up lifs | f336503:c0:m10 |
def _get_binded_lifs(self): | return self.__binded_lifs<EOL> | Getter method for binded_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/binded_lifs (uint32)
YANG Description: binded lifs | f336503:c0:m12 |
def _set_binded_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__binded_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for binded_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/binded_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_binded_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_binded_lifs() directly.
YANG Description: binded lifs | f336503:c0:m13 |
def _get_unbinded_lifs(self): | return self.__unbinded_lifs<EOL> | Getter method for unbinded_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/unbinded_lifs (uint32)
YANG Description: unbinded lifs | f336503:c0:m15 |
def _set_unbinded_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__unbinded_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for unbinded_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/unbinded_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_unbinded_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_unbinded_lifs() directly.
YANG Description: unbinded lifs | f336503:c0:m16 |
def _get_implicit_lifs(self): | return self.__implicit_lifs<EOL> | Getter method for implicit_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/implicit_lifs (uint32)
YANG Description: implicit lifs | f336503:c0:m18 |
def _set_implicit_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__implicit_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for implicit_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/implicit_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_implicit_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_implicit_lifs() directly.
YANG Description: implicit lifs | f336503:c0:m19 |
def _get_explicit_lifs(self): | return self.__explicit_lifs<EOL> | Getter method for explicit_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/explicit_lifs (uint32)
YANG Description: explicit lifs | f336503:c0:m21 |
def _set_explicit_lifs(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__explicit_lifs = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for explicit_lifs, mapped from YANG variable /logical_interface_state/main_interface_tunnel/counters/explicit_lifs (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_explicit_lifs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_explicit_lifs() directly.
YANG Description: explicit lifs | f336503:c0:m22 |
def _get_ha(self): | return self.__ha<EOL> | Getter method for ha, mapped from YANG variable /ha_action/ha (container) | f336504:c0:m3 |
def _set_ha(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=ha.ha, is_container='<STR_LIT>', presence=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT:info>': u'<STR_LIT>', u'<STR_LIT:action>': u'<STR_LIT>'}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__ha = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for ha, mapped from YANG variable /ha_action/ha (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ha is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ha() directly. | f336504:c0:m4 |
def _get_show_cluster(self): | return self.__show_cluster<EOL> | Getter method for show_cluster, mapped from YANG variable /mct_state/show_cluster (list)
YANG Description: parent mo name | f336505:c0:m3 |
def _set_show_cluster(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGListType("<STR_LIT>",show_cluster.show_cluster, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, is_container='<STR_LIT:list>', user_ordered=False, path_helper=self._path_helper, yang_keys='<STR_LIT>', extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}), is_container='<STR_LIT:list>', yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:list>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:list>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__show_cluster = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for show_cluster, mapped from YANG variable /mct_state/show_cluster (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_cluster is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_show_cluster() directly.
YANG Description: parent mo name | f336505:c0:m4 |
def _get_client_name(self): | return self.__client_name<EOL> | Getter method for client_name, mapped from YANG variable /mct_state/show_cluster/client_info_list/client_name (string) | f336506:c0:m3 |
def _set_client_name(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__client_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for client_name, mapped from YANG variable /mct_state/show_cluster/client_info_list/client_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_client_name() directly. | f336506:c0:m4 |
def _get_cluster_id(self): | return self.__cluster_id<EOL> | Getter method for cluster_id, mapped from YANG variable /mct_state/show_cluster/client_info_list/cluster_id (uint32) | f336506:c0:m6 |
def _set_cluster_id(self, v, load=False): | parent = getattr(self, "<STR_LIT>", None)<EOL>if parent is not None and load is False:<EOL><INDENT>raise AttributeError("<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__cluster_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for cluster_id, mapped from YANG variable /mct_state/show_cluster/client_info_list/cluster_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_cluster_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cluster_id() directly. | f336506:c0:m7 |
def _get_client_id(self): | return self.__client_id<EOL> | Getter method for client_id, mapped from YANG variable /mct_state/show_cluster/client_info_list/client_id (uint32) | f336506:c0:m9 |
def _set_client_id(self, v, load=False): | parent = getattr(self, "<STR_LIT>", None)<EOL>if parent is not None and load is False:<EOL><INDENT>raise AttributeError("<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__client_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for client_id, mapped from YANG variable /mct_state/show_cluster/client_info_list/client_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_client_id() directly. | f336506:c0:m10 |
def _get_client_esi(self): | return self.__client_esi<EOL> | Getter method for client_esi, mapped from YANG variable /mct_state/show_cluster/client_info_list/client_esi (string) | f336506:c0:m12 |
def _set_client_esi(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__client_esi = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for client_esi, mapped from YANG variable /mct_state/show_cluster/client_info_list/client_esi (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_esi is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_client_esi() directly. | f336506:c0:m13 |
def _get_client_interface(self): | return self.__client_interface<EOL> | Getter method for client_interface, mapped from YANG variable /mct_state/show_cluster/client_info_list/client_interface (string) | f336506:c0:m15 |
def _set_client_interface(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__client_interface = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for client_interface, mapped from YANG variable /mct_state/show_cluster/client_info_list/client_interface (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_interface is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_client_interface() directly. | f336506:c0:m16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.