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" |
| 25 | } |
| 26 | }, |
| 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 | } |
| 38 | }, |
| 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:02/20":{ |
| 54 | "basic":{ |
| 55 | "locations":[ |
| 56 | "of:0000000000000001/4" |
| 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:04/40":{ |
| 61 | "basic":{ |
| 62 | "locations":[ |
| 63 | "of:0000000000000002/4" |
| 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 | } |
| 67 | }, |
| 68 | "ports":{ |
| 69 | "of:0000000000000001/3":{ |
| 70 | "interfaces":[ |
| 71 | { |
| 72 | "ips":[ |
| 73 | "10.0.2.254/24" |
| 74 | ], |
| 75 | "vlan-untagged":10 |
| 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:0000000000000001/4":{ |
| 80 | "interfaces":[ |
| 81 | { |
| 82 | "ips":[ |
| 83 | "10.0.2.254/24" |
| 84 | ], |
| 85 | "vlan-tagged":[ |
| 86 | 20 |
| 87 | ] |
| 88 | } |
| 89 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 90 | }, |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 91 | "of:0000000000000002/3":{ |
| 92 | "interfaces":[ |
| 93 | { |
| 94 | "ips":[ |
| 95 | "10.0.3.254/24" |
| 96 | ], |
| 97 | "vlan-untagged":30 |
| 98 | } |
| 99 | ] |
| 100 | }, |
| 101 | "of:0000000000000002/4":{ |
| 102 | "interfaces":[ |
| 103 | { |
| 104 | "ips":[ |
| 105 | "10.0.3.254/24" |
| 106 | ], |
| 107 | "vlan-tagged":[ |
| 108 | 40 |
| 109 | ] |
| 110 | } |
| 111 | ] |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 112 | } |
| 113 | } |
Jon Hall | 2161a21 | 2020-09-16 11:29:27 -0700 | [diff] [blame] | 114 | } |