David K. Bainbridge | 251024b | 2017-08-10 09:11:23 -0700 | [diff] [blame] | 1 | { |
| 2 | "apps": { |
| 3 | "org.opencord.aaa": { |
| 4 | "AAA": { |
| 5 | "radiusIp": "172.25.0.100", |
| 6 | "nasIp": "5.6.7.8", |
| 7 | "radiusServerPort": "1812", |
| 8 | "radiusSecret": "SECRET", |
| 9 | "bindings" : [ |
| 10 | { |
| 11 | "mac" : "de:ad:be:ef:ba:11", |
| 12 | "s-tag" : 2, |
| 13 | "c-tag" : 2, |
| 14 | "nas_port_id" : "location" |
| 15 | }, |
| 16 | { |
| 17 | "mac" : "de:ad:be:ef:ca:fe", |
| 18 | "s-tag" : 2, |
| 19 | "c-tag" : 122, |
| 20 | "nas_port_id" : "location" |
| 21 | } |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "org.onosproject.dhcp-relay" : { |
| 26 | "dhcprelay" : { |
| 27 | "dhcpserverConnectPoint" : "of:00000cafecafecafe/4", |
| 28 | "serverip" : "11.11.11.11", |
| 29 | "gatewayip" : "9.9.9.9" |
| 30 | } |
| 31 | } |
| 32 | }, |
| 33 | "devices": { |
| 34 | "of:0001000000000001": { |
| 35 | "basic": { |
| 36 | "driver": "pmc-olt" |
| 37 | }, |
| 38 | "accessDevice": { |
| 39 | "uplink": "0", |
| 40 | "vlan": "2" |
| 41 | } |
| 42 | }, |
| 43 | "of:0001000000000002": { |
| 44 | "basic": { |
| 45 | "driver": "pmc-olt" |
| 46 | }, |
| 47 | "accessDevice": { |
| 48 | "uplink": "0", |
| 49 | "vlan": "1001" |
| 50 | } |
| 51 | }, |
| 52 | "of:0001000000000003": { |
| 53 | "basic": { |
| 54 | "driver": "pmc-olt" |
| 55 | }, |
| 56 | "accessDevice": { |
| 57 | "uplink": "0", |
| 58 | "vlan": "1002" |
| 59 | } |
| 60 | }, |
| 61 | "of:0001000000000004": { |
| 62 | "basic": { |
| 63 | "driver": "pmc-olt" |
| 64 | }, |
| 65 | "accessDevice": { |
| 66 | "uplink": "0", |
| 67 | "vlan": "1003" |
| 68 | } |
| 69 | }, |
| 70 | "of:0001000000000005": { |
| 71 | "basic": { |
| 72 | "driver": "pmc-olt" |
| 73 | }, |
| 74 | "accessDevice": { |
| 75 | "uplink": "0", |
| 76 | "vlan": "1004" |
| 77 | } |
| 78 | }, |
| 79 | "of:0001000000000006": { |
| 80 | "basic": { |
| 81 | "driver": "pmc-olt" |
| 82 | }, |
| 83 | "accessDevice": { |
| 84 | "uplink": "0", |
| 85 | "vlan": "1005" |
| 86 | } |
| 87 | } |
| 88 | }, |
| 89 | "ports" : { |
| 90 | "of:0000000000000001/2" : { |
| 91 | "interfaces" : [ |
| 92 | { |
| 93 | "name" : "yoyoma1", |
| 94 | "ips" : [ "10.0.2.1/24" ], |
| 95 | "mac" : "00:00:00:01:01:00" |
| 96 | } |
| 97 | ] |
| 98 | }, |
| 99 | "of:00000cafecafecafe/3" : { |
| 100 | "interfaces" : [ |
| 101 | { |
| 102 | "name" : "yoyoma", |
| 103 | "ips" : [ "10.0.2.2/24" ], |
| 104 | "mac" : "00:00:00:01:02:00" |
| 105 | } |
| 106 | ] |
| 107 | },"of:00000cafecafecafe/2" : { |
| 108 | "interfaces" : [ |
| 109 | { |
| 110 | "name" : "yoyoma2", |
| 111 | "ips" : [ "10.0.2.3/24" ], |
| 112 | "mac" : "00:00:00:01:03:00" |
| 113 | } |
| 114 | ] |
| 115 | }, |
| 116 | "of:00000cafecafecafe/4" : { |
| 117 | "interfaces" : [ |
| 118 | { |
| 119 | "name" : "yoyoma4", |
| 120 | "ips" : [ "10.0.2.4/24" ], |
| 121 | "mac" : "00:00:00:01:04:00" |
| 122 | } |
| 123 | ] |
| 124 | } |
| 125 | |
| 126 | } |
| 127 | } |