| { |
| "ports" : { |
| "of:0000000000000001/3" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.2.254/24" ], |
| "vlan-tagged": [20] |
| } |
| ] |
| }, |
| "of:0000000000000001/4" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.2.254/24" ], |
| "vlan-tagged": [20] |
| } |
| ] |
| }, |
| "of:0000000000000002/3" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.3.254/24" ], |
| "vlan-tagged": [30] |
| } |
| ] |
| }, |
| "of:0000000000000002/4" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.3.254/24" ], |
| "vlan-tagged": [30] |
| } |
| ] |
| }, |
| "of:0000000000000002/5" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.3.254/24" ], |
| "vlan-untagged": 30 |
| } |
| ] |
| }, |
| "of:0000000000000002/6" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.1.254/24" ], |
| "vlan-untagged": 10 |
| } |
| ] |
| }, |
| "of:0000000000000002/7" : { |
| "interfaces" : [ |
| { |
| "ips" : [ "10.0.1.254/24" ], |
| "vlan-untagged": 10 |
| } |
| ] |
| } |
| }, |
| "devices" : { |
| "of:0000000000000001" : { |
| "segmentrouting" : { |
| "ipv4NodeSid" : 1, |
| "ipv4Loopback" : "192.168.0.1", |
| "routerMac" : "00:00:00:00:00:01", |
| "isEdgeRouter" : true, |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs" |
| } |
| }, |
| "of:0000000000000002" : { |
| "segmentrouting" : { |
| "ipv4NodeSid" : 2, |
| "ipv4Loopback" : "192.168.0.2", |
| "routerMac" : "00:00:00:00:00:02", |
| "isEdgeRouter" : true, |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs" |
| } |
| }, |
| "of:0000000000000101" : { |
| "segmentrouting" : { |
| "ipv4NodeSid" : 101, |
| "ipv4Loopback" : "192.168.0.101", |
| "routerMac" : "00:00:00:00:01:01", |
| "isEdgeRouter" : false, |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs" |
| } |
| }, |
| "of:0000000000000102" : { |
| "segmentrouting" : { |
| "ipv4NodeSid" : 102, |
| "ipv4Loopback" : "192.168.0.102", |
| "routerMac" : "00:00:00:00:01:02", |
| "isEdgeRouter" : false, |
| "adjacencySids" : [] |
| }, |
| "basic" : { |
| "driver" : "ofdpa-ovs" |
| } |
| } |
| }, |
| "apps" : { |
| "org.onosproject.dhcprelay" : { |
| "default": [ |
| { |
| "dhcpServerConnectPoint": "of:0000000000000002/7", |
| "serverIps": ["10.0.99.3"], |
| "gatewayIps": ["10.0.1.1"] |
| } |
| ] |
| } |
| } |
| } |