Update a nodeCopy Pageput https://{hostname}/api/infrastructure/v1/nodes/{nodeId}This operation updates the details of a node.Path ParamsnodeIdintegerrequiredUniquely identifies a node.Body ParamsNode update schema.administrativeStatestringenumrequiredThe administrative state of the node, either ACTIVE or MAINTENANCE. The default is ACTIVE. Use MAINTENANCE to remove a node from service, do routine software maintenance, or add or remove storage devices on a service node.ACTIVEMAINTENANCEAllowed:ACTIVEMAINTENANCEattributesarray of objectslength ≤ 20Array of mappings of attributeType to value for this node.attributesADD objectbootStatestringenumrequiredWhen booting, the action the node should take BOOT, REINSTALL, INSTALL, or UPGRADE. In BOOT state, the node completes a normal boot process and runs in production mode. REINSTALL causes the node to reinstall and overwrite the system partition and boot partition on all disks and the associated data, but does not update the kernel partition. Use the INSTALL state for a node on which no Aura software is installed. Do not use UPGRADE to upgrade the software on a service node; use the upgrade_step.py script. For detailed information about upgrading a service node using the upgrade_step.py script, see the "Service Node Upgrade with upgrade_step.py" in the Aura LCDN/LMS Upgrade Guide.BOOTREINSTALLINSTALLUPGRADEAllowed:BOOTREINSTALLINSTALLUPGRADEdnsServersarray of stringsrequiredlength between 1 and 2List of DNS Server IP addresses.dnsServers* stringADD stringhostnamestringrequiredThe unique fully qualified domain name (FQDN) for this node.interfacesarrayrequiredlength between 1 and 36List of interfaces for the node. Bond interfaces lag0, lag1, lag2, and lag3 must exist. If not supplied on a POST, they will be added. A minimum of one and maximum of 32 ethernet interfaces must exist. One of the ethernet interfaces must contain the management address, and this interface may not be part of a bond.interfaces* objectObject 1Object 2A node ethernet interface.namestringrequiredInterface name, such as eth0.macAddressstringrequiredInterface MAC address.typestringenumrequiredIdentifies the interface type. The only supported type is ETHERNET.ETHERNETAllowed:ETHERNETip4Addressesarray of objectslength between 0 and 32ip4AddressesADD objectip6Addressesarray of objectslength between 0 and 32ip6AddressesADD objectip4Routesarray of objectslength ≤ 256ip4RoutesADD objectip6Routesarray of objectslength ≤ 256ip6RoutesADD objectADD objectnodeIdintegerrequired≥ 1The unique identifier for a node.siteIdintegerrequired≥ 1The unique identifier for a site.Responses 200An HTTP 200 will signify the successful update of an node instance. 400An HTTP 400 will be returned if the request is badly formed or has constraint violations 403An HTTP 403 will be returned if the principal is not authorized to access the instance of node that the request was made against. 404An HTTP 404 will be returned if the node with the specified entityId is not found. 409An HTTP 409 will be returned if the node offered for create/update would lead to a conflicting state.Updated 2 months ago