def _set_fc_speed_cfg(self, v, load=False):
    """
    Setter method for fc_speed_cfg, mapped from YANG variable /interface/fc_port/fc_speed_cfg (fc-speed-cfg-type)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_fc_speed_cfg is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_fc_speed_cfg() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'auto': {'value': 0}, u'16gbps': {'value': 7}, u'8gbps': {'value': 5}, u'4gbps': {'value': 4}, u'2gbps': {'value': 2}},), default=unicode("auto"), is_leaf=True, yang_name="fc-speed-cfg", rest_name="speed", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure Speed', u'alt-name': u'speed', u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='fc-speed-cfg-type', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """fc_speed_cfg must be of a type compatible with fc-speed-cfg-type""",
          'defined-type': "brocade-interface:fc-speed-cfg-type",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'auto': {'value': 0}, u'16gbps': {'value': 7}, u'8gbps': {'value': 5}, u'4gbps': {'value': 4}, u'2gbps': {'value': 2}},), default=unicode("auto"), is_leaf=True, yang_name="fc-speed-cfg", rest_name="speed", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure Speed', u'alt-name': u'speed', u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='fc-speed-cfg-type', is_config=True)""",
        })

    self.__fc_speed_cfg = t
    if hasattr(self, '_set'):
      self._set()