NIC settings validation
Use the
nps validate-nic
command to validate the server NIC settings and boot order with the provided hardware profile. As part of the validation, the
nic_settings
,
networkboot_settings
, and
boot_order
section provided in the hardware profile are validated.
Ensure that the status of the NIC operation in hardware preparation is completed before executing this command. If the command is executed before the hardware preparation is complete, it will show mis-matched parameters with the profile.
Validating single server or multiple servers or all the servers
Validating range of servers
Validating server NIC settings and boot order with the provided hardware profile
To validate single server or multiple servers or all the servers
Use this command to validate all provided server NIC settings and boot order with hardware profile provided in the input JSON. All the servers from input JSON or specific servers provided in the command will be listed and the NIC based settings and boot order defined in their respective profile will be validated against those servers.
Syntax
nps validate-nic -sl all
OR
nps validate-nic -sl <iLO_IP>
OR
nps validate-nic -sl <iLO_IP1,iLO_IP2,iLO_IP3…>
Parameters
-sl
To list the iLO IPs on which NIC settings and boot order need to be validated. The parameter options are described below.
all
: To validate all servers.<ilO_IP>
: Server iLO IP to validate single server.<iLO_IP1, iLO_IP2, iLO_IP3>
: Server iLO IP’s to validate multiple servers.
To validate range of servers
Use this command to validate range of server’s NIC settings and boot order with their server hardware profile. All the servers between provided range (including start IP and end IP) will be listed and the NIC based settings and boot order defined in their respective profile will be validated against those servers.
Syntax
nps validate-nic --range <server_start_ip,server_end_ip>
Parameters
--range
server_start_ip
: Start IP address of the range.server_end_ip
: End IP address of the range.
To validate server NIC settings and boot order with the provided hardware profile
Use this command to validate server NIC settings and boot order with the provided hardware profile. All the servers that matches the provided hardware profile will be listed and the NIC based settings and boot order defined in that profile will be validated against those servers.
Syntax
nps validate-nic -p <hw_profile_name>
Parameters
-p
Hardware profile name to validate.