aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/api/src/main/resources/definitions/TopologyClusters.json
blob: 5974b445e0e765b17e02364573996fc479efda67 (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
46
47
48
{
  "type": "object",
  "title": "clusters",
  "required": [
    "clusters"
  ],
  "properties": {
    "clusters": {
      "type": "array",
      "xml": {
        "name": "cluster",
        "wrapped": true
      },
      "items": {
        "type": "object",
        "title": "cluster",
        "required": [
          "id",
          "deviceCount",
          "linkCount",
          "root"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "example": 1
          },
          "deviceCount": {
            "type": "integer",
            "format": "int64",
            "example": 3
          },
          "linkCount": {
            "type": "integer",
            "format": "int64",
            "example": 4
          },
          "root": {
            "type": "string",
            "example": "of:0000000000000001"
          }
        }
      }
    }
  }
}