DScano | 55a0103 | 2020-04-09 20:01:50 +0200 | [diff] [blame] | 1 | { |
| 2 | "ports": { |
| 3 | "of:0000000000000001/1": { |
| 4 | "interfaces": [ |
| 5 | { |
| 6 | "name": "h1", |
| 7 | "vlan": "100" |
| 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000002/1": { |
| 12 | "interfaces": [ |
| 13 | { |
| 14 | "name": "h2", |
| 15 | "vlan": "200" |
| 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | "of:0000000000000003/1": { |
| 20 | "interfaces": [ |
| 21 | { |
| 22 | "name": "h3", |
| 23 | "vlan": "300" |
| 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000004/1": { |
| 28 | "interfaces": [ |
| 29 | { |
| 30 | "name": "h4", |
| 31 | "vlan": "400" |
| 32 | } |
| 33 | ] |
| 34 | }, |
| 35 | "of:0000000000000005/1": { |
| 36 | "interfaces": [ |
| 37 | { |
| 38 | "name": "h5" |
| 39 | } |
| 40 | ] |
| 41 | }, |
| 42 | "of:0000000000000006/1": { |
| 43 | "interfaces": [ |
| 44 | { |
| 45 | "name": "h6" |
| 46 | } |
| 47 | ] |
| 48 | } |
| 49 | }, |
| 50 | "apps" : { |
| 51 | "org.onosproject.vpls" : { |
| 52 | "vpls" : { |
| 53 | "vplsList" : [ |
| 54 | { |
| 55 | "name" : "VPLS1", |
| 56 | "interfaces" : ["h1", "h2", "h5", "h6"] |
| 57 | }, |
| 58 | { |
| 59 | "name" : "VPLS2", |
| 60 | "interfaces" : ["h3", "h4"], |
| 61 | "encapsulation" : "vlan" |
| 62 | } |
| 63 | ] |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | } |