Improve fabric.p4 to reduce pipeline resources and refactor pipeconf impl

This patch affects both the P4 pipeline implementation and the
Java pipeconf.

P4 PIPELINE
- Less tables and smarter use of metadata to reduce inter-tables
dependencies and favor parallel execution of tables.
- Removed unused actions / renamed existing ones to make forwarding
behavior clearer (e.g. ingress_port_vlan table)
- Remove co-existence of simple and hansed table. Hashed should be the
default one, but implementations that do not support action profiles
might compile fabric.p4 to use the simple one.
- Use @name annotations for match fields to make control plane
independent of table implementation.
- Use @hidden to avoid showing actions and table on the p4info that
cannot be controlled at runtime.
- First attempt to support double VLAN cross-connect (xconnect table).
- New design has been tested with "fabric-refactoring" branch of
fabric-p4test:
github.com/opennetworkinglab/fabric-p4test/tree/fabric-refactoring

JAVA PIPECONF
This patch brings a major refactoring that reflects the experience
gathered in the past months of working on fabric.p4 and reasoning on its
pipeconf implementation. Indeed, the FlowObjective API is
under-specified and sometimes ambiguous which makes the process of
creating and maintaining a pipeliner implementation tedious. This
refactoring brings a simplified implementation by removing unused/
unnecessary functionalities and by recognizing commonality when possible
(e.g. by means of abstract and utility classes). It also makes design
patterns more explicit and consistent. Overall, the goal is to reduce
technical debt and to make it easier to support new features as we
evolve fabric.p4

Changes include:
- Changes in pipeliner/interpreter to reflect new pipeline design.
- By default translate objective treatment to PiAction. This favors
debuggability of flow rules in ONOS.
- Support new NextObjective’s NextTreatment class.
- Remove lots of unused/unnecessary code (e.g. async callback handling
for pending objective install status in pipeliner as current
implementation was always returning success)
- Gather commonality in abstract classes and simplify implementation
for objective translator (filtering, forwarding, next)
- New implementation of ForwardingFunctionTypes (FFT) that looks at
criterion instance values along with their types (to avoid relying on
case-specific if-else conditions to recognize variants of an FFT)
- Adaptive translation of NextObjective based on presence of simple or
hashed table.
- Support DENY FilteringObjective

Also:
- Fix onos-p4-gen-constants to avoid generating conflicting
PiMatchFieldId variable names.
- Install Graphviz tools in p4vm to generate p4c graphs
- Generate p4c graphs by default when compiling fabric.p4
- Use more compact Hex string when printing PI values

Change-Id: Ife79e44054dc5bc48833f95d0551a7370150eac5
diff --git a/pipelines/fabric/src/main/resources/p4c-out/fabric-int/bmv2/default/p4info.txt b/pipelines/fabric/src/main/resources/p4c-out/fabric-int/bmv2/default/p4info.txt
index 6213234..6790d59 100644
--- a/pipelines/fabric/src/main/resources/p4c-out/fabric-int/bmv2/default/p4info.txt
+++ b/pipelines/fabric/src/main/resources/p4c-out/fabric-int/bmv2/default/p4info.txt
@@ -6,7 +6,7 @@
   }
   match_fields {
     id: 1
-    name: "standard_metadata.ingress_port"
+    name: "ig_port"
     bitwidth: 9
     match_type: EXACT
   }
@@ -14,12 +14,12 @@
     id: 16778827
   }
   action_refs {
-    id: 16800567
+    id: 16819938
     annotations: "@defaultonly()"
   }
+  const_default_action_id: 16819938
   direct_resource_ids: 318787614
   size: 511
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -29,38 +29,34 @@
   }
   match_fields {
     id: 1
-    name: "standard_metadata.ingress_port"
+    name: "ig_port"
     bitwidth: 9
     match_type: EXACT
   }
   match_fields {
     id: 2
-    name: "hdr.vlan_tag.is_valid"
+    name: "vlan_is_valid"
     bitwidth: 1
     match_type: EXACT
   }
   match_fields {
     id: 3
-    name: "hdr.vlan_tag.vlan_id"
+    name: "vlan_id"
     bitwidth: 12
     match_type: TERNARY
   }
   action_refs {
-    id: 16835546
+    id: 16836487
   }
   action_refs {
-    id: 16793253
+    id: 16818236
   }
   action_refs {
-    id: 16798734
+    id: 16794911
   }
-  action_refs {
-    id: 16833700
-  }
-  const_default_action_id: 16835546
+  const_default_action_id: 16836487
   direct_resource_ids: 318815501
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -70,19 +66,19 @@
   }
   match_fields {
     id: 1
-    name: "standard_metadata.ingress_port"
+    name: "ig_port"
     bitwidth: 9
     match_type: EXACT
   }
   match_fields {
     id: 2
-    name: "hdr.ethernet.dst_addr"
+    name: "eth_dst"
     bitwidth: 48
     match_type: TERNARY
   }
   match_fields {
     id: 3
-    name: "hdr.vlan_tag.ether_type"
+    name: "eth_type"
     bitwidth: 16
     match_type: EXACT
   }
@@ -92,7 +88,6 @@
   const_default_action_id: 16840921
   direct_resource_ids: 318827326
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -102,13 +97,13 @@
   }
   match_fields {
     id: 1
-    name: "hdr.vlan_tag.vlan_id"
+    name: "vlan_id"
     bitwidth: 12
     match_type: EXACT
   }
   match_fields {
     id: 2
-    name: "hdr.ethernet.dst_addr"
+    name: "eth_dst"
     bitwidth: 48
     match_type: TERNARY
   }
@@ -116,12 +111,12 @@
     id: 16811012
   }
   action_refs {
-    id: 16800567
+    id: 16819938
     annotations: "@defaultonly()"
   }
+  const_default_action_id: 16819938
   direct_resource_ids: 318770289
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -131,7 +126,7 @@
   }
   match_fields {
     id: 1
-    name: "hdr.mpls.label"
+    name: "mpls_label"
     bitwidth: 20
     match_type: EXACT
   }
@@ -139,12 +134,12 @@
     id: 16827758
   }
   action_refs {
-    id: 16800567
+    id: 16819938
     annotations: "@defaultonly()"
   }
+  const_default_action_id: 16819938
   direct_resource_ids: 318830507
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -154,7 +149,7 @@
   }
   match_fields {
     id: 1
-    name: "hdr.ipv4.dst_addr"
+    name: "ipv4_dst"
     bitwidth: 32
     match_type: LPM
   }
@@ -165,120 +160,119 @@
     id: 16804187
   }
   action_refs {
-    id: 16800567
+    id: 16819938
     annotations: "@defaultonly()"
   }
+  const_default_action_id: 16819938
   direct_resource_ids: 318811107
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
-    id: 33574876
-    name: "FabricIngress.forwarding.acl"
+    id: 33618978
+    name: "FabricIngress.acl.acl"
     alias: "acl"
   }
   match_fields {
     id: 1
-    name: "standard_metadata.ingress_port"
+    name: "ig_port"
     bitwidth: 9
     match_type: TERNARY
   }
   match_fields {
     id: 2
-    name: "fabric_metadata.ip_proto"
+    name: "ip_proto"
     bitwidth: 8
     match_type: TERNARY
   }
   match_fields {
     id: 3
-    name: "fabric_metadata.l4_src_port"
+    name: "l4_sport"
     bitwidth: 16
     match_type: TERNARY
   }
   match_fields {
     id: 4
-    name: "fabric_metadata.l4_dst_port"
+    name: "l4_dport"
     bitwidth: 16
     match_type: TERNARY
   }
   match_fields {
     id: 5
-    name: "hdr.ethernet.dst_addr"
+    name: "eth_src"
     bitwidth: 48
     match_type: TERNARY
   }
   match_fields {
     id: 6
-    name: "hdr.ethernet.src_addr"
+    name: "eth_dst"
     bitwidth: 48
     match_type: TERNARY
   }
   match_fields {
     id: 7
-    name: "hdr.vlan_tag.vlan_id"
+    name: "vlan_id"
     bitwidth: 12
     match_type: TERNARY
   }
   match_fields {
     id: 8
-    name: "hdr.vlan_tag.ether_type"
+    name: "eth_type"
     bitwidth: 16
     match_type: TERNARY
   }
   match_fields {
     id: 9
-    name: "hdr.ipv4.src_addr"
+    name: "ipv4_src"
     bitwidth: 32
     match_type: TERNARY
   }
   match_fields {
     id: 10
-    name: "hdr.ipv4.dst_addr"
+    name: "ipv4_dst"
     bitwidth: 32
     match_type: TERNARY
   }
   match_fields {
     id: 11
-    name: "hdr.icmp.icmp_type"
+    name: "icmp_type"
     bitwidth: 8
     match_type: TERNARY
   }
   match_fields {
     id: 12
-    name: "hdr.icmp.icmp_code"
+    name: "icmp_code"
     bitwidth: 8
     match_type: TERNARY
   }
   action_refs {
-    id: 16785374
+    id: 16807382
   }
   action_refs {
-    id: 16801806
+    id: 16829684
   }
   action_refs {
-    id: 16784835
+    id: 16790975
   }
   action_refs {
-    id: 16833260
+    id: 16820765
   }
   action_refs {
-    id: 16842570
+    id: 16827694
   }
-  const_default_action_id: 16842570
-  direct_resource_ids: 318772272
+  const_default_action_id: 16827694
+  direct_resource_ids: 318801025
   size: 128
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
-    id: 33562709
-    name: "FabricIngress.next.vlan_meta"
-    alias: "vlan_meta"
+    id: 33599709
+    name: "FabricIngress.next.next_vlan"
+    alias: "next_vlan"
   }
   match_fields {
     id: 1
-    name: "fabric_metadata.next_id"
+    name: "next_id"
     bitwidth: 32
     match_type: EXACT
   }
@@ -289,47 +283,41 @@
     id: 16819938
     annotations: "@defaultonly()"
   }
-  direct_resource_ids: 318785328
+  const_default_action_id: 16819938
+  direct_resource_ids: 318768144
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
-    id: 33571723
-    name: "FabricIngress.next.simple"
-    alias: "simple"
+    id: 33596977
+    name: "FabricIngress.next.xconnect"
+    alias: "xconnect"
   }
   match_fields {
     id: 1
-    name: "fabric_metadata.next_id"
+    name: "ig_port"
+    bitwidth: 9
+    match_type: EXACT
+  }
+  match_fields {
+    id: 2
+    name: "next_id"
     bitwidth: 32
     match_type: EXACT
   }
   action_refs {
-    id: 16802668
+    id: 16842190
   }
   action_refs {
-    id: 16808391
+    id: 16837052
   }
   action_refs {
-    id: 16780007
-  }
-  action_refs {
-    id: 16806134
-  }
-  action_refs {
-    id: 16795970
-  }
-  action_refs {
-    id: 16791579
-  }
-  action_refs {
-    id: 16800567
+    id: 16819938
     annotations: "@defaultonly()"
   }
-  direct_resource_ids: 318769096
+  const_default_action_id: 16819938
+  direct_resource_ids: 318778156
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -339,27 +327,27 @@
   }
   match_fields {
     id: 1
-    name: "fabric_metadata.next_id"
+    name: "next_id"
     bitwidth: 32
     match_type: EXACT
   }
   action_refs {
-    id: 16800211
+    id: 16815357
   }
   action_refs {
-    id: 16779239
+    id: 16791402
   }
   action_refs {
-    id: 16819349
+    id: 16779255
   }
   action_refs {
-    id: 16800567
+    id: 16819938
     annotations: "@defaultonly()"
   }
-  implementation_id: 285233747
+  const_default_action_id: 16819938
+  implementation_id: 285217164
   direct_resource_ids: 318800532
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -369,20 +357,20 @@
   }
   match_fields {
     id: 1
-    name: "fabric_metadata.next_id"
+    name: "next_id"
     bitwidth: 32
     match_type: EXACT
   }
   action_refs {
-    id: 16789575
+    id: 16779917
   }
   action_refs {
-    id: 16800567
+    id: 16819938
     annotations: "@defaultonly()"
   }
+  const_default_action_id: 16819938
   direct_resource_ids: 318801752
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -392,25 +380,25 @@
   }
   match_fields {
     id: 1
-    name: "hdr.ipv4.src_addr"
+    name: "ipv4_src"
     bitwidth: 32
     match_type: TERNARY
   }
   match_fields {
     id: 2
-    name: "hdr.ipv4.dst_addr"
+    name: "ipv4_dst"
     bitwidth: 32
     match_type: TERNARY
   }
   match_fields {
     id: 3
-    name: "fabric_metadata.l4_src_port"
+    name: "l4_sport"
     bitwidth: 16
     match_type: TERNARY
   }
   match_fields {
     id: 4
-    name: "fabric_metadata.l4_dst_port"
+    name: "l4_dport"
     bitwidth: 16
     match_type: TERNARY
   }
@@ -418,12 +406,12 @@
     id: 16785857
   }
   action_refs {
-    id: 16800567
+    id: 16819938
     annotations: "@defaultonly()"
   }
+  const_default_action_id: 16819938
   direct_resource_ids: 318800047
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
 }
 tables {
   preamble {
@@ -433,7 +421,7 @@
   }
   match_fields {
     id: 1
-    name: "hdr.int_header.is_valid"
+    name: "int_is_valid"
     bitwidth: 1
     match_type: EXACT
   }
@@ -446,143 +434,6 @@
   }
   const_default_action_id: 16819938
   size: 1
-  idle_timeout_behavior: NO_TIMEOUT
-}
-tables {
-  preamble {
-    id: 33569467
-    name: "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0003"
-    alias: "tb_int_inst_0003"
-  }
-  match_fields {
-    id: 1
-    name: "hdr.int_header.instruction_mask_0003"
-    bitwidth: 4
-    match_type: EXACT
-  }
-  action_refs {
-    id: 16809886
-  }
-  action_refs {
-    id: 16783130
-  }
-  action_refs {
-    id: 16809096
-  }
-  action_refs {
-    id: 16834117
-  }
-  action_refs {
-    id: 16825314
-  }
-  action_refs {
-    id: 16811436
-  }
-  action_refs {
-    id: 16802199
-  }
-  action_refs {
-    id: 16796779
-  }
-  action_refs {
-    id: 16787676
-  }
-  action_refs {
-    id: 16825351
-  }
-  action_refs {
-    id: 16793999
-  }
-  action_refs {
-    id: 16786714
-  }
-  action_refs {
-    id: 16814203
-  }
-  action_refs {
-    id: 16807054
-  }
-  action_refs {
-    id: 16800064
-  }
-  action_refs {
-    id: 16792997
-  }
-  action_refs {
-    id: 16800567
-    annotations: "@defaultonly()"
-  }
-  size: 16
-  idle_timeout_behavior: NO_TIMEOUT
-  is_const_table: true
-}
-tables {
-  preamble {
-    id: 33595914
-    name: "FabricEgress.process_int_main.process_int_transit.tb_int_inst_0407"
-    alias: "tb_int_inst_0407"
-  }
-  match_fields {
-    id: 1
-    name: "hdr.int_header.instruction_mask_0407"
-    bitwidth: 4
-    match_type: EXACT
-  }
-  action_refs {
-    id: 16819022
-  }
-  action_refs {
-    id: 16804144
-  }
-  action_refs {
-    id: 16829117
-  }
-  action_refs {
-    id: 16797781
-  }
-  action_refs {
-    id: 16813543
-  }
-  action_refs {
-    id: 16824974
-  }
-  action_refs {
-    id: 16815362
-  }
-  action_refs {
-    id: 16835399
-  }
-  action_refs {
-    id: 16834505
-  }
-  action_refs {
-    id: 16811493
-  }
-  action_refs {
-    id: 16825476
-  }
-  action_refs {
-    id: 16799777
-  }
-  action_refs {
-    id: 16829592
-  }
-  action_refs {
-    id: 16805877
-  }
-  action_refs {
-    id: 16780182
-  }
-  action_refs {
-    id: 16799476
-  }
-  action_refs {
-    id: 16800567
-    annotations: "@defaultonly()"
-  }
-  size: 16
-  idle_timeout_behavior: NO_TIMEOUT
-  is_const_table: true
 }
 tables {
   preamble {
@@ -592,13 +443,13 @@
   }
   match_fields {
     id: 1
-    name: "hdr.vlan_tag.vlan_id"
+    name: "vlan_id"
     bitwidth: 12
     match_type: EXACT
   }
   match_fields {
     id: 2
-    name: "standard_metadata.egress_port"
+    name: "eg_port"
     bitwidth: 9
     match_type: EXACT
   }
@@ -609,16 +460,9 @@
     id: 16819938
     annotations: "@defaultonly()"
   }
+  const_default_action_id: 16819938
   direct_resource_ids: 318827144
   size: 1024
-  idle_timeout_behavior: NO_TIMEOUT
-}
-actions {
-  preamble {
-    id: 16800567
-    name: "NoAction"
-    alias: "NoAction"
-  }
 }
 actions {
   preamble {
@@ -636,44 +480,32 @@
 }
 actions {
   preamble {
-    id: 16798734
-    name: "FabricIngress.filtering.drop"
-    alias: "filtering.drop"
+    id: 16836487
+    name: "FabricIngress.filtering.deny"
+    alias: "deny"
   }
 }
 actions {
   preamble {
-    id: 16793253
-    name: "FabricIngress.filtering.set_vlan"
-    alias: "filtering.set_vlan"
+    id: 16818236
+    name: "FabricIngress.filtering.permit"
+    alias: "permit"
+  }
+}
+actions {
+  preamble {
+    id: 16794911
+    name: "FabricIngress.filtering.permit_with_internal_vlan"
+    alias: "permit_with_internal_vlan"
   }
   params {
     id: 1
-    name: "new_vlan_id"
+    name: "vlan_id"
     bitwidth: 12
   }
 }
 actions {
   preamble {
-    id: 16835546
-    name: "FabricIngress.filtering.push_internal_vlan"
-    alias: "push_internal_vlan"
-  }
-  params {
-    id: 1
-    name: "new_vlan_id"
-    bitwidth: 12
-  }
-}
-actions {
-  preamble {
-    id: 16833700
-    name: "FabricIngress.filtering.nop_ingress_port_vlan"
-    alias: "nop_ingress_port_vlan"
-  }
-}
-actions {
-  preamble {
     id: 16840921
     name: "FabricIngress.filtering.set_forwarding_type"
     alias: "set_forwarding_type"
@@ -729,8 +561,8 @@
 }
 actions {
   preamble {
-    id: 16785374
-    name: "FabricIngress.forwarding.set_next_id_acl"
+    id: 16807382
+    name: "FabricIngress.acl.set_next_id_acl"
     alias: "set_next_id_acl"
   }
   params {
@@ -741,29 +573,29 @@
 }
 actions {
   preamble {
-    id: 16801806
-    name: "FabricIngress.forwarding.punt_to_cpu"
+    id: 16829684
+    name: "FabricIngress.acl.punt_to_cpu"
     alias: "punt_to_cpu"
   }
 }
 actions {
   preamble {
-    id: 16784835
-    name: "FabricIngress.forwarding.clone_to_cpu"
+    id: 16790975
+    name: "FabricIngress.acl.clone_to_cpu"
     alias: "clone_to_cpu"
   }
 }
 actions {
   preamble {
-    id: 16833260
-    name: "FabricIngress.forwarding.drop"
-    alias: "forwarding.drop"
+    id: 16820765
+    name: "FabricIngress.acl.drop"
+    alias: "drop"
   }
 }
 actions {
   preamble {
-    id: 16842570
-    name: "FabricIngress.forwarding.nop_acl"
+    id: 16827694
+    name: "FabricIngress.acl.nop_acl"
     alias: "nop_acl"
   }
 }
@@ -771,19 +603,19 @@
   preamble {
     id: 16790685
     name: "FabricIngress.next.set_vlan"
-    alias: "next.set_vlan"
+    alias: "set_vlan"
   }
   params {
     id: 1
-    name: "new_vlan_id"
+    name: "vlan_id"
     bitwidth: 12
   }
 }
 actions {
   preamble {
-    id: 16802668
-    name: "FabricIngress.next.output_simple"
-    alias: "output_simple"
+    id: 16842190
+    name: "FabricIngress.next.output_xconnect"
+    alias: "output_xconnect"
   }
   params {
     id: 1
@@ -793,26 +625,33 @@
 }
 actions {
   preamble {
-    id: 16808391
-    name: "FabricIngress.next.set_vlan_output"
-    alias: "set_vlan_output"
+    id: 16837052
+    name: "FabricIngress.next.set_next_id_xconnect"
+    alias: "set_next_id_xconnect"
   }
   params {
     id: 1
-    name: "new_vlan_id"
-    bitwidth: 12
+    name: "next_id"
+    bitwidth: 32
+  }
+}
+actions {
+  preamble {
+    id: 16815357
+    name: "FabricIngress.next.output_hashed"
+    alias: "output_hashed"
   }
   params {
-    id: 2
+    id: 1
     name: "port_num"
     bitwidth: 9
   }
 }
 actions {
   preamble {
-    id: 16780007
-    name: "FabricIngress.next.l3_routing_simple"
-    alias: "l3_routing_simple"
+    id: 16791402
+    name: "FabricIngress.next.routing_hashed"
+    alias: "routing_hashed"
   }
   params {
     id: 1
@@ -832,9 +671,9 @@
 }
 actions {
   preamble {
-    id: 16806134
-    name: "FabricIngress.next.mpls_routing_v4_simple"
-    alias: "mpls_routing_v4_simple"
+    id: 16779255
+    name: "FabricIngress.next.mpls_routing_hashed"
+    alias: "mpls_routing_hashed"
   }
   params {
     id: 1
@@ -859,151 +698,21 @@
 }
 actions {
   preamble {
-    id: 16795970
-    name: "FabricIngress.next.mpls_routing_v6_simple"
-    alias: "mpls_routing_v6_simple"
+    id: 16779917
+    name: "FabricIngress.next.set_mcast_group_id"
+    alias: "set_mcast_group_id"
   }
   params {
     id: 1
-    name: "port_num"
-    bitwidth: 9
-  }
-  params {
-    id: 2
-    name: "smac"
-    bitwidth: 48
-  }
-  params {
-    id: 3
-    name: "dmac"
-    bitwidth: 48
-  }
-  params {
-    id: 4
-    name: "label"
-    bitwidth: 20
-  }
-}
-actions {
-  preamble {
-    id: 16791579
-    name: "FabricIngress.next.l3_routing_vlan"
-    alias: "l3_routing_vlan"
-  }
-  params {
-    id: 1
-    name: "port_num"
-    bitwidth: 9
-  }
-  params {
-    id: 2
-    name: "smac"
-    bitwidth: 48
-  }
-  params {
-    id: 3
-    name: "dmac"
-    bitwidth: 48
-  }
-  params {
-    id: 4
-    name: "new_vlan_id"
-    bitwidth: 12
-  }
-}
-actions {
-  preamble {
-    id: 16800211
-    name: "FabricIngress.next.l3_routing_hashed"
-    alias: "l3_routing_hashed"
-  }
-  params {
-    id: 1
-    name: "port_num"
-    bitwidth: 9
-  }
-  params {
-    id: 2
-    name: "smac"
-    bitwidth: 48
-  }
-  params {
-    id: 3
-    name: "dmac"
-    bitwidth: 48
-  }
-}
-actions {
-  preamble {
-    id: 16779239
-    name: "FabricIngress.next.mpls_routing_v4_hashed"
-    alias: "mpls_routing_v4_hashed"
-  }
-  params {
-    id: 1
-    name: "port_num"
-    bitwidth: 9
-  }
-  params {
-    id: 2
-    name: "smac"
-    bitwidth: 48
-  }
-  params {
-    id: 3
-    name: "dmac"
-    bitwidth: 48
-  }
-  params {
-    id: 4
-    name: "label"
-    bitwidth: 20
-  }
-}
-actions {
-  preamble {
-    id: 16819349
-    name: "FabricIngress.next.mpls_routing_v6_hashed"
-    alias: "mpls_routing_v6_hashed"
-  }
-  params {
-    id: 1
-    name: "port_num"
-    bitwidth: 9
-  }
-  params {
-    id: 2
-    name: "smac"
-    bitwidth: 48
-  }
-  params {
-    id: 3
-    name: "dmac"
-    bitwidth: 48
-  }
-  params {
-    id: 4
-    name: "label"
-    bitwidth: 20
-  }
-}
-actions {
-  preamble {
-    id: 16789575
-    name: "FabricIngress.next.set_mcast_group"
-    alias: "set_mcast_group"
-  }
-  params {
-    id: 1
-    name: "gid"
+    name: "group_id"
     bitwidth: 16
   }
 }
 actions {
   preamble {
-    id: 16823970
-    name: "drop_now"
-    alias: "drop_now"
+    id: 16800567
+    name: "NoAction"
+    alias: "NoAction"
   }
 }
 actions {
@@ -1047,247 +756,16 @@
 }
 actions {
   preamble {
-    id: 16809886
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i0"
-    alias: "int_set_header_0003_i0"
-  }
-}
-actions {
-  preamble {
-    id: 16783130
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i1"
-    alias: "int_set_header_0003_i1"
-  }
-}
-actions {
-  preamble {
-    id: 16809096
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i2"
-    alias: "int_set_header_0003_i2"
-  }
-}
-actions {
-  preamble {
-    id: 16834117
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i3"
-    alias: "int_set_header_0003_i3"
-  }
-}
-actions {
-  preamble {
-    id: 16825314
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i4"
-    alias: "int_set_header_0003_i4"
-  }
-}
-actions {
-  preamble {
-    id: 16811436
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i5"
-    alias: "int_set_header_0003_i5"
-  }
-}
-actions {
-  preamble {
-    id: 16802199
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i6"
-    alias: "int_set_header_0003_i6"
-  }
-}
-actions {
-  preamble {
-    id: 16796779
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i7"
-    alias: "int_set_header_0003_i7"
-  }
-}
-actions {
-  preamble {
-    id: 16787676
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i8"
-    alias: "int_set_header_0003_i8"
-  }
-}
-actions {
-  preamble {
-    id: 16825351
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i9"
-    alias: "int_set_header_0003_i9"
-  }
-}
-actions {
-  preamble {
-    id: 16793999
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i10"
-    alias: "int_set_header_0003_i10"
-  }
-}
-actions {
-  preamble {
-    id: 16786714
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i11"
-    alias: "int_set_header_0003_i11"
-  }
-}
-actions {
-  preamble {
-    id: 16814203
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i12"
-    alias: "int_set_header_0003_i12"
-  }
-}
-actions {
-  preamble {
-    id: 16807054
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i13"
-    alias: "int_set_header_0003_i13"
-  }
-}
-actions {
-  preamble {
-    id: 16800064
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i14"
-    alias: "int_set_header_0003_i14"
-  }
-}
-actions {
-  preamble {
-    id: 16792997
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0003_i15"
-    alias: "int_set_header_0003_i15"
-  }
-}
-actions {
-  preamble {
-    id: 16819022
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i0"
-    alias: "int_set_header_0407_i0"
-  }
-}
-actions {
-  preamble {
-    id: 16804144
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i1"
-    alias: "int_set_header_0407_i1"
-  }
-}
-actions {
-  preamble {
-    id: 16829117
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i2"
-    alias: "int_set_header_0407_i2"
-  }
-}
-actions {
-  preamble {
-    id: 16797781
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i3"
-    alias: "int_set_header_0407_i3"
-  }
-}
-actions {
-  preamble {
-    id: 16813543
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i4"
-    alias: "int_set_header_0407_i4"
-  }
-}
-actions {
-  preamble {
-    id: 16824974
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i5"
-    alias: "int_set_header_0407_i5"
-  }
-}
-actions {
-  preamble {
-    id: 16815362
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i6"
-    alias: "int_set_header_0407_i6"
-  }
-}
-actions {
-  preamble {
-    id: 16835399
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i7"
-    alias: "int_set_header_0407_i7"
-  }
-}
-actions {
-  preamble {
-    id: 16834505
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i8"
-    alias: "int_set_header_0407_i8"
-  }
-}
-actions {
-  preamble {
-    id: 16811493
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i9"
-    alias: "int_set_header_0407_i9"
-  }
-}
-actions {
-  preamble {
-    id: 16825476
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i10"
-    alias: "int_set_header_0407_i10"
-  }
-}
-actions {
-  preamble {
-    id: 16799777
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i11"
-    alias: "int_set_header_0407_i11"
-  }
-}
-actions {
-  preamble {
-    id: 16829592
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i12"
-    alias: "int_set_header_0407_i12"
-  }
-}
-actions {
-  preamble {
-    id: 16805877
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i13"
-    alias: "int_set_header_0407_i13"
-  }
-}
-actions {
-  preamble {
-    id: 16780182
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i14"
-    alias: "int_set_header_0407_i14"
-  }
-}
-actions {
-  preamble {
-    id: 16799476
-    name: "FabricEgress.process_int_main.process_int_transit.int_set_header_0407_i15"
-    alias: "int_set_header_0407_i15"
-  }
-}
-actions {
-  preamble {
-    id: 16801047
-    name: "FabricEgress.pkt_io_egress.pop_vlan"
-    alias: "pkt_io_egress.pop_vlan"
-  }
-}
-actions {
-  preamble {
     id: 16790030
     name: "FabricEgress.egress_next.pop_vlan"
-    alias: "egress_next.pop_vlan"
+    alias: "pop_vlan"
   }
 }
 action_profiles {
   preamble {
-    id: 285233747
-    name: "FabricIngress.next.ecmp_selector"
-    alias: "ecmp_selector"
+    id: 285217164
+    name: "FabricIngress.next.hashed_selector"
+    alias: "hashed_selector"
   }
   table_ids: 33608588
   with_selector: true
@@ -1383,36 +861,36 @@
 }
 direct_counters {
   preamble {
-    id: 318772272
-    name: "FabricIngress.forwarding.acl_counter"
+    id: 318801025
+    name: "FabricIngress.acl.acl_counter"
     alias: "acl_counter"
   }
   spec {
     unit: BOTH
   }
-  direct_table_id: 33574876
+  direct_table_id: 33618978
 }
 direct_counters {
   preamble {
-    id: 318785328
-    name: "FabricIngress.next.vlan_meta_counter"
-    alias: "vlan_meta_counter"
+    id: 318768144
+    name: "FabricIngress.next.next_vlan_counter"
+    alias: "next_vlan_counter"
   }
   spec {
     unit: BOTH
   }
-  direct_table_id: 33562709
+  direct_table_id: 33599709
 }
 direct_counters {
   preamble {
-    id: 318769096
-    name: "FabricIngress.next.simple_counter"
-    alias: "simple_counter"
+    id: 318778156
+    name: "FabricIngress.next.xconnect_counter"
+    alias: "xconnect_counter"
   }
   spec {
     unit: BOTH
   }
-  direct_table_id: 33571723
+  direct_table_id: 33596977
 }
 direct_counters {
   preamble {