blob: fca41e0bfa96b2bcdaa1fd85b6ceb7db0b4bbd39 [file] [log] [blame]
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -07001{
Saurav Das428ebc92015-09-30 10:00:49 -07002 "comment": "Configuration for a 4X4 leaf-spine fabric",
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -07003 "restrictSwitches": true,
4 "restrictLinks": true,
5
6 "switchConfig":
7 [
Saurav Das428ebc92015-09-30 10:00:49 -07008 { "nodeDpid" : "of:0000000000000001", "name": "Leaf-R1", "type": "Router_SR", "allowed": true,
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -07009 "latitude": 80.80, "longitude": 90.10,
Saurav Das428ebc92015-09-30 10:00:49 -070010 "params": { "routerIp": "10.0.1.254/32",
11 "routerMac": "00:00:00:00:01:80",
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070012 "nodeSid": 101,
13 "isEdgeRouter" : true,
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070014 "subnets": [
Saurav Das428ebc92015-09-30 10:00:49 -070015 { "portNo": 1, "subnetIp": "10.0.1.254/24" }
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070016 ]
17 }
18 },
19
Saurav Das428ebc92015-09-30 10:00:49 -070020 { "nodeDpid": "of:0000000000000002", "name": "Leaf-R2", "type": "Router_SR", "allowed": true,
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070021 "latitude": 80.80, "longitude": 90.10,
Saurav Das428ebc92015-09-30 10:00:49 -070022 "params": { "routerIp": "10.0.2.254/32",
23 "routerMac": "00:00:00:00:02:80",
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070024 "nodeSid": 102,
Saurav Das428ebc92015-09-30 10:00:49 -070025 "isEdgeRouter" : true,
26 "subnets": [
27 { "portNo": 1, "subnetIp": "10.0.2.254/24" }
28 ]
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070029 }
Saurav Das428ebc92015-09-30 10:00:49 -070030
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070031 },
32
Saurav Das428ebc92015-09-30 10:00:49 -070033 { "nodeDpid": "of:0000000000000003", "name": "Leaf-R3", "type": "Router_SR", "allowed": true,
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070034 "latitude": 80.80, "longitude": 90.10,
Saurav Das428ebc92015-09-30 10:00:49 -070035 "params": { "routerIp": "10.0.3.101/32",
36 "routerMac": "00:00:00:00:03:80",
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070037 "nodeSid": 103,
Saurav Das428ebc92015-09-30 10:00:49 -070038 "isEdgeRouter" : true,
39 "subnets": [
40 { "portNo": 1, "subnetIp": "10.0.3.254/24" }
41 ]
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070042 }
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070043
Saurav Das428ebc92015-09-30 10:00:49 -070044 },
45
46 { "nodeDpid": "of:0000000000000004", "name": "Leaf-R4", "type": "Router_SR", "allowed": true,
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070047 "latitude": 80.80, "longitude": 90.10,
Saurav Das428ebc92015-09-30 10:00:49 -070048 "params": { "routerIp": "10.0.4.101/32",
49 "routerMac": "00:00:00:00:04:80",
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070050 "nodeSid": 104,
Saurav Das428ebc92015-09-30 10:00:49 -070051 "isEdgeRouter" : true,
52 "subnets": [
53 { "portNo": 1, "subnetIp": "10.0.4.254/24" }
54 ]
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070055 }
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070056
Saurav Das428ebc92015-09-30 10:00:49 -070057 },
58
59 { "nodeDpid": "of:0000000000000191", "name": "Spine-R1", "type": "Router_SR", "allowed": true,
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070060 "latitude": 80.80, "longitude": 90.10,
Saurav Das428ebc92015-09-30 10:00:49 -070061 "params": { "routerIp": "192.168.0.11/32",
62 "routerMac": "00:00:01:00:11:80",
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070063 "nodeSid": 105,
64 "isEdgeRouter" : false
65 }
66 },
67
Saurav Das428ebc92015-09-30 10:00:49 -070068 { "nodeDpid": "of:0000000000000192", "name": "Spine-R2", "type": "Router_SR", "allowed": true,
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070069 "latitude": 80.80, "longitude": 90.10,
Saurav Das428ebc92015-09-30 10:00:49 -070070 "params": { "routerIp": "192.168.0.22/32",
71 "routerMac": "00:00:01:00:22:80",
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070072 "nodeSid": 106,
Saurav Das428ebc92015-09-30 10:00:49 -070073 "isEdgeRouter" : false
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070074 }
Saurav Das428ebc92015-09-30 10:00:49 -070075 },
Srikanth Vavilapalli4db76e32015-04-07 15:12:32 -070076
Saurav Das428ebc92015-09-30 10:00:49 -070077 { "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 Vavilapalli4db76e32015-04-07 15:12:32 -070094 ]
95}