Merge "Update doc to use openstack CLI instead neutron CLI"

This commit is contained in:
Zuul
2017年10月30日 21:09:29 +00:00
committed by Gerrit Code Review

View File

@@ -88,7 +88,7 @@ This is a set of two templates:
| a3cf1c1b-ac6c-425c-a4b5-d8ca894539f2 | networks_bgpvpn | CREATE_IN_PROGRESS | 2016年03月02日T09:16:39 | None |
+--------------------------------------+-----------------+--------------------+---------------------+--------------+
$ neutron bgpvpn-list
$ openstack bgpvpnlist
+--------------------------------------+-------------+------+-------------------------------------------+------------------------------------------------+
| id | name | type | networks | routers |
+--------------------------------------+-------------+------+-------------------------------------------+------------------------------------------------+

View File

@@ -2,27 +2,31 @@
Usage
========
Use from Neutron API CLI
Use from OpenStack CLI
------------------------
Example commands to use by the admin to create a BGPVPN resource:
.. code-block:: console
neutron bgpvpn-create --route-targets 64512:1 --tenant-id b954279e1e064dc9b8264474cb3e6bd2
neutron bgpvpn-list
neutron bgpvpn-update 1009a0f326b6403180c18f3caa1430de --name myBGPVPN --tenant 4a75e08c45f14aa9afc5da081c9bb534
openstack bgpvpncreate --route-target 64512:1 --project b954279e1e064dc9b8264474cb3e6bd2
openstack bgpvpnlist
openstack bgpvpn set <bgpvpn-uuid> --name myBGPVPN
Example commands to use by the tenant owning the BGPVPN to associate a Network to it:
.. code-block:: console
neutron bgpvpn-net-assoc-create myBGPVPN --network 828cddad3b834e79b79abc1b87b6cca0
openstack bgpvpnnetwork association create myBGPVPN <net-uuid>
# returns <net-assoc-uuid>
neutron bgpvpn-net-assoc-list myBGPVPN
neutron bgpvpn-net-assoc-show <net-assoc-uuid> myBGPVPN
openstack bgpvpnnetwork association list myBGPVPN
openstack bgpvpnnetwork association show <net-assoc-uuid> myBGPVPN
neutron bgpvpn-net-assoc-delete <net-assoc-uuid> myBGPVPN
openstack bgpvpnnetwork association delete <net-assoc-uuid> myBGPVPN
For more details about BGPVPN CLI, follow this page :
<https://docs.openstack.org/python-neutronclient/latest/cli/osc/v2/networking-bgpvpn.html>
Use from Horizon
----------------
Reference in New Issue
openstack/networking-bgpvpn
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.