Platform Management

Sample input JSON

The following is the sample input JSON:
"platform_management": {
        "operations_node": [
                {
                       "customer_network_cidr": "XX.XX.XX.0/24",
                       "customer_network_gw": "XX.XX.XX.1",
                       "customer_network_ip": "XX.XX.XX.101",
                       "dhcp_range": "XX.XX.XX.50-XX.XX.XX.60",
                       "os_type_with_version": "RHCOS 4.3",
                       "oam_ip": "NA",
                       "root_pw": "NA",
                       "custom_data": {
                               "kernel_image": "/var/nps/ISO/rhcos-4.3.8-x86_64-installer-kernel-x86_64",
                               "initramfs": "/var/nps/ISO/rhcos-4.3.8-x86_64-installer-initramfs.x86_64.img",
                               "uefi_image": "/var/nps/ISO/rhcos-4.3.8-x86_64-metal.x86_64.raw.gz",
                               "npsvm_password": "<password>"
                       }
                }
        ],
        "dns_servers": [
                "XX.XX.XX.XX"
        ],
        "description": "Management elements configured",
        "domain_name": "qa.com",
        "timezone": "Asia/Kolkata",
        "custom_data": {
                "odim": "yes",
                "cfm": "yes",
                "ilo_plugin": "yes",
                "vim_version": "4.3",
                "vim_type": "rhocp"
        },
        "snmp": [
                {
                       "privacy_protocol": "DES",
                       "destination_ip": [
                               "XX.XX.XX.XX"
                       ],
                       "auth_passphrase": "PasspharseC10",
                       "auth_protocol": "MD5",
                       "trap_community": "public",
                       "privacy_passphrase": "PrivacyC10",
                       "security_name": "SeccurityC10",
                       "snmp_alert_protocol": "SNMPv3Trap"
                }
        ]
}

Parameters

The following table describes the parameters in the platform_management section with example values:

Table 14: Platform management
Parameters Description
customer_network_cidr Enter the CIDR of OAM network.
customer_network_gw Enter the Gateway of OAM network.
customer_network_ip Enter the OAM IP that assigned to NPS toolkit VM.
dhcp_range Enter the DHCP range for the image service.
os_type_with_version Enter the OS type with version.
oam_ip Not Applicable
root_pw Not Applicable
kernel_image Kernel image name of RHCOS used for OS installation. For example: rhcos-<version>-<architecture>-installer-kernel
initramfs initramfs file name of RHCOS used for OS installation. For example: rhcos-<version>-<architecture>-installer-initramfs.img
uefi_image UEFI image name of RHCOS used for OS installation. For example: rhcos-<version>-<architecture>-metal-uefi.raw.gz
npsvm_password NPS VM password.
dns_servers Enter the DNS server details.
description Enter the description.
domain_name Enter the domain name to configure the FQDN hostname.
timezone Enter the relevant time zone.
odim Enter yes to configure ODIM RA. Enter either yes or no.
cfm Enter yes to configure CFM. Enter either yes or no.
ilo_plugin Enter yes to configure iLO plugin. Enter either yes or no.
vim_version Enter the VIM version to be installed.
vim_type Enter the type of VIM to install. Supported VIM type are rhocp, rhosp and vmware. If VIM is not required, then enter "" (empty string).
privacy_protocol Sets the encryption algorithm to use for encoding the privacy passphrase. A portion of an SNMP message is encrypted before transmission.
destination_ip The IP address of a remote management system that receives SNMP alerts.
auth_passphrase Sets the passphrase to use for sign operations. String with 8-49 characters.
auth_protocol Sets the message digest algorithm to use for encoding the authorization passphrase. The message digest is calculated over an appropriate portion of an SNMP message and is included as part of the message sent to the recipient.
trap_community The configured SNMPv1 trap community string.
privacy_passphrase Sets the passphrase to use for encrypt operations. String with 8-49 characters.
security_name Provides the SNMPv3 security name associated with SNMPv3trap or SNMPv3Inform set on SNMPAlertProtocol.
snmp_alert_protocol Indicates the SNMP protocol associated with the AlertDestination.