Setter method for af_vpnv4_neighbor, mapped from YANG variable /routing_system/router/router_bgp/address_family/vpnv4/vpnv4_unicast/af_vpnv4_neighbor_address_holder/af_vpnv4_neighbor (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_af_vpnv4_neighbor is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_af_vpnv4_neighbor() directly.

def _set_af_vpnv4_neighbor(self, v, load=False):
    """
    Setter method for af_vpnv4_neighbor, mapped from YANG variable /routing_system/router/router_bgp/address_family/vpnv4/vpnv4_unicast/af_vpnv4_neighbor_address_holder/af_vpnv4_neighbor (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_af_vpnv4_neighbor is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_af_vpnv4_neighbor() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("af_vpnv4_neighbor_address",af_vpnv4_neighbor.af_vpnv4_neighbor, yang_name="af-vpnv4-neighbor", rest_name="neighbor", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='af-vpnv4-neighbor-address', extensions={u'tailf-common': {u'info': u'Specify a neighbor router', u'cli-no-key-completion': None, u'cli-suppress-mode': None, u'cli-incomplete-no': None, u'cli-suppress-list-no': None, u'callpoint': u'AfVpnV4Neighbors', u'cli-suppress-key-abbreviation': None, u'cli-incomplete-command': None, u'alt-name': u'neighbor'}}), is_container='list', yang_name="af-vpnv4-neighbor", rest_name="neighbor", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Specify a neighbor router', u'cli-no-key-completion': None, u'cli-suppress-mode': None, u'cli-incomplete-no': None, u'cli-suppress-list-no': None, u'callpoint': u'AfVpnV4Neighbors', u'cli-suppress-key-abbreviation': None, u'cli-incomplete-command': None, u'alt-name': u'neighbor'}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """af_vpnv4_neighbor must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("af_vpnv4_neighbor_address",af_vpnv4_neighbor.af_vpnv4_neighbor, yang_name="af-vpnv4-neighbor", rest_name="neighbor", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='af-vpnv4-neighbor-address', extensions={u'tailf-common': {u'info': u'Specify a neighbor router', u'cli-no-key-completion': None, u'cli-suppress-mode': None, u'cli-incomplete-no': None, u'cli-suppress-list-no': None, u'callpoint': u'AfVpnV4Neighbors', u'cli-suppress-key-abbreviation': None, u'cli-incomplete-command': None, u'alt-name': u'neighbor'}}), is_container='list', yang_name="af-vpnv4-neighbor", rest_name="neighbor", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Specify a neighbor router', u'cli-no-key-completion': None, u'cli-suppress-mode': None, u'cli-incomplete-no': None, u'cli-suppress-list-no': None, u'callpoint': u'AfVpnV4Neighbors', u'cli-suppress-key-abbreviation': None, u'cli-incomplete-command': None, u'alt-name': u'neighbor'}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='list', is_config=True)""",
        })

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