You Wang | 53dba1e | 2018-02-02 17:45:44 -0800 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/3" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "ips" : [ "2000::2ff/120" ], |
| 7 | "vlan-untagged": 40 |
| 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/4" : { |
| 12 | "interfaces" : [ |
| 13 | { |
| 14 | "ips" : [ "2000::2ff/120" ], |
| 15 | "vlan-untagged": 40 |
| 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | "of:0000000000000002/3" : { |
| 20 | "interfaces" : [ |
| 21 | { |
| 22 | "ips" : [ "2000::3ff/120" ], |
| 23 | "vlan-untagged": 50 |
| 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000002/4" : { |
| 28 | "interfaces" : [ |
| 29 | { |
| 30 | "ips" : [ "2000::3ff/120" ], |
| 31 | "vlan-untagged": 50 |
| 32 | } |
| 33 | ] |
| 34 | }, |
| 35 | "of:0000000000000002/5" : { |
| 36 | "interfaces" : [ |
| 37 | { |
| 38 | "ips" : [ "10.0.3.254/24", "2000::3ff/120" ], |
| 39 | "vlan-untagged": 30 |
| 40 | } |
| 41 | ] |
| 42 | }, |
| 43 | "of:0000000000000002/6" : { |
| 44 | "interfaces" : [ |
| 45 | { |
| 46 | "ips" : [ "10.0.1.254/24", "2000::1ff/120" ], |
| 47 | "vlan-untagged": 10 |
| 48 | } |
| 49 | ] |
| 50 | }, |
| 51 | "of:0000000000000002/7" : { |
| 52 | "interfaces" : [ |
| 53 | { |
| 54 | "ips" : [ "10.0.1.254/24", "2000::1ff/120" ], |
| 55 | "vlan-untagged": 10 |
| 56 | } |
| 57 | ] |
| 58 | } |
| 59 | }, |
| 60 | "devices" : { |
| 61 | "of:0000000000000001" : { |
| 62 | "segmentrouting" : { |
| 63 | "ipv4NodeSid" : 1, |
| 64 | "ipv4Loopback" : "192.168.0.1", |
| 65 | "routerMac" : "00:00:00:00:00:01", |
| 66 | "isEdgeRouter" : true, |
| 67 | "adjacencySids" : [] |
| 68 | }, |
| 69 | "basic" : { |
| 70 | "driver" : "ofdpa-ovs" |
| 71 | } |
| 72 | }, |
| 73 | "of:0000000000000002" : { |
| 74 | "segmentrouting" : { |
| 75 | "ipv4NodeSid" : 2, |
| 76 | "ipv4Loopback" : "192.168.0.2", |
| 77 | "routerMac" : "00:00:00:00:00:02", |
| 78 | "isEdgeRouter" : true, |
| 79 | "adjacencySids" : [] |
| 80 | }, |
| 81 | "basic" : { |
| 82 | "driver" : "ofdpa-ovs" |
| 83 | } |
| 84 | }, |
| 85 | "of:0000000000000101" : { |
| 86 | "segmentrouting" : { |
| 87 | "ipv4NodeSid" : 101, |
| 88 | "ipv4Loopback" : "192.168.0.101", |
| 89 | "routerMac" : "00:00:00:00:01:01", |
| 90 | "isEdgeRouter" : false, |
| 91 | "adjacencySids" : [] |
| 92 | }, |
| 93 | "basic" : { |
| 94 | "driver" : "ofdpa-ovs" |
| 95 | } |
| 96 | }, |
| 97 | "of:0000000000000102" : { |
| 98 | "segmentrouting" : { |
| 99 | "ipv4NodeSid" : 102, |
| 100 | "ipv4Loopback" : "192.168.0.102", |
| 101 | "routerMac" : "00:00:00:00:01:02", |
| 102 | "isEdgeRouter" : false, |
| 103 | "adjacencySids" : [] |
| 104 | }, |
| 105 | "basic" : { |
| 106 | "driver" : "ofdpa-ovs" |
| 107 | } |
| 108 | } |
| 109 | }, |
| 110 | "apps" : { |
| 111 | "org.onosproject.dhcprelay" : { |
| 112 | "default": [ |
| 113 | { |
| 114 | "dhcpServerConnectPoint": "of:0000000000000002/7", |
| 115 | "serverIps": ["10.0.99.3", "2000::99fd"], |
| 116 | "gatewayIps": ["10.0.1.1", "2000::101/120"] |
| 117 | } |
| 118 | ] |
| 119 | } |
| 120 | } |
| 121 | } |