Configuring NMS Information

Message instance

{
    "header": {
        "msg_id": "741aec66-99b2-4d97-aaf2-63d27f53bbc5",
        "parent_msg_id": "",
        "timestamp": 1550107087319,
        "sync": false
    },
    "route": {
        "source": "EdgeManager",
        "group": "hardware",
        "operation": "update",
        "resource": "websocket/netmanager"
    },
    "content": {
    }
}

Parameter description

content:

{
    "address": "127.0.0.1",
    "account": "root",
    "password": "123456",
    "test": true
}

Level-1 Resource

Description

Type

Value Range

address

NMS IP address

string

The value can be an IPv4 address or empty. If the value leaves empty, this field does not need to be modified.

account

NMS account

string

1 to 256 characters. When the address needs to be changed or the address is empty, the NMS account and password need to be delivered. The default account for accessing the FusionDirector is EdgeAccount. After the interconnection is successful, the interconnection account automatically uses the new one-device-one-secret authentication mode delivered by the FusionDirector for interconnection. The account and password of one-device-one-secret are automatically generated by FusionDirector microservices. For details, see the FusionDirector Maintenance Guide.

password

NMS password

string

Password for accessing FusionDirector. The value is a string of 8 to 32 characters.

test

Whether to test whether the NMS is available before the NMS takes effect

bool

The values are:

  • true: Test is required.
  • false: Test is not required.

Result returned

{
    "header":{
        "msg_id":"5a955ef7-3bbd-4603-ad7e-1e9e5dd09862",
        "parent_msg_id": "",
        "timestamp":1652261182356,
        "sync": false
    },
    "route":{
        "source":"hardware",
        "group":"hub",
        "operation":"update",
        "resource":"websocket/config_result"
    },
    "content":"{"topic": "netmanager", "percentage": "100%", "result": "success", "reason": ""}"
}