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

def _set_dns_server_global(self, v, load=False):
    """
    Setter method for dns_server_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/dns_server_global (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_dns_server_global is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_dns_server_global() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("dns_server_prefix_global",dns_server_global.dns_server_global, yang_name="dns-server-global", rest_name="ra-dns-server", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='dns-server-prefix-global', extensions={u'tailf-common': {u'info': u'Set global DNS server option applied on all ND6 interfaces', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'ra-dns-server', u'cli-suppress-key-abbreviation': None, u'callpoint': u'IpV6NdRaDnsServerGlobal'}}), is_container='list', yang_name="dns-server-global", rest_name="ra-dns-server", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Set global DNS server option applied on all ND6 interfaces', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'ra-dns-server', u'cli-suppress-key-abbreviation': None, u'callpoint': u'IpV6NdRaDnsServerGlobal'}}, namespace='urn:brocade.com:mgmt:brocade-ipv6-nd-ra', defining_module='brocade-ipv6-nd-ra', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """dns_server_global must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("dns_server_prefix_global",dns_server_global.dns_server_global, yang_name="dns-server-global", rest_name="ra-dns-server", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='dns-server-prefix-global', extensions={u'tailf-common': {u'info': u'Set global DNS server option applied on all ND6 interfaces', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'ra-dns-server', u'cli-suppress-key-abbreviation': None, u'callpoint': u'IpV6NdRaDnsServerGlobal'}}), is_container='list', yang_name="dns-server-global", rest_name="ra-dns-server", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Set global DNS server option applied on all ND6 interfaces', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'ra-dns-server', u'cli-suppress-key-abbreviation': None, u'callpoint': u'IpV6NdRaDnsServerGlobal'}}, namespace='urn:brocade.com:mgmt:brocade-ipv6-nd-ra', defining_module='brocade-ipv6-nd-ra', yang_type='list', is_config=True)""",
        })

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