blob: f32ef07ba1f63830bfc2d39844a03c6170ffda01 [file] [log] [blame]
andreac0085112015-11-24 18:01:45 -08001{
2 "type": "object",
3 "title": "intents",
4 "required": [
5 "intents"
6 ],
7 "properties": {
8 "intents": {
9 "type": "array",
10 "xml": {
11 "name": "intents",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "host",
17 "required": [
18 "type",
19 "id",
20 "appId",
21 "state"
22 ],
23 "properties": {
24 "type": {
25 "type": "string",
26 "example": "HostToHostIntent"
27 },
28 "id": {
29 "type": "string",
30 "example": "0x6"
31 },
32 "appId": {
33 "type": "string",
34 "example": "org.onosproject.ovsdb"
35 },
36 "priority": {
37 "type": "integer",
38 "format": "int64",
39 "example": 55
40 },
41 "resources": {
42 "type": "array",
43 "xml": {
44 "name": "resources",
45 "wrapped": true
46 },
47 "items": {
48 "type": "string",
49 "example": "46:E4:3C:A4:17:C8/-1"
50 },
51 "state": {
52 "type": "string",
53 "example": "INSTALLED"
54 }
55 }
56 }
57 }
58 }
59 }
60}