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