Setter method for route_source, mapped from YANG variable /rbridge_id/route_map/content/match/ipv6/route_source (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_route_source is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_route_source() directly.

    YANG Description: Source address of route

def _set_route_source(self, v, load=False):
    """
    Setter method for route_source, mapped from YANG variable /rbridge_id/route_map/content/match/ipv6/route_source (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_route_source is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_route_source() directly.

    YANG Description: Source address of route
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=route_source.route_source, is_container='container', presence=False, yang_name="route-source", rest_name="route-source", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Source address of route'}}, namespace='urn:brocade.com:mgmt:brocade-ip-policy', defining_module='brocade-ip-policy', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """route_source must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=route_source.route_source, is_container='container', presence=False, yang_name="route-source", rest_name="route-source", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Source address of route'}}, namespace='urn:brocade.com:mgmt:brocade-ip-policy', defining_module='brocade-ip-policy', yang_type='container', is_config=True)""",
        })

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