Fix network configurations to have a valid CIDR subnet

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #109
Approved by: mheon
This commit is contained in:
Matthew Heon
2017-12-11 15:41:19 -05:00
committed by Atomic Bot
parent e40512cbaa
commit 9e5637f9e8

View File

@ -205,7 +205,7 @@ function prepare_network_conf() {
"ipMasq": true, "ipMasq": true,
"ipam": { "ipam": {
"type": "host-local", "type": "host-local",
"subnet": "$1", "subnet": "10.20.40.0/24",
"routes": [ "routes": [
{ "dst": "0.0.0.0/0" } { "dst": "0.0.0.0/0" }
] ]
@ -235,7 +235,7 @@ function prepare_plugin_test_args_network_conf() {
"ipMasq": true, "ipMasq": true,
"ipam": { "ipam": {
"type": "host-local", "type": "host-local",
"subnet": "$1", "subnet": "10.20.40.0/24",
"routes": [ "routes": [
{ "dst": "0.0.0.0/0" } { "dst": "0.0.0.0/0" }
] ]