Creating a custom hardware profile

  1. Use the Sample hardware profile to create a new profile by copying the JSON content into a new file and edit as per the requirement.
  2. After editing all the fields, save the new profile as <new json file name>.json.

    For more information about the key and value of the custom hardware profile, see Hardware profile format.

  3. Upload the saved JSON file using the following command:
    nps create -p hw_profile -f <new json file name>.json
  4. Check the newly created custom hardware profile using the following command:
    nps show -p hw_profiles -n <new profile_name>
  5. While creating the input JSON, enter the profile_name provided in the newly created hardware profile to hw_profile parameter of the corresponding server in the Infra/server section. If the input JSON file is already uploaded, use the below command to attach/replace the hw_profile parameter with newly created hardware profile name.
    nps attach-profile -i <server iLO ip> -p <new profile_name>