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-untagged": 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-untagged": 40 |
| 32 | } |
| 33 | ] |
| 34 | } |
| 35 | }, |
| 36 | "devices" : { |
| 37 | "of:0000000000000001" : { |
| 38 | "segmentrouting" : { |
| 39 | "ipv4NodeSid" : 1, |
| 40 | "ipv4Loopback" : "192.168.0.1", |
| 41 | "routerMac" : "00:00:00:00:00:01", |
| 42 | "isEdgeRouter" : true, |
| 43 | "adjacencySids" : [] |
| 44 | }, |
| 45 | "basic" : { |
| 46 | "driver" : "ofdpa-ovs" |
| 47 | } |
| 48 | }, |
| 49 | "of:0000000000000002" : { |
| 50 | "segmentrouting" : { |
| 51 | "ipv4NodeSid" : 2, |
| 52 | "ipv4Loopback" : "192.168.0.2", |
| 53 | "routerMac" : "00:00:00:00:00:02", |
| 54 | "isEdgeRouter" : true, |
| 55 | "adjacencySids" : [] |
| 56 | }, |
| 57 | "basic" : { |
| 58 | "driver" : "ofdpa-ovs" |
| 59 | } |
| 60 | }, |
| 61 | "of:0000000000000101" : { |
| 62 | "segmentrouting" : { |
| 63 | "ipv4NodeSid" : 101, |
| 64 | "ipv4Loopback" : "192.168.0.101", |
| 65 | "routerMac" : "00:00:00:00:01:01", |
| 66 | "isEdgeRouter" : false, |
| 67 | "adjacencySids" : [] |
| 68 | }, |
| 69 | "basic" : { |
| 70 | "driver" : "ofdpa-ovs" |
| 71 | } |
| 72 | }, |
| 73 | "of:0000000000000102" : { |
| 74 | "segmentrouting" : { |
| 75 | "ipv4NodeSid" : 102, |
| 76 | "ipv4Loopback" : "192.168.0.102", |
| 77 | "routerMac" : "00:00:00:00:01:02", |
| 78 | "isEdgeRouter" : false, |
| 79 | "adjacencySids" : [] |
| 80 | }, |
| 81 | "basic" : { |
| 82 | "driver" : "ofdpa-ovs" |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | } |