From c02cb45c6c7cbacae898746296a82efcbc5103b4 Mon Sep 17 00:00:00 2001 From: "Vitaliy V. Shopov" Date: Sat, 17 Jun 2017 10:34:49 +1000 Subject: [PATCH] Ability to set IPALLOC_RANGE via plugin-v2 configuration parameters --- prog/net-plugin/config.json | 8 ++++++++ site/plugin-v2.md | 3 +++ 2 files changed, 11 insertions(+) diff --git a/prog/net-plugin/config.json b/prog/net-plugin/config.json index c51d564f..bb6fcddd 100644 --- a/prog/net-plugin/config.json +++ b/prog/net-plugin/config.json @@ -74,6 +74,14 @@ "value" ], "value": "" + }, + { + "description": "The range of IP addresses used by Weave Net", + "name": "IPALLOC_RANGE", + "settable": [ + "value" + ], + "value": "" } ], "network": { diff --git a/site/plugin-v2.md b/site/plugin-v2.md index afacbc72..00bfdc91 100644 --- a/site/plugin-v2.md +++ b/site/plugin-v2.md @@ -43,6 +43,9 @@ The parameters include: a larger size for better performance if your network supports jumbo frames - see [here](/site/using-weave/fastdp.md#mtu) for more details. +* `IPALLOC_RANGE` - the range of IP addresses used by Weave Net and the subnet + they are placed in (CIDR format; default 10.32.0.0/12). + See [here](/site/using-weave/configuring-weave.md) for more details. Before setting any parameter, the plugin has to be disabled with: