2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 02:40:28 +00:00

Remove trailing spaces in file docs/source/guides/admin-guides/manage_clusters/common/deployment/network/cfg_network_bond.rst

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 494d743325
commit 3a9122a6ea

View File

@ -3,9 +3,9 @@ Configure Bond using two Ethernet Adapters
The following example sets the xCAT properties for compute node ``cn1`` to create:
* Compute node ``cn1`` with two physical NICs: ``eth2`` and ``eth3``
* Bond eth2 and eth3 as ``bond0``
* Assign ip ``40.0.0.1`` to the bonded interface ``bond0``
* Compute node ``cn1`` with two physical NICs: ``eth2`` and ``eth3``
* Bond eth2 and eth3 as ``bond0``
* Assign ip ``40.0.0.1`` to the bonded interface ``bond0``
Add network object into the networks table
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -18,9 +18,9 @@ Define attributes in the ``nics`` table
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#. Compute node ``cn1`` has two physical NICs: ``eth2`` and ``eth3`` ::
chdef cn1 nictypes.eth2=ethernet nictypes.eth3=ethernet
#. Define ``bond0`` and bond ``eth2`` and ``eth3`` as ``bond0`` ::
chdef cn1 nictypes.bond0=bond nicdevices.bond0="eth2|eth3"
@ -49,5 +49,5 @@ Login to compute node cn1 and check bonding options in ``/etc/sysconfig/network-
BONDING_OPTS="mode=802.3ad xmit_hash_policy=layer2+3"
* ``mode=802.3ad`` requires additional configuration on the switch.
* ``mode=802.3ad`` requires additional configuration on the switch.
* ``mode=2`` can be used for bonding without additional switch configuration.