Table of Contents |
---|
...
Info |
---|
If we have custom net types, nodes node types or custom role types in any poller, we also add this these types into our nmis configuration file (nmis9/conf/Config.nmis) in the master: "roletype_list" => "default,core,distribution,access", |
...
Operation | Method | URL | Example | ||
---|---|---|---|---|---|
Authenticate | POST | http://host/en/omk/admin/login | http://uburnto.opmantek.net/en/omk/opHA/login
|
...
If we want to create a node in a remote cluster, we should indicate the remote cluster id in configuration.pollers: Cluster_id.
E.x.
Create Remote | POST | http://host/en/omk/admin/api/v2/nodes | http://uburnto.opmantek.net/en/omk/admin/api/v2/nodes
|
It will return the same output as for a local node:
...
If we want to create a node in a remote cluster, we just need to indicate the remote cluster id in cluster_id:
E.x.
Create Remote | PUT | http://host/en/omk/admin/api/v2/nodes/node_uuid | http://volla.opmantek.net:6042/en/omk/admin/api/v2/nodes/6ce5fd5c-d703-4d03-b36c-b8e01439a9f2
|
It will return the json node, the same structure that the CREATE.
...