CORD-508 SegmentRouting / vRouter integration
- Added excludePorts config to SegmentRouting
SR does not push VLAN filtering rule to excluded ports
SR ignores hosts learned from excluded ports
- Use separate default route config
Don't need to config 0/0 on the interface anymore
Change-Id: Iea75d60c2d5f5368e79652b1bf192a6ced49030d
diff --git a/tools/package/config/samples/network-cfg-fabric2x2-default-route.json b/tools/package/config/samples/network-cfg-fabric2x2-default-route.json
index f9e49cc..46830ce 100644
--- a/tools/package/config/samples/network-cfg-fabric2x2-default-route.json
+++ b/tools/package/config/samples/network-cfg-fabric2x2-default-route.json
@@ -27,10 +27,19 @@
"of:0000000000000002/4" : {
"interfaces" : [
{
- "ips" : [ "10.0.2.254/24", "0.0.0.0/0" ],
+ "ips" : [ "10.0.2.254/24" ],
"vlan" : "-1"
}
]
+ },
+ "of:0000000000000002/5" : {
+ "interfaces" : [
+ {
+ "name" : "2/5/1",
+ "ips" : [ "100.0.0.0/24" ],
+ "vlan" : "-1"
+ }
+ ]
}
},
"devices" : {
@@ -112,6 +121,10 @@
"segmentrouting" : {
"vRouterMacs" : [
"00:00:00:aa:00:02"
+ ],
+ "vRouterId" : "of:0000000000000002",
+ "excludePorts" : [
+ "2/5/1"
]
}
}