Merge branch '2.1'

This commit is contained in:
Bryan Boreham committed 2017-12-18 11:25:30 +00:00
commit ba871d7855
3 files changed
+13 -2

No files matched your search

+8
View File
@@ -50,6 +50,14 @@
} }
], ],
"env": [ "env": [
{
"description": "Log level",
"name": "LOG_LEVEL",
"settable": [
"value"
],
"value": ""
},
{ {
"description": "Extra args to `weaver` and `plugin`", "description": "Extra args to `weaver` and `plugin`",
"name": "EXTRA_ARGS", "name": "EXTRA_ARGS",
+2 -1
View File
@@ -7,6 +7,7 @@ IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12}
HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784} HTTP_ADDR=${WEAVE_HTTP_ADDR:-127.0.0.1:6784}
STATUS_ADDR=${WEAVE_STATUS_ADDR:-0.0.0.0:6782} STATUS_ADDR=${WEAVE_STATUS_ADDR:-0.0.0.0:6782}
HOST_ROOT=${HOST_ROOT:-/host} HOST_ROOT=${HOST_ROOT:-/host}
LOG_LEVEL=${LOG_LEVEL:-info}
WEAVE_DIR="/host/var/lib/weave" WEAVE_DIR="/host/var/lib/weave"
mkdir $WEAVE_DIR || true mkdir $WEAVE_DIR || true
@@ -44,7 +45,7 @@ exec /home/weave/weaver $EXTRA_ARGS --port=6783 $(router_bridge_opts) \
--no-dns \ --no-dns \
--ipalloc-range=$IPALLOC_RANGE \ --ipalloc-range=$IPALLOC_RANGE \
--nickname "$(hostname)" \ --nickname "$(hostname)" \
--log-level=debug \ --log-level=$LOG_LEVEL \
--db-prefix="$WEAVE_DIR/weave" \ --db-prefix="$WEAVE_DIR/weave" \
--plugin-v2 \ --plugin-v2 \
$(multicast_opt) \ $(multicast_opt) \
+3 -1
View File
@@ -50,7 +50,7 @@ peers and their reachability can be obtained with
``` ```
$ weave status ipam $ weave status ipam
00:00:00:00:00:01(one) 349526 IPs (33.3% of total) 00:00:00:00:00:01(one) 349526 IPs (33.3% of total) (2 active)
00:00:00:00:00:02(two) 349525 IPs (33.3% of total) 00:00:00:00:00:02(two) 349525 IPs (33.3% of total)
00:00:00:00:00:03(three) 349525 IPs (33.3% of total) - unreachable! 00:00:00:00:00:03(three) 349525 IPs (33.3% of total) - unreachable!
``` ```
@@ -59,6 +59,8 @@ Columns are as follows:
* Peer Name and Nickname * Peer Name and Nickname
* Absolute quantity/percentage of allocation range managed by peer * Absolute quantity/percentage of allocation range managed by peer
* Active - number of IP addresses in use on that peer - this is only
available for the peer where you run the status command.
* Indication of unreachability. This means that the peer is not * Indication of unreachability. This means that the peer is not
visible (directly or indirectly) to the peer on which `weave status visible (directly or indirectly) to the peer on which `weave status
ipam` was run; whilst this could be a transient condition due to a ipam` was run; whilst this could be a transient condition due to a