| { |
| "apps": { |
| "org.opencord.aaa": { |
| "AAA": { |
| "radiusIp": "172.25.0.100", |
| "nasIp": "5.6.7.8", |
| "radiusServerPort": "1812", |
| "radiusSecret": "SECRET", |
| "bindings" : [ |
| { |
| "mac" : "de:ad:be:ef:ba:11", |
| "s-tag" : 2, |
| "c-tag" : 2, |
| "nas_port_id" : "location" |
| }, |
| { |
| "mac" : "de:ad:be:ef:ca:fe", |
| "s-tag" : 2, |
| "c-tag" : 122, |
| "nas_port_id" : "location" |
| } |
| ] |
| } |
| }, |
| "org.onosproject.dhcp-relay" : { |
| "dhcprelay" : { |
| "dhcpserverConnectPoint" : "of:00000cafecafecafe/4", |
| "serverip" : "11.11.11.11", |
| "gatewayip" : "9.9.9.9" |
| } |
| } |
| }, |
| "devices": { |
| "of:0001000000000001": { |
| "basic": { |
| "driver": "pmc-olt" |
| }, |
| "accessDevice": { |
| "uplink": "0", |
| "vlan": "2" |
| } |
| }, |
| "of:0001000000000002": { |
| "basic": { |
| "driver": "pmc-olt" |
| }, |
| "accessDevice": { |
| "uplink": "0", |
| "vlan": "1001" |
| } |
| }, |
| "of:0001000000000003": { |
| "basic": { |
| "driver": "pmc-olt" |
| }, |
| "accessDevice": { |
| "uplink": "0", |
| "vlan": "1002" |
| } |
| }, |
| "of:0001000000000004": { |
| "basic": { |
| "driver": "pmc-olt" |
| }, |
| "accessDevice": { |
| "uplink": "0", |
| "vlan": "1003" |
| } |
| }, |
| "of:0001000000000005": { |
| "basic": { |
| "driver": "pmc-olt" |
| }, |
| "accessDevice": { |
| "uplink": "0", |
| "vlan": "1004" |
| } |
| }, |
| "of:0001000000000006": { |
| "basic": { |
| "driver": "pmc-olt" |
| }, |
| "accessDevice": { |
| "uplink": "0", |
| "vlan": "1005" |
| } |
| } |
| }, |
| "ports" : { |
| "of:0000000000000001/2" : { |
| "interfaces" : [ |
| { |
| "name" : "yoyoma1", |
| "ips" : [ "10.0.2.1/24" ], |
| "mac" : "00:00:00:01:01:00" |
| } |
| ] |
| }, |
| "of:00000cafecafecafe/3" : { |
| "interfaces" : [ |
| { |
| "name" : "yoyoma", |
| "ips" : [ "10.0.2.2/24" ], |
| "mac" : "00:00:00:01:02:00" |
| } |
| ] |
| },"of:00000cafecafecafe/2" : { |
| "interfaces" : [ |
| { |
| "name" : "yoyoma2", |
| "ips" : [ "10.0.2.3/24" ], |
| "mac" : "00:00:00:01:03:00" |
| } |
| ] |
| }, |
| "of:00000cafecafecafe/4" : { |
| "interfaces" : [ |
| { |
| "name" : "yoyoma4", |
| "ips" : [ "10.0.2.4/24" ], |
| "mac" : "00:00:00:01:04:00" |
| } |
| ] |
| } |
| |
| } |
| } |