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

    YANG Description: This specifies iSNS VRF Instance.

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

    YANG Description: This specifies iSNS VRF Instance.
    """
    parent = getattr(self, "_parent", None)
    if parent is not None and load is False:
      raise AttributeError("Cannot set keys directly when" +
                             " within an instantiated list")

    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'1']}), is_leaf=True, yang_name="isns-vrf-instance", rest_name="isns-vrf-instance", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'iSNS VRF forwarding value 1', u'cli-drop-node-name': None, u'hidden': u'isns-vrf-instance'}}, is_keyval=True, namespace='urn:brocade.com:mgmt:brocade-isns', defining_module='brocade-isns', yang_type='isns-vrf-type', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """isns_vrf_instance must be of a type compatible with isns-vrf-type""",
          'defined-type': "brocade-isns:isns-vrf-type",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'1']}), is_leaf=True, yang_name="isns-vrf-instance", rest_name="isns-vrf-instance", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'iSNS VRF forwarding value 1', u'cli-drop-node-name': None, u'hidden': u'isns-vrf-instance'}}, is_keyval=True, namespace='urn:brocade.com:mgmt:brocade-isns', defining_module='brocade-isns', yang_type='isns-vrf-type', is_config=True)""",
        })

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