Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 1 | { |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 2 | "comment": "Configuration for a 4X4 leaf-spine fabric", |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 3 | "restrictSwitches": true, |
| 4 | "restrictLinks": true, |
| 5 | |
| 6 | "switchConfig": |
| 7 | [ |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 8 | { "nodeDpid" : "of:0000000000000001", "name": "Leaf-R1", "type": "Router_SR", "allowed": true, |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 9 | "latitude": 80.80, "longitude": 90.10, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 10 | "params": { "routerIp": "10.0.1.254/32", |
| 11 | "routerMac": "00:00:00:00:01:80", |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 12 | "nodeSid": 101, |
| 13 | "isEdgeRouter" : true, |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 14 | "subnets": [ |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 15 | { "portNo": 1, "subnetIp": "10.0.1.254/24" } |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 16 | ] |
| 17 | } |
| 18 | }, |
| 19 | |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 20 | { "nodeDpid": "of:0000000000000002", "name": "Leaf-R2", "type": "Router_SR", "allowed": true, |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 21 | "latitude": 80.80, "longitude": 90.10, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 22 | "params": { "routerIp": "10.0.2.254/32", |
| 23 | "routerMac": "00:00:00:00:02:80", |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 24 | "nodeSid": 102, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 25 | "isEdgeRouter" : true, |
| 26 | "subnets": [ |
| 27 | { "portNo": 1, "subnetIp": "10.0.2.254/24" } |
| 28 | ] |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 29 | } |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 30 | |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 31 | }, |
| 32 | |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 33 | { "nodeDpid": "of:0000000000000003", "name": "Leaf-R3", "type": "Router_SR", "allowed": true, |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 34 | "latitude": 80.80, "longitude": 90.10, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 35 | "params": { "routerIp": "10.0.3.101/32", |
| 36 | "routerMac": "00:00:00:00:03:80", |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 37 | "nodeSid": 103, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 38 | "isEdgeRouter" : true, |
| 39 | "subnets": [ |
| 40 | { "portNo": 1, "subnetIp": "10.0.3.254/24" } |
| 41 | ] |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 42 | } |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 43 | |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 44 | }, |
| 45 | |
| 46 | { "nodeDpid": "of:0000000000000004", "name": "Leaf-R4", "type": "Router_SR", "allowed": true, |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 47 | "latitude": 80.80, "longitude": 90.10, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 48 | "params": { "routerIp": "10.0.4.101/32", |
| 49 | "routerMac": "00:00:00:00:04:80", |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 50 | "nodeSid": 104, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 51 | "isEdgeRouter" : true, |
| 52 | "subnets": [ |
| 53 | { "portNo": 1, "subnetIp": "10.0.4.254/24" } |
| 54 | ] |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 55 | } |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 56 | |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 57 | }, |
| 58 | |
| 59 | { "nodeDpid": "of:0000000000000191", "name": "Spine-R1", "type": "Router_SR", "allowed": true, |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 60 | "latitude": 80.80, "longitude": 90.10, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 61 | "params": { "routerIp": "192.168.0.11/32", |
| 62 | "routerMac": "00:00:01:00:11:80", |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 63 | "nodeSid": 105, |
| 64 | "isEdgeRouter" : false |
| 65 | } |
| 66 | }, |
| 67 | |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 68 | { "nodeDpid": "of:0000000000000192", "name": "Spine-R2", "type": "Router_SR", "allowed": true, |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 69 | "latitude": 80.80, "longitude": 90.10, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 70 | "params": { "routerIp": "192.168.0.22/32", |
| 71 | "routerMac": "00:00:01:00:22:80", |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 72 | "nodeSid": 106, |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 73 | "isEdgeRouter" : false |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 74 | } |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 75 | }, |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 76 | |
Saurav Das | 428ebc9 | 2015-09-30 10:00:49 -0700 | [diff] [blame^] | 77 | { "nodeDpid": "of:0000000000000193", "name": "Spine-R3", "type": "Router_SR", "allowed": true, |
| 78 | "latitude": 80.80, "longitude": 90.10, |
| 79 | "params": { "routerIp": "192.168.0.33/32", |
| 80 | "routerMac": "00:00:01:00:33:80", |
| 81 | "nodeSid": 107, |
| 82 | "isEdgeRouter" : false |
| 83 | } |
| 84 | }, |
| 85 | |
| 86 | { "nodeDpid": "of:0000000000000194", "name": "Spine-R4", "type": "Router_SR", "allowed": true, |
| 87 | "latitude": 80.80, "longitude": 90.10, |
| 88 | "params": { "routerIp": "192.168.0.44/32", |
| 89 | "routerMac": "00:00:01:00:44:80", |
| 90 | "nodeSid": 108, |
| 91 | "isEdgeRouter" : false |
| 92 | } |
| 93 | } |
Srikanth Vavilapalli | 4db76e3 | 2015-04-07 15:12:32 -0700 | [diff] [blame] | 94 | ] |
| 95 | } |