Changed -w (write MAX to xCAT database) to -d (display MAC only) - default to write always

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1130 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sakolish 2008-04-21 13:22:39 +00:00
parent 5df285a098
commit d782b485b3

View File

@ -8,7 +8,7 @@ I<getmacs [-h| --help]>
I<getmacs [-v| --version]>
I<getmacs [-V| --verbose] noderange> [-c][-w][-S server -G gateway -C client]
I<getmacs [-V| --verbose] noderange> [-c][-d][-S server -G gateway -C client]
=head1 DESCRIPTION
@ -21,6 +21,8 @@ B<-c> Colon seperated output.
B<-C> IP address of the partition.
B<-d> Display MAC only. The default is to write the first adapter MAC to the xCAT database.
B<-G> Gateway IP address of the partition specified with the -C option.
B<-h> Display usage message.
@ -31,8 +33,6 @@ B<-v> Command Version.
B<-V> Verbose output.
B<-w> Writes first adapter MAC to the xCAT database.
=head1 RETURN VALUE
@ -43,7 +43,7 @@ B<-w> Writes first adapter MAC to the xCAT database.
=head1 EXAMPLES
1. To retrieve the MAC address for the HMC-managed partition lpar4, enter:
1. To retrieve the MAC address for the HMC-managed partition lpar4 and write the first adapter MAC to the xCAT database, enter:
I<getmacs lpar4>
@ -57,9 +57,9 @@ ent U9133.55A.10B7D1G-V12-C4-T1 8ee2245cf004 /vdevice/l-lan@30000004 virtual
2. To retrieve the MAC address for the HMC-managed partition lpar4 and display trhe result in colon-seperated format, enter:
2. To retrieve the MAC address for the HMC-managed partition lpar4 and display the result only in colon-seperated format, enter:
I<getmacs lpar4 -c>
I<getmacs lpar4 -c -d>
Output is similar to:
@ -71,9 +71,9 @@ ent:U9133.55A.10B7D1G-V12-C4-T1:8ee2245cf004:/vdevice/l-lan@30000004::virtual:::
3. To retrieve the MAC address while performing a ping test for the HMC-managed partition lpar4 and display the result in colon-seperated format, enter:
3. To retrieve the MAC address while performing a ping test for the HMC-managed partition lpar4 and display the result only in colon-seperated format, enter:
I<getmacs lpar4 -c -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234>
I<getmacs lpar4 -c -d -S 9.3.6.49 -G 9.3.6.1 -C 9.3.6.234>
#Type:Location_Code:MAC_Address:Full_Path_Name:Ping_Result:Device_Type:Size_MB:OS:OS_Version:
@ -93,3 +93,4 @@ This command is part of the xCAT software product.