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