blob: b84ad9877527d34237287c789d21f8f732774333 [file] [log] [blame]
andreac0085112015-11-24 18:01:45 -08001{
2 "type": "object",
3 "title": "host",
4 "required": [
5 "type",
6 "appId",
7 "priority",
8 "ingressPoint",
9 "egressPoint"
10 ],
11 "properties": {
12 "type": {
13 "type": "string",
14 "example": "PointToPointIntent"
15 },
16 "appId": {
17 "type": "string",
18 "example": "org.onosproject.ovsdb"
19 },
20 "priority": {
21 "type": "integer",
22 "format": "int64",
23 "example": 55
24 },
25 "ingressPoint": {
26 "type": "object",
27 "title": "point",
28 "required": [
29 "port",
30 "device"
31 ],
32 "properties": {
33 "port": {
34 "type": "string",
35 "example": "3"
36 },
37 "device": {
38 "type": "string",
39 "example": "of:0000000000000002"
40 }
41 }
42 },
43 "egressPoint": {
44 "type": "object",
45 "title": "point",
46 "required": [
47 "port",
48 "device"
49 ],
50 "properties": {
51 "port": {
52 "type": "string",
53 "example": "2"
54 },
55 "device": {
56 "type": "string",
57 "example": "of:0000000000000003"
58 }
59 }
60 }
61 }
62}