Update upstream node management
Worked on Ayyappa comments. Patch 1: Worked on Mary's comment. Signed-off-by: egoncalv <elisamaraaoki.goncalves@windriver.com> Change-Id: I4756336ed00ccb7ed0e199dcad05d221c2c9a8cd
This commit is contained in:
@@ -17,12 +17,12 @@ Ethernet interfaces are created automatically.
|
||||
|
||||
#. List the attached interfaces.
|
||||
|
||||
To list all interfaces, use the :command:`system host-if-list` command
|
||||
and include the ``-a`` flag.
|
||||
For example, to list all the interfaces on the system, use the
|
||||
:command:`system host-if-list` and include the ``-a`` flag:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone_admin)$ system host-if-list -a controller-0
|
||||
~(keystone_admin)$ system host-if-list -a controller-1
|
||||
+-------------+-----------+-----------+----------+------+----------------+-------------+----------------------------+---------------------------+
|
||||
| uuid | name | class | type | vlan | ports | uses i/f | used by i/f | attributes |
|
||||
| | | | | id | | | | |
|
||||
@@ -46,7 +46,7 @@ Ethernet interfaces are created automatically.
|
||||
| fcbe3aca-...| sriovvf1 | pci-sriov | vf | None | [] | [u'sriov0'] | [] | MTU=1956,max_tx_rate=100 |
|
||||
+-------------+-----------+-----------+----------+------+----------------+-------------+----------------------------+---------------------------+
|
||||
|
||||
#. Attach an interface to a network.
|
||||
#. Modify the interface and attach it to a network.
|
||||
|
||||
Use a command sequence of the following form:
|
||||
|
||||
@@ -93,6 +93,15 @@ Ethernet interfaces are created automatically.
|
||||
For example, to attach an interface named **enp0s3** to
|
||||
the |OAM| network, using Ethernet interface **enp0s3** on **controller-1**:
|
||||
|
||||
#. Lock the host:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone_admin)]$ system host-lock controller-1
|
||||
|
||||
#. To modify the interface enp0s3 class type from ``none`` to ``platform``,
|
||||
execute the following:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone_admin)$ system host-if-modify -n enp0s3 -c platform controller-1 enp0s3
|
||||
@@ -119,4 +128,15 @@ Ethernet interfaces are created automatically.
|
||||
| sriov_numvfs | 0 |
|
||||
| accelerated | [u'True'] |
|
||||
+-------------------+---------------------------------------+
|
||||
~(keystone_admin)$ interface-network-assign controller-1 enp0s3 oam
|
||||
|
||||
#. To assign enp0s3 interface to |OAM| network, execute the following:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone_admin)$ system interface-network-assign controller-1 enp0s3 oam
|
||||
|
||||
#. Unlock the host:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
~(keystone_admin)$ system host-unlock controller-1
|
||||
Reference in New Issue
Block a user