openstack.network.v2.bgpvpn¶
The BgpVpn Class¶
The BgpVpn class inherits from Resource.
- class openstack.network.v2.bgpvpn.BgpVpn(_synchronized=False, connection=None, **attrs)¶
 The base resource
- Parameters:
 _synchronized (bool) – This is not intended to be used directly. See
new()andexisting().connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connectionin Resource code should protect itself with a check for None.
- resource_key = 'bgpvpn'¶
 Singular form of key for resource.
- resources_key = 'bgpvpns'¶
 Plural form of key for resource.
- base_path = '/bgpvpn/bgpvpns'¶
 The base part of the URI for this resource.
- allow_create = True¶
 Allow create operation for this resource.
- allow_fetch = True¶
 Allow get operation for this resource.
- allow_commit = True¶
 Allow update operation for this resource.
- allow_delete = True¶
 Allow delete operation for this resource.
- allow_list = True¶
 Allow list operation for this resource.
- id¶
 The Id of the BGPVPN
- name¶
 The BGPVPN’s name.
- project_id¶
 The ID of the project that owns the BGPVPN
- tenant_id¶
 Tenant_id (deprecated attribute).
- route_distinguishers¶
 List of route distinguisher strings.
- route_targets¶
 Route Targets that will be both imported and used for export.
- import_targets¶
 Additional Route Targets that will be imported.
- export_targets¶
 Additional Route Targets that will be used for export.
- local_pref¶
 The default BGP LOCAL_PREF of routes that will be advertised to the BGPVPN.
- vni¶
 The globally-assigned VXLAN vni for the BGP VPN.
- type¶
 Selection of the type of VPN and the technology behind it. Allowed values are l2 or l3.