]
}
},
+ {
+ "name": "mytuning",
+ "type": "tuning",
+ "sysctl": {
+ "net.core.somaxconn": "500"
+ }
+ },
{
"type": "anycast",
"myAwesomeFlag": true,
--- /dev/null
+{
+ "name": "anycast",
+ "cniVersion": "0.3.1",
+ "plugins": [
+ {
+ "type": "bridge",
+ "bridge": "mynet",
+ "ipMasq": true,
+ "isGateway": true,
+ "ipam": {
+ "type": "host-local",
+ "subnet": "10.244.10.0/24",
+ "routes": [
+ { "dst": "0.0.0.0/0" }
+ ]
+ }
+ },
+ {
+ "type": "anycast",
+ "myAwesomeFlag": true,
+ "anotherAwesomeArg": "172.19.0.1",
+ "StaticIP": "10.244.10.209",
+ "Uplink": "mynet",
+ "viaIP": "10.244.10.1"
+ }
+ ]
+}
+
return err
}
+ log.Println("AdvRoute: BGP Advertise /32 Complete", staticIP, viaIP, uplink)
+
// Pass trough the result for the next plugin
return types.PrintResult(conf.PrevResult, conf.CNIVersion)
}