signature stringlengths 8 3.44k | body stringlengths 0 1.41M | docstring stringlengths 1 122k | id stringlengths 5 17 |
|---|---|---|---|
def _get_config_priority_configured(self): | return self.__config_priority_configured<EOL> | Getter method for config_priority_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_priority_configured (boolean)
YANG Description: lsp_sec_path_config_priority_configured | f336441:c0:m87 |
def _set_config_priority_configured(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.__config_priority_configured = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_priority_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_priority_configured (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_priority_configured is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_priority_configured() directly.
YANG Description: lsp_sec_path_config_priority_configured | f336441:c0:m88 |
def _get_config_setup_prority(self): | return self.__config_setup_prority<EOL> | Getter method for config_setup_prority, mapped from YANG variable /mpls_state/lsp/secondary_path/config_setup_prority (uint8)
YANG Description: lsp_sec_path_config_setup_prority | f336441:c0:m90 |
def _set_config_setup_prority(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__config_setup_prority = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_setup_prority, mapped from YANG variable /mpls_state/lsp/secondary_path/config_setup_prority (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_setup_prority is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_setup_prority() directly.
YANG Description: lsp_sec_path_config_setup_prority | f336441:c0:m91 |
def _get_config_holding_prority(self): | return self.__config_holding_prority<EOL> | Getter method for config_holding_prority, mapped from YANG variable /mpls_state/lsp/secondary_path/config_holding_prority (uint8)
YANG Description: lsp_sec_path_config_holding_prority | f336441:c0:m93 |
def _set_config_holding_prority(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__config_holding_prority = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_holding_prority, mapped from YANG variable /mpls_state/lsp/secondary_path/config_holding_prority (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_holding_prority is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_holding_prority() directly.
YANG Description: lsp_sec_path_config_holding_prority | f336441:c0:m94 |
def _get_config_hop_limit_configured(self): | return self.__config_hop_limit_configured<EOL> | Getter method for config_hop_limit_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_hop_limit_configured (boolean)
YANG Description: lsp_sec_path_config_hop_limit_configured | f336441:c0:m96 |
def _set_config_hop_limit_configured(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.__config_hop_limit_configured = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_hop_limit_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_hop_limit_configured (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_hop_limit_configured is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_hop_limit_configured() directly.
YANG Description: lsp_sec_path_config_hop_limit_configured | f336441:c0:m97 |
def _get_config_hop_limit(self): | return self.__config_hop_limit<EOL> | Getter method for config_hop_limit, mapped from YANG variable /mpls_state/lsp/secondary_path/config_hop_limit (uint8)
YANG Description: lsp_sec_path_config_hop_limit | f336441:c0:m99 |
def _set_config_hop_limit(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__config_hop_limit = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_hop_limit, mapped from YANG variable /mpls_state/lsp/secondary_path/config_hop_limit (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_hop_limit is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_hop_limit() directly.
YANG Description: lsp_sec_path_config_hop_limit | f336441:c0:m100 |
def _get_config_traffic_eng_rate_configured(self): | return self.__config_traffic_eng_rate_configured<EOL> | Getter method for config_traffic_eng_rate_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_traffic_eng_rate_configured (boolean)
YANG Description: lsp_sec_path_config_traffic_eng_rate_configured | f336441:c0:m102 |
def _set_config_traffic_eng_rate_configured(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.__config_traffic_eng_rate_configured = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_traffic_eng_rate_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_traffic_eng_rate_configured (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_traffic_eng_rate_configured is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_traffic_eng_rate_configured() directly.
YANG Description: lsp_sec_path_config_traffic_eng_rate_configured | f336441:c0:m103 |
def _get_config_traffic_eng_mean_rate(self): | return self.__config_traffic_eng_mean_rate<EOL> | Getter method for config_traffic_eng_mean_rate, mapped from YANG variable /mpls_state/lsp/secondary_path/config_traffic_eng_mean_rate (uint32)
YANG Description: lsp_sec_path_config_traffic_eng_mean_rate | f336441:c0:m105 |
def _set_config_traffic_eng_mean_rate(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.__config_traffic_eng_mean_rate = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_traffic_eng_mean_rate, mapped from YANG variable /mpls_state/lsp/secondary_path/config_traffic_eng_mean_rate (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_traffic_eng_mean_rate is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_traffic_eng_mean_rate() directly.
YANG Description: lsp_sec_path_config_traffic_eng_mean_rate | f336441:c0:m106 |
def _get_config_traffic_eng_max_rate(self): | return self.__config_traffic_eng_max_rate<EOL> | Getter method for config_traffic_eng_max_rate, mapped from YANG variable /mpls_state/lsp/secondary_path/config_traffic_eng_max_rate (uint32)
YANG Description: lsp_sec_path_config_traffic_eng_max_rate | f336441:c0:m108 |
def _set_config_traffic_eng_max_rate(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.__config_traffic_eng_max_rate = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_traffic_eng_max_rate, mapped from YANG variable /mpls_state/lsp/secondary_path/config_traffic_eng_max_rate (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_traffic_eng_max_rate is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_traffic_eng_max_rate() directly.
YANG Description: lsp_sec_path_config_traffic_eng_max_rate | f336441:c0:m109 |
def _get_config_traffic_eng_max_burst(self): | return self.__config_traffic_eng_max_burst<EOL> | Getter method for config_traffic_eng_max_burst, mapped from YANG variable /mpls_state/lsp/secondary_path/config_traffic_eng_max_burst (uint32)
YANG Description: lsp_sec_path_config_traffic_eng_max_burst | f336441:c0:m111 |
def _set_config_traffic_eng_max_burst(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.__config_traffic_eng_max_burst = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_traffic_eng_max_burst, mapped from YANG variable /mpls_state/lsp/secondary_path/config_traffic_eng_max_burst (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_traffic_eng_max_burst is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_traffic_eng_max_burst() directly.
YANG Description: lsp_sec_path_config_traffic_eng_max_burst | f336441:c0:m112 |
def _get_config_abw_configured(self): | return self.__config_abw_configured<EOL> | Getter method for config_abw_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_abw_configured (boolean)
YANG Description: lsp_sec_path_config_abw_configured | f336441:c0:m114 |
def _set_config_abw_configured(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.__config_abw_configured = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_abw_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_abw_configured (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_abw_configured is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_abw_configured() directly.
YANG Description: lsp_sec_path_config_abw_configured | f336441:c0:m115 |
def _get_config_cspf_computation_mode(self): | return self.__config_cspf_computation_mode<EOL> | Getter method for config_cspf_computation_mode, mapped from YANG variable /mpls_state/lsp/secondary_path/config_cspf_computation_mode (lsp-cspf-computation-mode)
YANG Description: lsp sec path configured cspf computation mode | f336441:c0:m117 |
def _set_config_cspf_computation_mode(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:7>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:5>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:4>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:3>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:6>}},), 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.__config_cspf_computation_mode = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_cspf_computation_mode, mapped from YANG variable /mpls_state/lsp/secondary_path/config_cspf_computation_mode (lsp-cspf-computation-mode)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_cspf_computation_mode is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_cspf_computation_mode() directly.
YANG Description: lsp sec path configured cspf computation mode | f336441:c0:m118 |
def _get_config_admin_group_configured(self): | return self.__config_admin_group_configured<EOL> | Getter method for config_admin_group_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_admin_group_configured (boolean)
YANG Description: lsp_sec_path_config_admin_group_configured | f336441:c0:m120 |
def _set_config_admin_group_configured(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.__config_admin_group_configured = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_admin_group_configured, mapped from YANG variable /mpls_state/lsp/secondary_path/config_admin_group_configured (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_admin_group_configured is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_admin_group_configured() directly.
YANG Description: lsp_sec_path_config_admin_group_configured | f336441:c0:m121 |
def _get_config_exclude_any(self): | return self.__config_exclude_any<EOL> | Getter method for config_exclude_any, mapped from YANG variable /mpls_state/lsp/secondary_path/config_exclude_any (list) | f336441:c0:m123 |
def _set_config_exclude_any(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>",config_exclude_any.config_exclude_any, 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>'}}), 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>'}}, 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.__config_exclude_any = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_exclude_any, mapped from YANG variable /mpls_state/lsp/secondary_path/config_exclude_any (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_exclude_any is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_exclude_any() directly. | f336441:c0:m124 |
def _get_config_include_any(self): | return self.__config_include_any<EOL> | Getter method for config_include_any, mapped from YANG variable /mpls_state/lsp/secondary_path/config_include_any (list) | f336441:c0:m126 |
def _set_config_include_any(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>",config_include_any.config_include_any, 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>'}}), 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>'}}, 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.__config_include_any = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_include_any, mapped from YANG variable /mpls_state/lsp/secondary_path/config_include_any (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_include_any is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_include_any() directly. | f336441:c0:m127 |
def _get_config_include_all(self): | return self.__config_include_all<EOL> | Getter method for config_include_all, mapped from YANG variable /mpls_state/lsp/secondary_path/config_include_all (list) | f336441:c0:m129 |
def _set_config_include_all(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>",config_include_all.config_include_all, 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>'}}), 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>'}}, 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.__config_include_all = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_include_all, mapped from YANG variable /mpls_state/lsp/secondary_path/config_include_all (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_include_all is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_include_all() directly. | f336441:c0:m130 |
def _get_backup_from_address(self): | return self.__backup_from_address<EOL> | Getter method for backup_from_address, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_from_address (inet:ipv4-address)
YANG Description: lsp_backup_from_address | f336442:c0:m3 |
def _set_backup_from_address(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=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, 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.__backup_from_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_from_address, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_from_address (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_from_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_from_address() directly.
YANG Description: lsp_backup_from_address | f336442:c0:m4 |
def _get_backup_to_address(self): | return self.__backup_to_address<EOL> | Getter method for backup_to_address, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_to_address (inet:ipv4-address)
YANG Description: lsp_backup_to_address | f336442:c0:m6 |
def _set_backup_to_address(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=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, 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.__backup_to_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_to_address, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_to_address (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_to_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_to_address() directly.
YANG Description: lsp_backup_to_address | f336442:c0:m7 |
def _get_backup_name(self): | return self.__backup_name<EOL> | Getter method for backup_name, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_name (string)
YANG Description: lsp_backup_name | f336442:c0:m9 |
def _set_backup_name(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=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, is_keyval=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.__backup_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_name, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_name() directly.
YANG Description: lsp_backup_name | f336442:c0:m10 |
def _get_backup_type_ingress(self): | return self.__backup_type_ingress<EOL> | Getter method for backup_type_ingress, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_type_ingress (boolean)
YANG Description: lsp_backup_type_ingress | f336442:c0:m12 |
def _set_backup_type_ingress(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.__backup_type_ingress = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_type_ingress, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_type_ingress (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_type_ingress is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_type_ingress() directly.
YANG Description: lsp_backup_type_ingress | f336442:c0:m13 |
def _get_backup_type_transit(self): | return self.__backup_type_transit<EOL> | Getter method for backup_type_transit, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_type_transit (boolean)
YANG Description: lsp_backup_type_transit | f336442:c0:m15 |
def _set_backup_type_transit(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.__backup_type_transit = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_type_transit, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_type_transit (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_type_transit is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_type_transit() directly.
YANG Description: lsp_backup_type_transit | f336442:c0:m16 |
def _get_backup_is_active(self): | return self.__backup_is_active<EOL> | Getter method for backup_is_active, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_is_active (boolean)
YANG Description: lsp_backup_is_active | f336442:c0:m18 |
def _set_backup_is_active(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.__backup_is_active = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_is_active, mapped from YANG variable /mpls_state/lsp/backup/backup_transit/backup_is_active (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_is_active is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_is_active() directly.
YANG Description: lsp_backup_is_active | f336442:c0:m19 |
def _get_backup_from_address(self): | return self.__backup_from_address<EOL> | Getter method for backup_from_address, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_from_address (inet:ipv4-address)
YANG Description: lsp_backup_from_address | f336443:c0:m3 |
def _set_backup_from_address(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=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, 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.__backup_from_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_from_address, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_from_address (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_from_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_from_address() directly.
YANG Description: lsp_backup_from_address | f336443:c0:m4 |
def _get_backup_to_address(self): | return self.__backup_to_address<EOL> | Getter method for backup_to_address, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_to_address (inet:ipv4-address)
YANG Description: lsp_backup_to_address | f336443:c0:m6 |
def _set_backup_to_address(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=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, 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.__backup_to_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_to_address, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_to_address (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_to_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_to_address() directly.
YANG Description: lsp_backup_to_address | f336443:c0:m7 |
def _get_backup_name(self): | return self.__backup_name<EOL> | Getter method for backup_name, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_name (string)
YANG Description: lsp_backup_name | f336443:c0:m9 |
def _set_backup_name(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=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, is_keyval=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.__backup_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_name, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_name() directly.
YANG Description: lsp_backup_name | f336443:c0:m10 |
def _get_backup_type_ingress(self): | return self.__backup_type_ingress<EOL> | Getter method for backup_type_ingress, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_type_ingress (boolean)
YANG Description: lsp_backup_type_ingress | f336443:c0:m12 |
def _set_backup_type_ingress(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.__backup_type_ingress = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_type_ingress, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_type_ingress (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_type_ingress is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_type_ingress() directly.
YANG Description: lsp_backup_type_ingress | f336443:c0:m13 |
def _get_backup_type_transit(self): | return self.__backup_type_transit<EOL> | Getter method for backup_type_transit, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_type_transit (boolean)
YANG Description: lsp_backup_type_transit | f336443:c0:m15 |
def _set_backup_type_transit(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.__backup_type_transit = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_type_transit, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_type_transit (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_type_transit is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_type_transit() directly.
YANG Description: lsp_backup_type_transit | f336443:c0:m16 |
def _get_backup_is_active(self): | return self.__backup_is_active<EOL> | Getter method for backup_is_active, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_is_active (boolean)
YANG Description: lsp_backup_is_active | f336443:c0:m18 |
def _set_backup_is_active(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.__backup_is_active = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_is_active, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress/backup_is_active (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_is_active is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_is_active() directly.
YANG Description: lsp_backup_is_active | f336443:c0:m19 |
def _get_backup_present(self): | return self.__backup_present<EOL> | Getter method for backup_present, mapped from YANG variable /mpls_state/lsp/backup/backup_present (boolean)
YANG Description: lsp_backup_present | f336444:c0:m3 |
def _set_backup_present(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.__backup_present = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_present, mapped from YANG variable /mpls_state/lsp/backup/backup_present (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_present is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_present() directly.
YANG Description: lsp_backup_present | f336444:c0:m4 |
def _get_backup_count(self): | return self.__backup_count<EOL> | Getter method for backup_count, mapped from YANG variable /mpls_state/lsp/backup/backup_count (uint32)
YANG Description: lsp_backup_count | f336444:c0:m6 |
def _set_backup_count(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.__backup_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_count, mapped from YANG variable /mpls_state/lsp/backup/backup_count (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_count() directly.
YANG Description: lsp_backup_count | f336444:c0:m7 |
def _get_backup_ingress_count(self): | return self.__backup_ingress_count<EOL> | Getter method for backup_ingress_count, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress_count (uint32)
YANG Description: lsp_backup_ingress_count | f336444:c0:m9 |
def _set_backup_ingress_count(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.__backup_ingress_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_ingress_count, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress_count (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_ingress_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_ingress_count() directly.
YANG Description: lsp_backup_ingress_count | f336444:c0:m10 |
def _get_backup_ingress_active_count(self): | return self.__backup_ingress_active_count<EOL> | Getter method for backup_ingress_active_count, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress_active_count (uint32)
YANG Description: lsp_backup_ingress_active_count | f336444:c0:m12 |
def _set_backup_ingress_active_count(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.__backup_ingress_active_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_ingress_active_count, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress_active_count (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_ingress_active_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_ingress_active_count() directly.
YANG Description: lsp_backup_ingress_active_count | f336444:c0:m13 |
def _get_backup_transit_count(self): | return self.__backup_transit_count<EOL> | Getter method for backup_transit_count, mapped from YANG variable /mpls_state/lsp/backup/backup_transit_count (uint32)
YANG Description: lsp_backup_transit_count | f336444:c0:m15 |
def _set_backup_transit_count(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.__backup_transit_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_transit_count, mapped from YANG variable /mpls_state/lsp/backup/backup_transit_count (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_transit_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_transit_count() directly.
YANG Description: lsp_backup_transit_count | f336444:c0:m16 |
def _get_backup_transit_active_count(self): | return self.__backup_transit_active_count<EOL> | Getter method for backup_transit_active_count, mapped from YANG variable /mpls_state/lsp/backup/backup_transit_active_count (uint32)
YANG Description: lsp_backup_transit_active_count | f336444:c0:m18 |
def _set_backup_transit_active_count(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.__backup_transit_active_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_transit_active_count, mapped from YANG variable /mpls_state/lsp/backup/backup_transit_active_count (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_transit_active_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_transit_active_count() directly.
YANG Description: lsp_backup_transit_active_count | f336444:c0:m19 |
def _get_backup_ingress(self): | return self.__backup_ingress<EOL> | Getter method for backup_ingress, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress (list) | f336444:c0:m21 |
def _set_backup_ingress(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>",backup_ingress.backup_ingress, 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>'}}), 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>'}}, 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.__backup_ingress = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_ingress, mapped from YANG variable /mpls_state/lsp/backup/backup_ingress (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_ingress is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_ingress() directly. | f336444:c0:m22 |
def _get_backup_transit(self): | return self.__backup_transit<EOL> | Getter method for backup_transit, mapped from YANG variable /mpls_state/lsp/backup/backup_transit (list) | f336444:c0:m24 |
def _set_backup_transit(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>",backup_transit.backup_transit, 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>'}}), 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>'}}, 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.__backup_transit = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for backup_transit, mapped from YANG variable /mpls_state/lsp/backup/backup_transit (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_backup_transit is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_backup_transit() directly. | f336444:c0:m25 |
def _get_admin_group_id(self): | return self.__admin_group_id<EOL> | Getter method for admin_group_id, mapped from YANG variable /mpls_state/lsp/frr/exclude_any/admin_group_id (uint32)
YANG Description: lsp_admin_group_id | f336445:c0:m3 |
def _set_admin_group_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.__admin_group_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for admin_group_id, mapped from YANG variable /mpls_state/lsp/frr/exclude_any/admin_group_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_admin_group_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_admin_group_id() directly.
YANG Description: lsp_admin_group_id | f336445:c0:m4 |
def _get_admin_group_name(self): | return self.__admin_group_name<EOL> | Getter method for admin_group_name, mapped from YANG variable /mpls_state/lsp/frr/exclude_any/admin_group_name (string)
YANG Description: lsp_admin_group_name | f336445:c0:m6 |
def _set_admin_group_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.__admin_group_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for admin_group_name, mapped from YANG variable /mpls_state/lsp/frr/exclude_any/admin_group_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_admin_group_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_admin_group_name() directly.
YANG Description: lsp_admin_group_name | f336445:c0:m7 |
def _get_admin_group_id(self): | return self.__admin_group_id<EOL> | Getter method for admin_group_id, mapped from YANG variable /mpls_state/lsp/frr/include_any/admin_group_id (uint32)
YANG Description: lsp_admin_group_id | f336446:c0:m3 |
def _set_admin_group_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.__admin_group_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for admin_group_id, mapped from YANG variable /mpls_state/lsp/frr/include_any/admin_group_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_admin_group_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_admin_group_id() directly.
YANG Description: lsp_admin_group_id | f336446:c0:m4 |
def _get_admin_group_name(self): | return self.__admin_group_name<EOL> | Getter method for admin_group_name, mapped from YANG variable /mpls_state/lsp/frr/include_any/admin_group_name (string)
YANG Description: lsp_admin_group_name | f336446:c0:m6 |
def _set_admin_group_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.__admin_group_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for admin_group_name, mapped from YANG variable /mpls_state/lsp/frr/include_any/admin_group_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_admin_group_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_admin_group_name() directly.
YANG Description: lsp_admin_group_name | f336446:c0:m7 |
def _get_configured(self): | return self.__configured<EOL> | Getter method for configured, mapped from YANG variable /mpls_state/lsp/frr/configured (boolean)
YANG Description: lsp_frr_configured | f336447:c0:m3 |
def _set_configured(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.__configured = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for configured, mapped from YANG variable /mpls_state/lsp/frr/configured (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_configured is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_configured() directly.
YANG Description: lsp_frr_configured | f336447:c0:m4 |
def _get_one_to_one(self): | return self.__one_to_one<EOL> | Getter method for one_to_one, mapped from YANG variable /mpls_state/lsp/frr/one_to_one (boolean)
YANG Description: lsp_frr_one_to_one | f336447:c0:m6 |
def _set_one_to_one(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.__one_to_one = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for one_to_one, mapped from YANG variable /mpls_state/lsp/frr/one_to_one (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_one_to_one is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_one_to_one() directly.
YANG Description: lsp_frr_one_to_one | f336447:c0:m7 |
def _get_one_to_many(self): | return self.__one_to_many<EOL> | Getter method for one_to_many, mapped from YANG variable /mpls_state/lsp/frr/one_to_many (boolean)
YANG Description: lsp_frr_one_to_many | f336447:c0:m9 |
def _set_one_to_many(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.__one_to_many = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for one_to_many, mapped from YANG variable /mpls_state/lsp/frr/one_to_many (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_one_to_many is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_one_to_many() directly.
YANG Description: lsp_frr_one_to_many | f336447:c0:m10 |
def _get_protection_type(self): | return self.__protection_type<EOL> | Getter method for protection_type, mapped from YANG variable /mpls_state/lsp/frr/protection_type (lsp-frr-protection-type)
YANG Description: FRR desired protection type | f336447:c0:m12 |
def _set_protection_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:2>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:1>}},), 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.__protection_type = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for protection_type, mapped from YANG variable /mpls_state/lsp/frr/protection_type (lsp-frr-protection-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_protection_type is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_protection_type() directly.
YANG Description: FRR desired protection type | f336447:c0:m13 |
def _get_frr_up(self): | return self.__frr_up<EOL> | Getter method for frr_up, mapped from YANG variable /mpls_state/lsp/frr/frr_up (boolean)
YANG Description: lsp_frr_up | f336447:c0:m15 |
def _set_frr_up(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.__frr_up = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for frr_up, mapped from YANG variable /mpls_state/lsp/frr/frr_up (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_frr_up is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_frr_up() directly.
YANG Description: lsp_frr_up | f336447:c0:m16 |
def _get_active(self): | return self.__active<EOL> | Getter method for active, mapped from YANG variable /mpls_state/lsp/frr/active (boolean)
YANG Description: lsp_frr_active | f336447:c0:m18 |
def _set_active(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.__active = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for active, mapped from YANG variable /mpls_state/lsp/frr/active (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_active is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_active() directly.
YANG Description: lsp_frr_active | f336447:c0:m19 |
def _get_priority_configured(self): | return self.__priority_configured<EOL> | Getter method for priority_configured, mapped from YANG variable /mpls_state/lsp/frr/priority_configured (boolean)
YANG Description: lsp_frr_priority_configured | f336447:c0:m21 |
def _set_priority_configured(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.__priority_configured = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for priority_configured, mapped from YANG variable /mpls_state/lsp/frr/priority_configured (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_priority_configured is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_priority_configured() directly.
YANG Description: lsp_frr_priority_configured | f336447:c0:m22 |
def _get_setup_priority(self): | return self.__setup_priority<EOL> | Getter method for setup_priority, mapped from YANG variable /mpls_state/lsp/frr/setup_priority (uint8)
YANG Description: lsp_frr_setup_priority | f336447:c0:m24 |
def _set_setup_priority(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__setup_priority = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for setup_priority, mapped from YANG variable /mpls_state/lsp/frr/setup_priority (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_setup_priority is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_setup_priority() directly.
YANG Description: lsp_frr_setup_priority | f336447:c0:m25 |
def _get_holding_priority(self): | return self.__holding_priority<EOL> | Getter method for holding_priority, mapped from YANG variable /mpls_state/lsp/frr/holding_priority (uint8)
YANG Description: lsp_frr_holding_priority | f336447:c0:m27 |
def _set_holding_priority(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__holding_priority = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for holding_priority, mapped from YANG variable /mpls_state/lsp/frr/holding_priority (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_holding_priority is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_holding_priority() directly.
YANG Description: lsp_frr_holding_priority | f336447:c0:m28 |
def _get_hop_limit_configured(self): | return self.__hop_limit_configured<EOL> | Getter method for hop_limit_configured, mapped from YANG variable /mpls_state/lsp/frr/hop_limit_configured (boolean)
YANG Description: lsp_frr_hop_limit_configured | f336447:c0:m30 |
def _set_hop_limit_configured(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.__hop_limit_configured = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for hop_limit_configured, mapped from YANG variable /mpls_state/lsp/frr/hop_limit_configured (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_hop_limit_configured is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_hop_limit_configured() directly.
YANG Description: lsp_frr_hop_limit_configured | f336447:c0:m31 |
def _get_hop_limit(self): | return self.__hop_limit<EOL> | Getter method for hop_limit, mapped from YANG variable /mpls_state/lsp/frr/hop_limit (uint8)
YANG Description: lsp_frr_hop_limit | f336447:c0:m33 |
def _set_hop_limit(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__hop_limit = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for hop_limit, mapped from YANG variable /mpls_state/lsp/frr/hop_limit (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_hop_limit is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_hop_limit() directly.
YANG Description: lsp_frr_hop_limit | f336447:c0:m34 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.