From ad19b5ac4b9e3ffa0bac058831188f21a37a6454 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 25 Mar 2019 12:14:35 +0100 Subject: [PATCH] Remove comment --- p4app/controller.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/p4app/controller.py b/p4app/controller.py index 5e04fd9..47a4fcb 100755 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -257,23 +257,22 @@ class L2Controller(object): LPM support in P4 This could be solved with ternary matches or smart double table usage - """ log.info("NAT64 map: ({} -> {} => {}), ({} -> {} -> {} (only /24)))".format( v6_src, v6_dst, v4_dst, v4_src, v4_dst, v6_src) - self.controller.table_add("nat64", "nat64_static", # [str(v6_src) + self.controller.table_add("nat64", "nat64_static", [str(v6_dst)], [str(v6_src.network_address), str(v4_dst.network_address), str(v6_dst.network_address)] ) - self.controller.table_add("nat46", "nat46_static", # [str(v4_src) + self.controller.table_add("nat46", "nat46_static", [str(v4_dst)], [str(v6_src.network_address), str(v4_dst.network_address),