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