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