summaryrefslogtreecommitdiffstats
path: root/node-admin/scripts
diff options
context:
space:
mode:
authorOyvind Bakksjo <bakksjo@yahoo-inc.com>2016-06-24 14:26:41 +0200
committerOyvind Bakksjo <bakksjo@yahoo-inc.com>2016-06-27 12:44:11 +0200
commitbaa79c174f301a28d50865961fc4d5ee82868c29 (patch)
treec96dcdb20a2213c4bbe51fbb40978496088094e4 /node-admin/scripts
parent0164f27cd56abef0e7a0d0f089915689c49b0ada (diff)
Added TODO for some fishy code (only used for local zone @Mac).
Diffstat (limited to 'node-admin/scripts')
-rwxr-xr-xnode-admin/scripts/configure-container-networking.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/node-admin/scripts/configure-container-networking.py b/node-admin/scripts/configure-container-networking.py
index 995f2b5c906..b23fcf70ebc 100755
--- a/node-admin/scripts/configure-container-networking.py
+++ b/node-admin/scripts/configure-container-networking.py
@@ -332,6 +332,7 @@ if local_mode:
pass
elif vm_mode:
# Set the default route to the IP of the host vespa interface (e.g. osx)
+ # TODO: What about idempotency? This does not check for existing. Re-does work every time.
container_ns.route("add", gateway=get_attribute(host_ip_best_match_for_container, 'IFA_ADDRESS'))
else:
# Set up default route/gateway in container.