aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json
blob: b84ad9877527d34237287c789d21f8f732774333 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
  "type": "object",
  "title": "host",
  "required": [
    "type",
    "appId",
    "priority",
    "ingressPoint",
    "egressPoint"
  ],
  "properties": {
    "type": {
      "type": "string",
      "example": "PointToPointIntent"
    },
    "appId": {
      "type": "string",
      "example": "org.onosproject.ovsdb"
    },
    "priority": {
      "type": "integer",
      "format": "int64",
      "example": 55
    },
    "ingressPoint": {
      "type": "object",
      "title": "point",
      "required": [
        "port",
        "device"
      ],
      "properties": {
        "port": {
          "type": "string",
          "example": "3"
        },
        "device": {
          "type": "string",
          "example": "of:0000000000000002"
        }
      }
    },
    "egressPoint": {
      "type": "object",
      "title": "point",
      "required": [
        "port",
        "device"
      ],
      "properties": {
        "port": {
          "type": "string",
          "example": "2"
        },
        "device": {
          "type": "string",
          "example": "of:0000000000000003"
        }
      }
    }
  }
}