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