You can use the SetConfig method to set the network and cluster information for the node. This method includes the same settings in a single API method that are available using both SetClusterConfig and SetNetworkConfig methods. Only the fields you want changed need to be included with this method.
This method has the following input parameters:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
cluster | Cluster information that identifies how the storage node communicates with the storage cluster it is associated with. | cluster | None | No |
network | Network connection types and current settings for each network interface of the node. | network (all interfaces) | None | No |
This method has the following return value:
Name | Description | Type |
---|---|---|
config | The new and current configuration for the node. This object contains:
|
JSON object |
Requests for this method are similar to the following example:
{ "method": "SetConfig", "params": { "cluster": { "name": "MyHostname" }, "network": { "Bond10G": { "bond-mode": "ALB" } } } }