def _set_config_src(self, v, load=False):
    """
    Setter method for config_src, mapped from YANG variable /brocade_tunnels_ext_rpc/get_tunnel_info/output/tunnel/config_src (config-src-type)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_config_src is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_config_src() directly.

    YANG Description: Tunnel configuration source; indicates how
tunnel was created.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'bgp-evpn': {'value': 3}, u'vtep-controller': {'value': 1}, u'site-config': {'value': 2}},), is_leaf=True, yang_name="config-src", rest_name="config-src", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='urn:brocade.com:mgmt:brocade-tunnels-ext', defining_module='brocade-tunnels-ext', yang_type='config-src-type', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """config_src must be of a type compatible with config-src-type""",
          'defined-type': "brocade-tunnels-ext:config-src-type",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'bgp-evpn': {'value': 3}, u'vtep-controller': {'value': 1}, u'site-config': {'value': 2}},), is_leaf=True, yang_name="config-src", rest_name="config-src", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='urn:brocade.com:mgmt:brocade-tunnels-ext', defining_module='brocade-tunnels-ext', yang_type='config-src-type', is_config=True)""",
        })

    self.__config_src = t
    if hasattr(self, '_set'):
      self._set()
Setter method for config_src, mapped from YANG variable /brocade_tunnels_ext_rpc/get_tunnel_info/output/tunnel/config_src (config-src-type)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_config_src is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_config_src() directly.

    YANG Description: Tunnel configuration source; indicates how
tunnel was created.