Setter method for auth_check_level2, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/auth_check/auth_check_level2 (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_auth_check_level2 is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_auth_check_level2() directly.

def _set_auth_check_level2(self, v, load=False):
    """
    Setter method for auth_check_level2, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/auth_check/auth_check_level2 (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_auth_check_level2 is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_auth_check_level2() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=auth_check_level2.auth_check_level2, is_container='container', presence=False, yang_name="auth-check-level2", rest_name="level-2", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Authenticate incoming PDUs for Level-2 LSPs, CSNP, PSNP', u'alt-name': u'level-2', u'cli-incomplete-no': None, u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-isis', defining_module='brocade-isis', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """auth_check_level2 must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=auth_check_level2.auth_check_level2, is_container='container', presence=False, yang_name="auth-check-level2", rest_name="level-2", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Authenticate incoming PDUs for Level-2 LSPs, CSNP, PSNP', u'alt-name': u'level-2', u'cli-incomplete-no': None, u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-isis', defining_module='brocade-isis', yang_type='container', is_config=True)""",
        })

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