blob: c9a5a2da190b319df974e5838a34388139a580fb [file] [log] [blame]
Sean Condon081290d2017-11-02 13:15:08 +00001{
2 "type": "object",
3 "title": "loopback",
4 "required": [
5 "loopback"
6 ],
7 "properties": {
8 "loopback": {
9 "type": "object",
10 "title": "lbprops",
11 "required": [
12 "remoteMepId"
13 ],
14 "properties": {
15 "numberMessages": {
16 "type": "uint16",
17 "minimum": 0,
18 "maximum": 32767,
19 "description": "The number of LBM transmissions in a session",
20 "example": 1
21 },
22 "remoteMepId": {
23 "type": "uint16",
24 "minimum": 1,
25 "maximum": 8191,
26 "description": "remote Mep will be identified by either a MacAddress or a MEPId. This is for Mep Id",
27 "example": 20
28 },
29 "dataTlvHex": {
30 "type": "string",
31 "maxLength": 64,
32 "description": "TLV data that will be sent encoded as hexadecimal (lower case, colon separated bytes)",
33 "example": "61:62:63:64:63:62:61"
34 },
35 "priority": {
36 "type": "string",
37 "enum": [
38 "PRIO0",
39 "PRIO1",
40 "PRIO2",
41 "PRIO3",
42 "PRIO4",
43 "PRIO5",
44 "PRIO6",
45 "PRIO7"
46 ],
47 "description": "The priority parameter to be used in the transmitted LBMs",
48 "example": "PRIO0"
49 },
50 "vlanDropEligible": {
51 "type": "boolean",
52 "description": "Whether the drop eligible parameter to be used in the transmitted LBMs",
53 "example": true
54 }
55 }
56 }
57 }
58}