You Wang | 53dba1e | 2018-02-02 17:45:44 -0800 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/6" : { |
| 4 | "interfaces" : [ |
| 5 | { |
| 6 | "ips" : [ "10.0.2.254/24" ], |
| 7 | "vlan-tagged": [20] |
| 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/7" : { |
| 12 | "interfaces" : [ |
| 13 | { |
| 14 | "ips" : [ "10.0.2.254/24" ], |
| 15 | "vlan-tagged": [20] |
| 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | "of:0000000000000002/6" : { |
| 20 | "interfaces" : [ |
| 21 | { |
| 22 | "ips" : [ "10.0.2.254/24" ], |
| 23 | "vlan-tagged": [20] |
| 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000002/7" : { |
| 28 | "interfaces" : [ |
| 29 | { |
| 30 | "ips" : [ "10.0.2.254/24" ], |
| 31 | "vlan-tagged": [20] |
| 32 | } |
| 33 | ] |
| 34 | }, |
| 35 | "of:0000000000000003/6" : { |
| 36 | "interfaces" : [ |
| 37 | { |
| 38 | "ips" : [ "10.0.3.254/24" ], |
| 39 | "vlan-tagged": [30] |
| 40 | } |
| 41 | ] |
| 42 | }, |
| 43 | "of:0000000000000003/7" : { |
| 44 | "interfaces" : [ |
| 45 | { |
| 46 | "ips" : [ "10.0.3.254/24" ], |
| 47 | "vlan-tagged": [30] |
| 48 | } |
| 49 | ] |
| 50 | }, |
| 51 | "of:0000000000000003/8" : { |
| 52 | "interfaces" : [ |
| 53 | { |
| 54 | "ips" : [ "10.0.3.254/24" ], |
| 55 | "vlan-untagged": 30 |
| 56 | } |
| 57 | ] |
| 58 | }, |
| 59 | "of:0000000000000004/6" : { |
| 60 | "interfaces" : [ |
| 61 | { |
| 62 | "ips" : [ "10.0.3.254/24" ], |
| 63 | "vlan-tagged": [30] |
| 64 | } |
| 65 | ] |
| 66 | }, |
| 67 | "of:0000000000000004/7" : { |
| 68 | "interfaces" : [ |
| 69 | { |
| 70 | "ips" : [ "10.0.3.254/24" ], |
| 71 | "vlan-tagged": [30] |
| 72 | } |
| 73 | ] |
| 74 | } |
| 75 | }, |
| 76 | "devices" : { |
| 77 | "of:0000000000000001" : { |
| 78 | "segmentrouting" : { |
| 79 | "ipv4NodeSid" : 1, |
| 80 | "ipv4Loopback" : "192.168.0.1", |
| 81 | "routerMac" : "00:00:00:00:00:01", |
| 82 | "isEdgeRouter" : true, |
| 83 | "pairDeviceId" : "of:0000000000000002", |
| 84 | "pairLocalPort" : 5, |
| 85 | "adjacencySids" : [] |
| 86 | }, |
| 87 | "basic" : { |
| 88 | "driver" : "ofdpa-ovs" |
| 89 | } |
| 90 | }, |
| 91 | "of:0000000000000002" : { |
| 92 | "segmentrouting" : { |
| 93 | "ipv4NodeSid" : 1, |
| 94 | "ipv4Loopback" : "192.168.0.2", |
| 95 | "routerMac" : "00:00:00:00:00:01", |
| 96 | "isEdgeRouter" : true, |
| 97 | "pairDeviceId" : "of:0000000000000001", |
| 98 | "pairLocalPort" : 5, |
| 99 | "adjacencySids" : [] |
| 100 | }, |
| 101 | "basic" : { |
| 102 | "driver" : "ofdpa-ovs" |
| 103 | } |
| 104 | }, |
| 105 | "of:0000000000000003" : { |
| 106 | "segmentrouting" : { |
| 107 | "ipv4NodeSid" : 2, |
| 108 | "ipv4Loopback" : "192.168.0.3", |
| 109 | "routerMac" : "00:00:00:00:00:02", |
| 110 | "isEdgeRouter" : true, |
| 111 | "pairDeviceId" : "of:0000000000000004", |
| 112 | "pairLocalPort" : 5, |
| 113 | "adjacencySids" : [] |
| 114 | }, |
| 115 | "basic" : { |
| 116 | "driver" : "ofdpa-ovs" |
| 117 | } |
| 118 | }, |
| 119 | "of:0000000000000004" : { |
| 120 | "segmentrouting" : { |
| 121 | "ipv4NodeSid" : 2, |
| 122 | "ipv4Loopback" : "192.168.0.4", |
| 123 | "routerMac" : "00:00:00:00:00:02", |
| 124 | "isEdgeRouter" : true, |
| 125 | "pairDeviceId" : "of:0000000000000003", |
| 126 | "pairLocalPort" : 5, |
| 127 | "adjacencySids" : [] |
| 128 | }, |
| 129 | "basic" : { |
| 130 | "driver" : "ofdpa-ovs" |
| 131 | } |
| 132 | }, |
| 133 | "of:0000000000000101" : { |
| 134 | "segmentrouting" : { |
| 135 | "ipv4NodeSid" : 101, |
| 136 | "ipv4Loopback" : "192.168.0.101", |
| 137 | "routerMac" : "00:00:00:00:01:01", |
| 138 | "isEdgeRouter" : false, |
| 139 | "adjacencySids" : [] |
| 140 | }, |
| 141 | "basic" : { |
| 142 | "driver" : "ofdpa-ovs" |
| 143 | } |
| 144 | }, |
| 145 | "of:0000000000000102" : { |
| 146 | "segmentrouting" : { |
| 147 | "ipv4NodeSid" : 102, |
| 148 | "ipv4Loopback" : "192.168.0.102", |
| 149 | "routerMac" : "00:00:00:00:01:02", |
| 150 | "isEdgeRouter" : false, |
| 151 | "adjacencySids" : [] |
| 152 | }, |
| 153 | "basic" : { |
| 154 | "driver" : "ofdpa-ovs" |
| 155 | } |
| 156 | } |
| 157 | }, |
| 158 | "apps" : { |
| 159 | "org.onosproject.dhcprelay" : { |
| 160 | "default": [ |
| 161 | { |
| 162 | "dhcpServerConnectPoint": "of:0000000000000003/8", |
| 163 | "serverIps": ["10.0.3.253"] |
| 164 | } |
| 165 | ] |
| 166 | } |
| 167 | } |
| 168 | } |