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

    YANG Description: This provides the grouping of all iSNS configuration elements.

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

    YANG Description: This provides the grouping of all iSNS configuration elements.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=isns.isns, is_container='container', presence=False, yang_name="isns", rest_name="isns", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'iSNS configuration commands', u'cli-suppress-no': None, u'cli-full-command': None, u'cli-add-mode': None, u'hidden': u'isns', u'display-when': u'(/vcsmode/vcs-mode = "true")'}}, namespace='urn:brocade.com:mgmt:brocade-isns', defining_module='brocade-isns', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """isns must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=isns.isns, is_container='container', presence=False, yang_name="isns", rest_name="isns", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'iSNS configuration commands', u'cli-suppress-no': None, u'cli-full-command': None, u'cli-add-mode': None, u'hidden': u'isns', u'display-when': u'(/vcsmode/vcs-mode = "true")'}}, namespace='urn:brocade.com:mgmt:brocade-isns', defining_module='brocade-isns', yang_type='container', is_config=True)""",
        })

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