Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 1 | { |
| 2 | "devices": { |
| 3 | "device:tofino:leaf1": { |
| 4 | "segmentrouting": { |
| 5 | "name": "leaf1", |
| 6 | "ipv4NodeSid": 204, |
| 7 | "ipv4Loopback": "192.168.0.204", |
| 8 | "ipv6NodeSid": 214, |
| 9 | "ipv6Loopback": "2000::c0a8:0204", |
| 10 | "routerMac": "00:00:00:00:02:04", |
| 11 | "isEdgeRouter": true, |
| 12 | "adjacencySids": [] |
| 13 | } |
| 14 | }, |
| 15 | "device:tofino:leaf2": { |
| 16 | "segmentrouting": { |
| 17 | "name": "leaf2", |
| 18 | "ipv4NodeSid": 205, |
| 19 | "ipv4Loopback": "192.168.0.205", |
| 20 | "ipv6NodeSid": 215, |
| 21 | "ipv6Loopback": "2000::c0a8:0205", |
| 22 | "routerMac": "00:00:00:00:02:05", |
| 23 | "isEdgeRouter": true, |
| 24 | "adjacencySids": [] |
| 25 | } |
| 26 | }, |
| 27 | "device:cavium:spine1": { |
| 28 | "segmentrouting": { |
| 29 | "name": "spine1", |
| 30 | "ipv4NodeSid": 226, |
| 31 | "ipv4Loopback": "192.168.0.226", |
| 32 | "ipv6NodeSid": 236, |
| 33 | "ipv6Loopback": "2000::c0a8:0226", |
| 34 | "routerMac": "00:00:00:00:02:26", |
| 35 | "isEdgeRouter": false, |
| 36 | "adjacencySids": [] |
| 37 | } |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 38 | } |
| 39 | }, |
| 40 | "ports": { |
| 41 | "device:tofino:leaf1/144": { |
| 42 | "interfaces": [ |
| 43 | { |
Yi Tseng | 9461d70 | 2018-02-05 16:56:39 -0800 | [diff] [blame] | 44 | "name": "leaf1-3/0-compute-1", |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 45 | "ips": [ |
Yi Tseng | 9461d70 | 2018-02-05 16:56:39 -0800 | [diff] [blame] | 46 | "10.6.1.254/24", |
| 47 | "118.0.0.254/24", |
| 48 | "119.0.0.254/24" |
| 49 | ], |
| 50 | "vlan-untagged": 10 |
| 51 | } |
| 52 | ] |
| 53 | }, |
| 54 | "device:tofino:leaf1/145": { |
| 55 | "interfaces": [ |
| 56 | { |
Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 57 | "name": "leaf1-3/1-mgmt25-enb", |
Yi Tseng | 9461d70 | 2018-02-05 16:56:39 -0800 | [diff] [blame] | 58 | "ips": [ |
| 59 | "118.0.0.254/24", |
| 60 | "119.0.0.254/24" |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 61 | ], |
| 62 | "vlan-untagged": 10 |
| 63 | } |
| 64 | ] |
| 65 | }, |
Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 66 | "device:tofino:leaf1/146": { |
| 67 | "interfaces": [ |
| 68 | { |
| 69 | "name": "leaf1-3/2--head-node(ProgRAN)", |
| 70 | "ips": [ |
| 71 | "118.0.0.254/24" |
| 72 | ], |
| 73 | "vlan-untagged": 10 |
| 74 | } |
| 75 | ] |
| 76 | }, |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 77 | "device:tofino:leaf2/144": { |
| 78 | "interfaces": [ |
| 79 | { |
Yi Tseng | 9461d70 | 2018-02-05 16:56:39 -0800 | [diff] [blame] | 80 | "name": "leaf2-3/0-compute-2", |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 81 | "ips": [ |
Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 82 | "10.6.2.254/24", |
| 83 | "122.0.0.254/24" |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 84 | ], |
| 85 | "vlan-untagged": 20 |
| 86 | } |
| 87 | ] |
| 88 | }, |
| 89 | "device:tofino:leaf2/145": { |
| 90 | "interfaces": [ |
| 91 | { |
Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 92 | "name": "leaf2-3/1-P4-DP", |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 93 | "ips": [ |
Yi Tseng | 9461d70 | 2018-02-05 16:56:39 -0800 | [diff] [blame] | 94 | "140.0.0.2/24" |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 95 | ], |
Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 96 | "vlan-untagged": 20 |
Yi Tseng | 9461d70 | 2018-02-05 16:56:39 -0800 | [diff] [blame] | 97 | } |
| 98 | ] |
| 99 | }, |
| 100 | "device:tofino:leaf2/146": { |
| 101 | "interfaces": [ |
| 102 | { |
| 103 | "name": "leaf2-3/2-------mgmt-27---ARM", |
| 104 | "ips": [ |
Yi Tseng | ef9e0ae | 2018-02-05 18:57:13 -0800 | [diff] [blame] | 105 | "150.0.0.254/24" |
Yi Tseng | 9461d70 | 2018-02-05 16:56:39 -0800 | [diff] [blame] | 106 | ], |
| 107 | "vlan-untagged": 150 |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 108 | } |
| 109 | ] |
Test User | 4be28e6 | 2018-03-01 07:07:02 -0800 | [diff] [blame] | 110 | }, |
| 111 | "device:tofino:leaf2/152": { |
| 112 | "interfaces": [ |
| 113 | { |
| 114 | "name": "leaf2-COMP2-40G-1", |
| 115 | "ips": [ |
| 116 | "10.6.2.254/24" |
| 117 | ], |
| 118 | "vlan-untagged": 20 |
| 119 | } |
| 120 | ] |
| 121 | }, |
| 122 | "device:tofino:leaf2/160": { |
| 123 | "interfaces": [ |
| 124 | { |
| 125 | "name": "leaf2-COMP2-40G-2", |
| 126 | "ips": [ |
| 127 | "10.6.2.254/24" |
| 128 | ], |
| 129 | "vlan-untagged": 20 |
| 130 | } |
| 131 | ] |
Yi Tseng | 84034d4 | 2017-12-20 16:44:57 -0800 | [diff] [blame] | 132 | } |
| 133 | } |
| 134 | } |