Skip to main content

Cluster MetroCluster interconnects endpoint overview

Contributors

Overview

You can use this API to retrieve and display relevant information pertaining to MetroCluster interconnect status. The /cluster/metrocluster/interconnects endpoint returns a list of all the interconnects in MetroCluster and their status. Each individual interconnect can be queried individually using the /cluster/metrocluster/interconnects/{node.uuid}/{partner_type}/{adapter} endpoint. You can also use this API to modify relevant information related to MetroCluster interconnect. These include address, netmask, and gateway. Modify a MetroCluster interconnect using the /cluster/metrocluster/interconnects/{node.uuid}/{partner_type}/{adapter} endpoint.


Examples

Retrieving MetroCluster interconnects

GET https://<mgmt-ip>/api/cluster/metrocluster/interconnects
{
  "records": [
      {
          "node": {
              "name": "cluster1_01",
              "uuid": "6fead8fe-8d81-11e9-b5a9-005056826931",
              "_links": {
                  "self": {
                      "href": "/api/cluster/nodes/6fead8fe-8d81-11e9-b5a9-005056826931"
                  }
              }
          },
          "partner_type": "ha",
          "adapter": "e0f",
          "_links": {
              "self": {
                  "href": "/api/cluster/metrocluster/interconnects/6fead8fe-8d81-11e9-b5a9-005056826931/ha/e0f"
              }
          }
      },
      {
          "node": {
              "name": "cluster1_01",
              "uuid": "6fead8fe-8d81-11e9-b5a9-005056826931",
              "_links": {
                  "self": {
                      "href": "/api/cluster/nodes/6