Install guide: Create provider network with --external
Create provider network with --external in launch-instenace-networks-provider of install guide. Change-Id: Iac9c6fc40f071543f82d9f06fa3067ee581faf52 Closes-Bug: #1674452
This commit is contained in:
parent
4a66eecf0c
commit
8d993d3bbd
|
@ -43,7 +43,7 @@ Create the provider network
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ openstack network create --share \
|
||||
$ openstack network create --share --external \
|
||||
--provider-physical-network provider \
|
||||
--provider-network-type flat provider
|
||||
|
||||
|
@ -69,7 +69,7 @@ Create the provider network
|
|||
| provider:physical_network | provider |
|
||||
| provider:segmentation_id | None |
|
||||
| revision_number | 3 |
|
||||
| router:external | Internal |
|
||||
| router:external | External |
|
||||
| shared | True |
|
||||
| status | ACTIVE |
|
||||
| subnets | |
|
||||
|
@ -81,6 +81,10 @@ Create the provider network
|
|||
|
||||
The ``--share`` option allows all projects to use the virtual network.
|
||||
|
||||
The ``--external`` option defines the virtual network to be external. If
|
||||
you wish to create an internal network, you can use ``--internal`` instead.
|
||||
Default value is ``internal``.
|
||||
|
||||
The ``--provider-physical-network provider`` and
|
||||
``--provider-network-type flat`` options connect the flat virtual network
|
||||
to the flat (native/untagged) physical network on the ``eth1`` interface
|
||||
|
|
|
@ -168,8 +168,9 @@ on at least one self-service network and a gateway on a provider network.
|
|||
The provider network must include the ``router:external`` option to
|
||||
enable self-service routers to use it for connectivity to external networks
|
||||
such as the Internet. The ``admin`` or other privileged user must include this
|
||||
option during network creation or add it later. In this case, we can add it
|
||||
to the existing ``provider`` provider network.
|
||||
option during network creation or add it later. In this case, we already
|
||||
did that by providing the ``--external`` parameter when we created the
|
||||
``provider`` provider network.
|
||||
|
||||
#. On the controller node, source the ``admin`` credentials to gain access to
|
||||
admin-only CLI commands:
|
||||
|
@ -180,16 +181,6 @@ to the existing ``provider`` provider network.
|
|||
|
||||
.. end
|
||||
|
||||
#. Add the ``router: external`` option to the ``provider`` network:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ neutron net-update provider --router:external
|
||||
|
||||
Updated network: provider
|
||||
|
||||
.. end
|
||||
|
||||
#. Source the ``demo`` credentials to gain access to user-only CLI commands:
|
||||
|
||||
.. code-block:: console
|
||||
|
|
Loading…
Reference in New Issue