Remove comment

This commit is contained in:
Nico Schottelius 2019-03-25 12:14:35 +01:00
parent 6e40043c71
commit ad19b5ac4b

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