Remove comment
This commit is contained in:
parent
6e40043c71
commit
ad19b5ac4b
1 changed files with 2 additions and 3 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue