def _set_default_config(self, v, load=False):
    """
    Setter method for default_config, mapped from YANG variable /rbridge_id/default_config (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_default_config is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_default_config() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=default_config.default_config, is_container='container', presence=False, yang_name="default-config", rest_name="default-config", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Default config mode', u'cli-incomplete-show-path': None, u'display-when': u'((/vcsmode/vcs-mode = "true") and (/vcsmode/vcs-cluster-mode = "true"))', u'cli-incomplete-no': None, u'callpoint': u'NodeDefaultConfigCallpoint'}}, namespace='http://brocade.com/ns/brocade-default-config', defining_module='brocade-default-config', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """default_config must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=default_config.default_config, is_container='container', presence=False, yang_name="default-config", rest_name="default-config", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Default config mode', u'cli-incomplete-show-path': None, u'display-when': u'((/vcsmode/vcs-mode = "true") and (/vcsmode/vcs-cluster-mode = "true"))', u'cli-incomplete-no': None, u'callpoint': u'NodeDefaultConfigCallpoint'}}, namespace='http://brocade.com/ns/brocade-default-config', defining_module='brocade-default-config', yang_type='container', is_config=True)""",
        })

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