ONOS-7251 - Initial implementation of fabric.p4 L2 broadcast feature.
Thrift client cherry-picked from the commit dd5792ac9ee38a702c3128a34224852b5c284687
Change-Id: I989f2b2074485a892195889a7c976b518510da88
diff --git a/pipelines/fabric/src/main/resources/include/control/next.p4 b/pipelines/fabric/src/main/resources/include/control/next.p4
index 65f9375..0b22ca1 100644
--- a/pipelines/fabric/src/main/resources/include/control/next.p4
+++ b/pipelines/fabric/src/main/resources/include/control/next.p4
@@ -141,13 +141,11 @@
counters = hashed_counter;
}
-#ifdef WITH_MULTICAST
/*
* Work in progress
*/
- action set_mcast_group(group_id_t gid, mac_addr_t smac) {
+ action set_mcast_group(group_id_t gid) {
standard_metadata.mcast_grp = gid;
- rewrite_smac(smac);
}
direct_counter(CounterType.packets_and_bytes) multicast_counter;
@@ -161,7 +159,6 @@
}
counters = multicast_counter;
}
-#endif // WITH_MULTICAST
apply {
vlan_meta.apply();
@@ -178,9 +175,7 @@
}
}
hashed.apply();
-#ifdef WITH_MULTICAST
multicast.apply();
-#endif // WITH_MULTICAST
}
}