mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	Modify the document and nics schema based on review comments.
This commit is contained in:
		| @@ -5,7 +5,7 @@ Traditionally, network interfaces in Linux are enumerated as eth[0123…], but | ||||
| these names do not correspond to actual labels on the chassis. Now, most of | ||||
| the linux distribution support naming the adapter with slot information which | ||||
| makes adapter name predictable. xCAT add ``getadapter`` script which can be | ||||
| running during discovery stage to detect the adapter names and pci slot | ||||
| run during discovery stage to detect the adapter names and pci slot | ||||
| information to help customer configure the network. | ||||
|  | ||||
|  | ||||
| @@ -16,7 +16,7 @@ Set the chian table to run ``getadapter`` script :: | ||||
|  | ||||
|   chdef <noderange> chain="runcmd=getadapter" | ||||
|  | ||||
| When the discovery completed, the column ``nicsadapter`` of ```nics`` table is | ||||
| After the discovery completed, the column ``nicsadapter`` of ```nics`` table is | ||||
| updated. | ||||
|  | ||||
| View result with ``lsdef`` command :: | ||||
|   | ||||
| @@ -1566,7 +1566,7 @@ passed as argument rather than by table value', | ||||
|             The xCAT object definition commands support to use nicextraparams.<nicname> as the sub attributes.', | ||||
|             nicdevices => 'Comma-separated list of NIC device per NIC, multiple ethernet devices can be bonded as bond device, these ethernet devices are separated by | . <nic1>!<dev1>|<dev3>,<nic2>!<dev2>, e.g. bond0!eth0|eth2,br0!bond0. The xCAT object definition commands support to use nicdevices.<nicname> as the sub attributes.', | ||||
|             nicsadapter => 'Comma-separated list of extra parameters that will be used for each NIC configuration. | ||||
|                     <nic1>!<param1=value1 param2=value2>|<param3=value3>,<nic2>!<param4=value4 param5=value5>|<param6=value6>, for example, eth0!MTU=1500|MTU=1460,ib0!MTU=65520 CONNECTED_MODE=yes.', | ||||
|                     <nic1>!<param1=value1 param2=value2>,<nic2>!<param4=value4 param5=value5>, for example, enP3p3s0f1!mac=98:be:94:59:fa:cd linkstate=DOWN,enP3p3s0f2!mac=98:be:94:59:fa:ce candidatename=enP3p3s0f2/enx98be9459face', | ||||
|             comments => 'Any user-written notes.', | ||||
|             disable  => "Set to 'yes' or '1' to comment out this row.", | ||||
|         }, | ||||
|   | ||||
| @@ -19,7 +19,6 @@ use lib "$::XCATROOT/lib/perl"; | ||||
|  | ||||
| use xCAT::Table; | ||||
| use xCAT::State; | ||||
| use Data::Dumper; | ||||
| use strict; | ||||
|  | ||||
| #------------------------------------------------------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user