From f57f15a9cb23ec6830eced3a1f302eb9f552aea1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 30 Mar 2019 16:51:34 +0100 Subject: [PATCH] Cleanup tables++ --- p4src/static-mapping.p4 | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index dbf3538..a768eec 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -200,27 +200,9 @@ Echo or Echo Reply Message key = { hdr.ipv6.dst_addr: lpm; } - actions = { /* FIXME: actions need to be updated */ + actions = controller_debug; - nat64_generic; - nat64_icmp6_echo_reply; - nat64_icmp6_echo_request; - controller_debug_table_id; - NoAction; - } - size = NAT64_TABLE_SIZE; - default_action = controller_debug_table_id(TABLE_NAT64); - } - - table nat64_icmp6 { - key = { - hdr.ipv6.dst_addr: lpm; - hdr.icmp6.type: exact; - } - actions = { - controller_debug; - nat64_icmp6_echo_reply; - nat64_icmp6_echo_request; + nat64_static; controller_debug_table_id; NoAction; }