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