bgpvpn¶
A bgpvpn resource contains a set of parameters to define a BGP-based VPN. BGP-based IP VPNs networks are widely used in the industry especially for enterprises. The networking BGP VPN project aims at supporting inter-connection between L3VPNs and Neutron resources, i.e. Networks, Routers and Ports.
Network v2
bgpvpn create¶
Create a BGP VPN resource for a given project
openstack bgpvpn create
-
--project
<project>
¶ Owner’s project (name or ID)
-
--project-domain
<project-domain>
¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist
-
--name
<name>
¶ Name for the BGP VPN.
-
--route-target
<route-target>
¶ Add Route Target to import list (repeat option for multiple Route Targets)
-
--import-target
<import-target>
¶ Add Route Target to import list (repeat option for multiple Route Targets)
-
--export-target
<export-target>
¶ Add Route Target to export list (repeat option for multiple RouteTargets)
-
--route-distinguisher
<route-distinguisher>
¶ Add Route Distinguisher to the list of Route Distinguishers from which a Route Distinguishers will be picked from to advertise a VPN route (repeat option for multiple Route Distinguishers)
-
--type
{l2,l3}
¶ BGP VPN type selection between IP VPN (l3) and Ethernet VPN (l2) (default: l3)
bgpvpn set¶
Set BGP VPN properties
openstack bgpvpn set
-
<bgpvpn>
BGP VPN to update (name or ID)
-
--name
<name>
¶ Name for the BGP VPN
-
--route-target
<route-target>
¶ Add Route Target to import list (repeat option for multiple Route Targets)
-
--no-route-target
¶
Empty route target list.
-
--import-target
<import-target>
¶ Add Route Target to import list (repeat option for multiple Route Targets)
-
--no-import-target
¶
Empty import route target list
-
--export-target
<export-target>
¶ Add Route Target to export list (repeat option for multiple Route Targets)
-
--no-export-target
¶
Empty export route target list
-
--route-distinguisher
<route-distinguisher>
¶ Add Route Distinguisher to the list of Route Distinguishers from which a Route Distinguishers will be picked from to advertise a VPN route (repeat option for multiple Route Distinguishers)
-
--no-route-distinguisher
¶
Empty route distinguisher list
bgpvpn unset¶
Unset BGP VPN properties
openstack bgpvpn unset
-
<bgpvpn>
BGP VPN to update (name or ID)
-
--route-target
<route-target>
¶ Remove Route Target from import/export list (repeat option for multiple Route Targets)
-
--all-route-target
¶
Empty route target list
-
--import-target
<import-target>
¶ Remove Route Target from import list (repeat option for multiple Route Targets)
-
--all-import-target
¶
Empty import route target list
-
--export-target
<export-target>
¶ Remove Route Target from export list (repeat option for multiple Route Targets)
-
--all-export-target
¶
Empty export route target list
-
--route-distinguisher
<route-distinguisher>
¶ Remove Route Distinguisher from the list of Route Distinguishers from which a Route Distinguishers will be picked from to advertise a VPN route (repeat option for multiple Route Distinguishers)
-
--all-route-distinguisher
¶
Empty route distinguisher list
bgpvpn delete¶
Delete BGP VPN resource(s)
openstack bgpvpn delete
<bgpvpn> [<bgpvpn> ...]
-
<bgpvpn>
-
BGP VPN(s) to delete (name or ID)
bgpvpn list¶
List BGP VPN resources
openstack bgpvpn list
-
--project
<project>
¶ Owner’s project (name or ID)
-
--project-domain
<project-domain>
¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
-
--long
¶
List additional fields in output
-
--property
<key=value>
¶ Filter property to apply on returned BGP VPNs (repeat to filter on multiple properties)
bgpvpn show¶
Show information of a given BGP VPN
openstack bgpvpn show
-
<bgpvpn>
BGP VPN to display (name or ID)
bgpvpn network association create¶
Create a BGP VPN network association
openstack bgpvpn network association create
-
<bgpvpn>
ID or name of the BGP VPN
-
<network>
ID or name of the network
-
--project
<project>
¶ Owner’s project (name or ID)
-
--project-domain
<project-domain>
¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
bgpvpn network association delete¶
Remove a BGP VPN network association(s) for a given BGP VPN
openstack bgpvpn network association delete
<network association>[<network association> ...] <bgpvpn>
-
<network association>
-
ID(s) of the network association(s) to remove
-
<bgpvpn>
-
ID or name of the BGP VPN
bgpvpn network association list¶
List BGP VPN network associations for a given BGP VPN
openstack bgpvpn network association list
-
<bgpvpn>
-
ID or name of the BGP VPN
-
--long
¶
List additional fields in output
bgpvpn network association show¶
Show information of a given BGP VPN network association
openstack bgpvpn network association show
-
<network association>
-
ID of the network association to look up
-
<bgpvpn>
-
BGP VPN the association belongs to (name or ID)
bgpvpn router association create¶
Create a BGP VPN router association
openstack bgpvpn router association create
-
<bgpvpn>
ID or name of the BGP VPN
-
<router>
ID or name of the router.
-
--project
<project>
¶ Owner’s project (name or ID)
-
--project-domain
<project-domain>
¶ Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
bgpvpn router association delete¶
Delete a BGP VPN router association(s) for a given BGP VPN
openstack bgpvpn router association delete
<router association>[<router association> ...] <bgpvpn>
-
<router association>
-
ID(s) of the router association(s) to delete.
-
<bgpvpn>
-
ID or name of the BGP VPN
bgpvpn router association list¶
List BGP VPN router associations for a given BGP VPN
openstack bgpvpn router association list
-
<bgpvpn>
-
ID or name of the BGP VPN
-
--long
¶
List additional fields in output
bgpvpn router association show¶
Show information of a given BGP VPN router association
openstack bgpvpn router association show
-
<router association>
-
ID of the router association to look up
-
<bgpvpn>
-
BGP VPN the association belongs to (name or ID)