Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1 | { |
| 2 | "ports" : { |
| 3 | "of:0000000000000001/2" : { |
| 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/3" : { |
| 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/2" : { |
| 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/3" : { |
| 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 | }, |
| 40 | "hosts": { |
| 41 | "00:AA:00:00:00:01/None": { |
| 42 | "basic": { |
| 43 | "ips": ["10.0.2.1"], |
| 44 | "locations": ["of:0000000000000001/2", "of:0000000000000002/2"] |
| 45 | } |
| 46 | }, |
| 47 | "00:AA:00:00:00:02/None": { |
| 48 | "basic": { |
| 49 | "ips": ["10.0.2.2"], |
| 50 | "locations": ["of:0000000000000001/3", "of:0000000000000002/3"] |
| 51 | } |
| 52 | } |
| 53 | }, |
| 54 | "devices" : { |
| 55 | "of:0000000000000001" : { |
| 56 | "segmentrouting" : { |
| 57 | "ipv4NodeSid" : 1, |
| 58 | "ipv4Loopback" : "192.168.0.1", |
| 59 | "routerMac" : "00:00:00:00:00:01", |
| 60 | "isEdgeRouter" : true, |
| 61 | "pairDeviceId" : "of:0000000000000002", |
| 62 | "pairLocalPort" : 1, |
| 63 | "adjacencySids" : [] |
| 64 | }, |
| 65 | "basic" : { |
| 66 | "driver" : "ofdpa-ovs" |
| 67 | } |
| 68 | }, |
| 69 | "of:0000000000000002" : { |
| 70 | "segmentrouting" : { |
| 71 | "ipv4NodeSid" : 1, |
| 72 | "ipv4Loopback" : "192.168.0.2", |
| 73 | "routerMac" : "00:00:00:00:00:01", |
| 74 | "isEdgeRouter" : true, |
| 75 | "pairDeviceId" : "of:0000000000000001", |
| 76 | "pairLocalPort" : 1, |
| 77 | "adjacencySids" : [] |
| 78 | }, |
| 79 | "basic" : { |
| 80 | "driver" : "ofdpa-ovs" |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | } |