Remove comment

This commit is contained in:
Nico Schottelius 2019-03-25 12:14:35 +01:00
parent 6e40043c71
commit ad19b5ac4b
1 changed files with 2 additions and 3 deletions

View File

@ -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),