[user-guide] add note about invalid mac addr port
Change-Id: If03332c32f890fd9bd6df7f7e5567e3d1807cecb Closes-Bug: #1486251
This commit is contained in:
parent
351a1b6307
commit
cae27af0d9
@ -19,7 +19,6 @@ Create networks
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron ext-list -c alias -c name
|
$ neutron ext-list -c alias -c name
|
||||||
|
|
||||||
+-----------------+--------------------------+
|
+-----------------+--------------------------+
|
||||||
| alias | name |
|
| alias | name |
|
||||||
+-----------------+--------------------------+
|
+-----------------+--------------------------+
|
||||||
@ -38,7 +37,6 @@ Create networks
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron net-create net1
|
$ neutron net-create net1
|
||||||
|
|
||||||
Created a new network:
|
Created a new network:
|
||||||
+---------------------------+--------------------------------------+
|
+---------------------------+--------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
@ -65,7 +63,6 @@ Create networks
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron net-create net2 --provider:network-type local
|
$ neutron net-create net2 --provider:network-type local
|
||||||
|
|
||||||
Created a new network:
|
Created a new network:
|
||||||
+---------------------------+--------------------------------------+
|
+---------------------------+--------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
@ -94,7 +91,6 @@ Create a subnet:
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron subnet-create net1 192.168.2.0/24 --name subnet1
|
$ neutron subnet-create net1 192.168.2.0/24 --name subnet1
|
||||||
|
|
||||||
Created a new subnet:
|
Created a new subnet:
|
||||||
+------------------+--------------------------------------------------+
|
+------------------+--------------------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
@ -142,7 +138,6 @@ Create routers
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron router-create router1
|
$ neutron router-create router1
|
||||||
|
|
||||||
Created a new router:
|
Created a new router:
|
||||||
+-----------------------+--------------------------------------+
|
+-----------------------+--------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
@ -184,7 +179,6 @@ Create ports
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron port-create net1 --fixed-ip ip_address=192.168.2.40
|
$ neutron port-create net1 --fixed-ip ip_address=192.168.2.40
|
||||||
|
|
||||||
Created a new port:
|
Created a new port:
|
||||||
+----------------------+----------------------------------------------------------------------+
|
+----------------------+----------------------------------------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
@ -218,7 +212,6 @@ Create ports
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron port-create net1
|
$ neutron port-create net1
|
||||||
|
|
||||||
Created a new port:
|
Created a new port:
|
||||||
+----------------------+----------------------------------------------------------------------+
|
+----------------------+----------------------------------------------------------------------+
|
||||||
| Field | Value |
|
| Field | Value |
|
||||||
@ -242,13 +235,18 @@ Create ports
|
|||||||
Note that the system allocates one IP address if you do not specify
|
Note that the system allocates one IP address if you do not specify
|
||||||
an IP address in the :command:`neutron port-create` command.
|
an IP address in the :command:`neutron port-create` command.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
You can specify a MAC address with :option:`--mac-address MAC_ADDRESS`.
|
||||||
|
If you specify an invalid MAC address, including ``00:00:00:00:00:00``
|
||||||
|
or ``ff:ff:ff:ff:ff:ff``, you will get an error.
|
||||||
|
|
||||||
#. Query ports with specified fixed IP addresses:
|
#. Query ports with specified fixed IP addresses:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ neutron port-list --fixed-ips ip_address=192.168.2.2 \
|
$ neutron port-list --fixed-ips ip_address=192.168.2.2 \
|
||||||
ip_address=192.168.2.40
|
ip_address=192.168.2.40
|
||||||
|
|
||||||
+----------------+------+-------------------+-------------------------------------------------+
|
+----------------+------+-------------------+-------------------------------------------------+
|
||||||
| id | name | mac_address | fixed_ips |
|
| id | name | mac_address | fixed_ips |
|
||||||
+----------------+------+-------------------+-------------------------------------------------+
|
+----------------+------+-------------------+-------------------------------------------------+
|
||||||
|
Loading…
Reference in New Issue
Block a user