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-untagged": 10 |
| 8 | } |
| 9 | ] |
| 10 | }, |
| 11 | "of:0000000000000001/3" : { |
| 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-untagged": 20 |
| 16 | } |
| 17 | ] |
| 18 | }, |
| 19 | "of:0000000000000002/2" : { |
| 20 | "interfaces" : [ |
| 21 | { |
You Wang | 57da9f9 | 2017-12-19 13:49:22 -0800 | [diff] [blame] | 22 | "ips" : [ "10.0.2.254/24" ], |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 23 | "vlan-untagged": 10 |
| 24 | } |
| 25 | ] |
| 26 | }, |
| 27 | "of:0000000000000002/3" : { |
| 28 | "interfaces" : [ |
| 29 | { |
You Wang | 57da9f9 | 2017-12-19 13:49:22 -0800 | [diff] [blame] | 30 | "ips" : [ "10.0.2.254/24" ], |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 31 | "vlan-untagged": 20 |
| 32 | } |
| 33 | ] |
| 34 | } |
| 35 | }, |
| 36 | "hosts": { |
| 37 | "00:AA:00:00:00:01/None": { |
| 38 | "basic": { |
| 39 | "ips": ["10.0.2.1"], |
| 40 | "locations": ["of:0000000000000001/2", "of:0000000000000002/2"] |
| 41 | } |
| 42 | }, |
| 43 | "00:AA:00:00:00:02/None": { |
| 44 | "basic": { |
| 45 | "ips": ["10.0.2.2"], |
| 46 | "locations": ["of:0000000000000001/3", "of:0000000000000002/3"] |
| 47 | } |
| 48 | } |
| 49 | }, |
| 50 | "devices" : { |
| 51 | "of:0000000000000001" : { |
| 52 | "segmentrouting" : { |
| 53 | "ipv4NodeSid" : 1, |
| 54 | "ipv4Loopback" : "192.168.0.1", |
| 55 | "routerMac" : "00:00:00:00:00:01", |
| 56 | "isEdgeRouter" : true, |
| 57 | "pairDeviceId" : "of:0000000000000002", |
| 58 | "pairLocalPort" : 1, |
| 59 | "adjacencySids" : [] |
| 60 | }, |
| 61 | "basic" : { |
| 62 | "driver" : "ofdpa-ovs" |
| 63 | } |
| 64 | }, |
| 65 | "of:0000000000000002" : { |
| 66 | "segmentrouting" : { |
| 67 | "ipv4NodeSid" : 1, |
| 68 | "ipv4Loopback" : "192.168.0.2", |
| 69 | "routerMac" : "00:00:00:00:00:01", |
| 70 | "isEdgeRouter" : true, |
| 71 | "pairDeviceId" : "of:0000000000000001", |
| 72 | "pairLocalPort" : 1, |
| 73 | "adjacencySids" : [] |
| 74 | }, |
| 75 | "basic" : { |
| 76 | "driver" : "ofdpa-ovs" |
| 77 | } |
| 78 | } |
| 79 | } |
| 80 | } |