aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/api/src/main/resources/definitions/Cluster.json
blob: f2d32a8413f825fdd46c9ebae886da0546f30fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  "type": "object",
  "title": "cluster",
  "required": [
    "nodes"
  ],
  "properties": {
    "nodes": {
      "type": "array",
      "xml": {
        "name": "nodes",
        "wrapped": true
      },
      "items": {
        "type": "object",
        "title": "nodes",
        "required": [
          "id",
          "ip",
          "tcpPort",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string",
            "example": "127.0.0.1"
          },
          "ip": {
            "type": "string",
            "example": "127.0.0.1"
          },
          "tcpPort": {
            "type": "integer",
            "format": "int64",
            "example": 9876
          },
          "status": {
            "type": "string",
            "example": "ACTIVE"
          }
        }
      }
    }
  }
}