def _set_interface_flooding_up_threshold(self, v, load=False):
    """
    Setter method for interface_flooding_up_threshold, mapped from YANG variable /mpls_state/rsvp/interfaces/interface_flooding_up_threshold (feature-config-source)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_interface_flooding_up_threshold is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_interface_flooding_up_threshold() directly.

    YANG Description: Interface flood up threshold is taken from global, local or default settings
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'local-config': {'value': 2}, u'default-config': {'value': 3}, u'global-config': {'value': 1}},), is_leaf=True, yang_name="interface-flooding-up-threshold", rest_name="interface-flooding-up-threshold", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='urn:brocade.com:mgmt:brocade-mpls-operational', defining_module='brocade-mpls-operational', yang_type='feature-config-source', is_config=False)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """interface_flooding_up_threshold must be of a type compatible with feature-config-source""",
          'defined-type': "brocade-mpls-operational:feature-config-source",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'local-config': {'value': 2}, u'default-config': {'value': 3}, u'global-config': {'value': 1}},), is_leaf=True, yang_name="interface-flooding-up-threshold", rest_name="interface-flooding-up-threshold", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='urn:brocade.com:mgmt:brocade-mpls-operational', defining_module='brocade-mpls-operational', yang_type='feature-config-source', is_config=False)""",
        })

    self.__interface_flooding_up_threshold = t
    if hasattr(self, '_set'):
      self._set()
def _set_interface_flooding_up_threshold ( self , v , load = False ) : if hasattr ( v , "_utype" ) : v = v . _utype ( v ) try : t = YANGDynClass ( v , base = RestrictedClassType ( base_type = unicode , restriction_type = "dict_key" , restriction_arg = { u'local-config' : { 'value' : 2 } , u'default-config' : { 'value' : 3 } , u'global-config' : { 'value' : 1 } } , ) , is_leaf = True , yang_name = "interface-flooding-up-threshold" , rest_name = "interface-flooding-up-threshold" , parent = self , path_helper = self . _path_helper , extmethods = self . _extmethods , register_paths = True , namespace = 'urn:brocade.com:mgmt:brocade-mpls-operational' , defining_module = 'brocade-mpls-operational' , yang_type = 'feature-config-source' , is_config = False ) except ( TypeError , ValueError ) : raise ValueError ( { 'error-string' : """interface_flooding_up_threshold must be of a type compatible with feature-config-source""" , 'defined-type' : "brocade-mpls-operational:feature-config-source" , 'generated-type' : """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'local-config': {'value': 2}, u'default-config': {'value': 3}, u'global-config': {'value': 1}},), is_leaf=True, yang_name="interface-flooding-up-threshold", rest_name="interface-flooding-up-threshold", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='urn:brocade.com:mgmt:brocade-mpls-operational', defining_module='brocade-mpls-operational', yang_type='feature-config-source', is_config=False)""" , } ) self . __interface_flooding_up_threshold = t if hasattr ( self , '_set' ) : self . _set ( )
Setter method for interface_flooding_up_threshold, mapped from YANG variable /mpls_state/rsvp/interfaces/interface_flooding_up_threshold (feature-config-source)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_interface_flooding_up_threshold is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_interface_flooding_up_threshold() directly.

    YANG Description: Interface flood up threshold is taken from global, local or default settings