From 4ac6a49688a441cf3b5832fd8562186d36106fe1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 31 Mar 2019 10:55:33 +0200 Subject: [PATCH] ++ info for ipv4 host --- p4app/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p4app/controller.py b/p4app/controller.py index 4c9ca91..296781f 100755 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -327,7 +327,7 @@ class L2Controller(object): @staticmethod def config_v4_host(host, net, ipaddr, dev, router=None): - log.debug("Config v4 host: {} {}->{} on {}".format(host, net, ipaddr, dev)) + log.debug("Config v4 host: {} {}->{} on {} via {}".format(host, net, ipaddr, dev, router)) subprocess.call(["mx", host, "ip", "addr", "flush", "dev", dev]) subprocess.call(["mx", host, "ip", "route", "del", "default"])