Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/3" : { |
| 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-untagged": 10 |
| 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/4" : { |
| 12 | "interfaces" : [ |
| 13 | { |
You Wang | 57da9f9 | 2017-12-19 13:49:22 -0800 | [diff] [blame] | 14 | "ips" : [ "10.0.2.254/24" ], |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 15 | "vlan-tagged": [20] |
| 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | "of:0000000000000002/3" : { |
| 20 | "interfaces" : [ |
| 21 | { |
You Wang | 57da9f9 | 2017-12-19 13:49:22 -0800 | [diff] [blame] | 22 | "ips" : [ "10.0.3.254/24" ], |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 23 | "vlan-untagged": 30 |
| 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000002/4" : { |
| 28 | "interfaces" : [ |
| 29 | { |
You Wang | 57da9f9 | 2017-12-19 13:49:22 -0800 | [diff] [blame] | 30 | "ips" : [ "10.0.3.254/24" ], |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 31 | "vlan-tagged": [40] |
| 32 | } |
| 33 | ] |
| 34 | } |
| 35 | }, |
| 36 | "hosts" : { |
| 37 | "00:aa:00:00:00:02/20" : { |
| 38 | "basic": { |
| 39 | "locations": ["of:0000000000000001/4"] |
| 40 | } |
| 41 | }, |
| 42 | "00:aa:00:00:00:04/40" : { |
| 43 | "basic": { |
| 44 | "locations": ["of:0000000000000002/4"] |
| 45 | } |
| 46 | } |
| 47 | }, |
| 48 | "devices" : { |
| 49 | "of:0000000000000001" : { |
| 50 | "segmentrouting" : { |
| 51 | "ipv4NodeSid" : 1, |
| 52 | "ipv4Loopback" : "192.168.0.1", |
| 53 | "routerMac" : "00:00:00:00:00:01", |
| 54 | "isEdgeRouter" : true, |
| 55 | "adjacencySids" : [] |
| 56 | }, |
| 57 | "basic" : { |
| 58 | "driver" : "ofdpa-ovs" |
| 59 | } |
| 60 | }, |
| 61 | "of:0000000000000002" : { |
| 62 | "segmentrouting" : { |
| 63 | "ipv4NodeSid" : 2, |
| 64 | "ipv4Loopback" : "192.168.0.2", |
| 65 | "routerMac" : "00:00:00:00:00:02", |
| 66 | "isEdgeRouter" : true, |
| 67 | "adjacencySids" : [] |
| 68 | }, |
| 69 | "basic" : { |
| 70 | "driver" : "ofdpa-ovs" |
| 71 | } |
| 72 | }, |
| 73 | "of:0000000000000101" : { |
| 74 | "segmentrouting" : { |
| 75 | "ipv4NodeSid" : 101, |
| 76 | "ipv4Loopback" : "192.168.0.101", |
| 77 | "routerMac" : "00:00:00:00:01:01", |
| 78 | "isEdgeRouter" : false, |
| 79 | "adjacencySids" : [] |
| 80 | }, |
| 81 | "basic" : { |
| 82 | "driver" : "ofdpa-ovs" |
| 83 | } |
| 84 | }, |
| 85 | "of:0000000000000102" : { |
| 86 | "segmentrouting" : { |
| 87 | "ipv4NodeSid" : 102, |
| 88 | "ipv4Loopback" : "192.168.0.102", |
| 89 | "routerMac" : "00:00:00:00:01:02", |
| 90 | "isEdgeRouter" : false, |
| 91 | "adjacencySids" : [] |
| 92 | }, |
| 93 | "basic" : { |
| 94 | "driver" : "ofdpa-ovs" |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | } |