def _set_fcoe_max_enode(self, v, load=False):
    """
    Setter method for fcoe_max_enode, mapped from YANG variable /rbridge_id/fcoe_config/fcoe_max_enode (fcoe-max-enodes-per-rbridge-type)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_fcoe_max_enode is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_fcoe_max_enode() directly.

    YANG Description: This specifies the Number of the FCoE Enodes.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'0..1000']}), is_leaf=True, yang_name="fcoe-max-enode", rest_name="fcoe-enodes", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'fcoe_enode_cp', u'cli-full-command': None, u'alt-name': u'fcoe-enodes', u'info': u'Configure the fcoe enodes for the FCoE Fabric-map', u'display-when': u'not (/fcoe-fsb/fcoe-fsb-enable)'}}, namespace='urn:brocade.com:mgmt:brocade-fcoe', defining_module='brocade-fcoe', yang_type='fcoe-max-enodes-per-rbridge-type', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """fcoe_max_enode must be of a type compatible with fcoe-max-enodes-per-rbridge-type""",
          'defined-type': "brocade-fcoe:fcoe-max-enodes-per-rbridge-type",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'0..1000']}), is_leaf=True, yang_name="fcoe-max-enode", rest_name="fcoe-enodes", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'fcoe_enode_cp', u'cli-full-command': None, u'alt-name': u'fcoe-enodes', u'info': u'Configure the fcoe enodes for the FCoE Fabric-map', u'display-when': u'not (/fcoe-fsb/fcoe-fsb-enable)'}}, namespace='urn:brocade.com:mgmt:brocade-fcoe', defining_module='brocade-fcoe', yang_type='fcoe-max-enodes-per-rbridge-type', is_config=True)""",
        })

    self.__fcoe_max_enode = t
    if hasattr(self, '_set'):
      self._set()
Setter method for fcoe_max_enode, mapped from YANG variable /rbridge_id/fcoe_config/fcoe_max_enode (fcoe-max-enodes-per-rbridge-type)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_fcoe_max_enode is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_fcoe_max_enode() directly.

    YANG Description: This specifies the Number of the FCoE Enodes.