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