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" |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 13 | } |
| 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" |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 25 | } |
| 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" |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 37 | } |
| 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" |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 49 | } |
| 50 | } |
| 51 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 52 | "hosts":{ |
| 53 | "00:aa:00:00:00:01/10":{ |
| 54 | "basic":{ |
| 55 | "locations":[ |
| 56 | "of:0000000000000001/3" |
| 57 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 58 | } |
| 59 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 60 | "00:aa:00:00:00:02/20":{ |
| 61 | "basic":{ |
| 62 | "locations":[ |
| 63 | "of:0000000000000001/4" |
| 64 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 65 | } |
| 66 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 67 | "00:aa:00:00:00:03/30":{ |
| 68 | "basic":{ |
| 69 | "locations":[ |
| 70 | "of:0000000000000002/3" |
| 71 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 72 | } |
| 73 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 74 | "00:aa:00:00:00:04/40":{ |
| 75 | "basic":{ |
| 76 | "locations":[ |
| 77 | "of:0000000000000002/4" |
| 78 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 79 | } |
| 80 | } |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 81 | }, |
| 82 | "ports":{ |
| 83 | "of:0000000000000001/3":{ |
| 84 | "interfaces":[ |
| 85 | { |
| 86 | "ips":[ |
| 87 | "10.0.2.254/24" |
| 88 | ], |
| 89 | "vlan-tagged":[ |
| 90 | 10 |
| 91 | ] |
| 92 | } |
| 93 | ] |
| 94 | }, |
| 95 | "of:0000000000000001/4":{ |
| 96 | "interfaces":[ |
| 97 | { |
| 98 | "ips":[ |
| 99 | "10.0.2.254/24" |
| 100 | ], |
| 101 | "vlan-tagged":[ |
| 102 | 20 |
| 103 | ] |
| 104 | } |
| 105 | ] |
| 106 | }, |
| 107 | "of:0000000000000002/3":{ |
| 108 | "interfaces":[ |
| 109 | { |
| 110 | "ips":[ |
| 111 | "10.0.3.254/24" |
| 112 | ], |
| 113 | "vlan-tagged":[ |
| 114 | 30 |
| 115 | ] |
| 116 | } |
| 117 | ] |
| 118 | }, |
| 119 | "of:0000000000000002/4":{ |
| 120 | "interfaces":[ |
| 121 | { |
| 122 | "ips":[ |
| 123 | "10.0.3.254/24" |
| 124 | ], |
| 125 | "vlan-tagged":[ |
| 126 | 40 |
| 127 | ] |
| 128 | } |
| 129 | ] |
| 130 | } |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 131 | } |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 132 | } |