def _set_ipv6_next_hop(self, v, load=False):
    """
    Setter method for ipv6_next_hop, mapped from YANG variable /rbridge_id/interface/ve/ipv6/ipv6_local_anycast_gateway/ipv6_track/ipv6_next_hop (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_ipv6_next_hop is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_ipv6_next_hop() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("ipv6_next_hop_address",ipv6_next_hop.ipv6_next_hop, yang_name="ipv6-next-hop", rest_name="next-hop", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='ipv6-next-hop-address', extensions={u'tailf-common': {u'callpoint': u'AnycastGatewayLocalIpv6TrackNextHopConfig', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'next-hop', u'cli-incomplete-command': None, u'cli-no-match-completion': None, u'cli-full-no': None}}), is_container='list', yang_name="ipv6-next-hop", rest_name="next-hop", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'AnycastGatewayLocalIpv6TrackNextHopConfig', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'next-hop', u'cli-incomplete-command': None, u'cli-no-match-completion': None, u'cli-full-no': None}}, namespace='urn:brocade.com:mgmt:brocade-anycast-gateway', defining_module='brocade-anycast-gateway', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """ipv6_next_hop must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("ipv6_next_hop_address",ipv6_next_hop.ipv6_next_hop, yang_name="ipv6-next-hop", rest_name="next-hop", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='ipv6-next-hop-address', extensions={u'tailf-common': {u'callpoint': u'AnycastGatewayLocalIpv6TrackNextHopConfig', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'next-hop', u'cli-incomplete-command': None, u'cli-no-match-completion': None, u'cli-full-no': None}}), is_container='list', yang_name="ipv6-next-hop", rest_name="next-hop", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'AnycastGatewayLocalIpv6TrackNextHopConfig', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'next-hop', u'cli-incomplete-command': None, u'cli-no-match-completion': None, u'cli-full-no': None}}, namespace='urn:brocade.com:mgmt:brocade-anycast-gateway', defining_module='brocade-anycast-gateway', yang_type='list', is_config=True)""",
        })

    self.__ipv6_next_hop = t
    if hasattr(self, '_set'):
      self._set()
def _set_ipv6_next_hop ( self , v , load = False ) : if hasattr ( v , "_utype" ) : v = v . _utype ( v ) try : t = YANGDynClass ( v , base = YANGListType ( "ipv6_next_hop_address" , ipv6_next_hop . ipv6_next_hop , yang_name = "ipv6-next-hop" , rest_name = "next-hop" , parent = self , is_container = 'list' , user_ordered = False , path_helper = self . _path_helper , yang_keys = 'ipv6-next-hop-address' , extensions = { u'tailf-common' : { u'callpoint' : u'AnycastGatewayLocalIpv6TrackNextHopConfig' , u'cli-suppress-mode' : None , u'cli-suppress-list-no' : None , u'alt-name' : u'next-hop' , u'cli-incomplete-command' : None , u'cli-no-match-completion' : None , u'cli-full-no' : None } } ) , is_container = 'list' , yang_name = "ipv6-next-hop" , rest_name = "next-hop" , parent = self , path_helper = self . _path_helper , extmethods = self . _extmethods , register_paths = True , extensions = { u'tailf-common' : { u'callpoint' : u'AnycastGatewayLocalIpv6TrackNextHopConfig' , u'cli-suppress-mode' : None , u'cli-suppress-list-no' : None , u'alt-name' : u'next-hop' , u'cli-incomplete-command' : None , u'cli-no-match-completion' : None , u'cli-full-no' : None } } , namespace = 'urn:brocade.com:mgmt:brocade-anycast-gateway' , defining_module = 'brocade-anycast-gateway' , yang_type = 'list' , is_config = True ) except ( TypeError , ValueError ) : raise ValueError ( { 'error-string' : """ipv6_next_hop must be of a type compatible with list""" , 'defined-type' : "list" , 'generated-type' : """YANGDynClass(base=YANGListType("ipv6_next_hop_address",ipv6_next_hop.ipv6_next_hop, yang_name="ipv6-next-hop", rest_name="next-hop", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='ipv6-next-hop-address', extensions={u'tailf-common': {u'callpoint': u'AnycastGatewayLocalIpv6TrackNextHopConfig', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'next-hop', u'cli-incomplete-command': None, u'cli-no-match-completion': None, u'cli-full-no': None}}), is_container='list', yang_name="ipv6-next-hop", rest_name="next-hop", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'AnycastGatewayLocalIpv6TrackNextHopConfig', u'cli-suppress-mode': None, u'cli-suppress-list-no': None, u'alt-name': u'next-hop', u'cli-incomplete-command': None, u'cli-no-match-completion': None, u'cli-full-no': None}}, namespace='urn:brocade.com:mgmt:brocade-anycast-gateway', defining_module='brocade-anycast-gateway', yang_type='list', is_config=True)""" , } ) self . __ipv6_next_hop = t if hasattr ( self , '_set' ) : self . _set ( )
Setter method for ipv6_next_hop, mapped from YANG variable /rbridge_id/interface/ve/ipv6/ipv6_local_anycast_gateway/ipv6_track/ipv6_next_hop (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_ipv6_next_hop is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_ipv6_next_hop() directly.