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._connection
in Resource code should protect itself with a check for None.
-
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.