Skip to content

Commit

Permalink
rename erspanv6 production feature to ERSPANV6_MIRRORING
Browse files Browse the repository at this point in the history
Summary:
As titled, rename erspanv6 production feature to ERSPANV6_MIRRORING

Let us explicitly capture the mirroring support in prod features. Towards enabling sflow and mirror tests as I will be adding more prod features for trunk/acl mirroring

Reviewed By: nivinl

Differential Revision: D68535242

fbshipit-source-id: ca22bafbe6c156fb071ab934f97dd580dc65d367
  • Loading branch information
srikrishnagopu authored and facebook-github-bot committed Jan 23, 2025
1 parent 7208df7 commit 05d71c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fboss/agent/test/agent_hw_tests/AgentMirroringScaleTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ class AgentMirroringScaleTest : public AgentHwTest {
value) {
if constexpr (MirrorT::mirrorType == MirrorType::INGRESS_ERSPAN) {
return {
production_features::ProductionFeature::ERSPANv6,
production_features::ProductionFeature::ERSPANV6_MIRRORING,
production_features::ProductionFeature::INGRESS_MIRRORING};
}
if constexpr (MirrorT::mirrorType == MirrorType::EGRESS_ERSPAN) {
return {
production_features::ProductionFeature::ERSPANv6,
production_features::ProductionFeature::ERSPANV6_MIRRORING,
production_features::ProductionFeature::EGRESS_MIRRORING};
}
}
Expand Down
3 changes: 2 additions & 1 deletion fboss/agent/test/production_features.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ enum ProductionFeature {
PAUSE = 50,
SEPARATE_INGRESS_EGRESS_BUFFER_POOL = 51,
NIF_POLICER = 52,
ERSPANv6 = 53,
ERSPANV6_MIRRORING = 53,
IP_IN_IP_DECAP = 54,

# production feature which is present on all platforms, keep it at the end
HW_SWITCH = 65536,
}
Expand Down

0 comments on commit 05d71c8

Please sign in to comment.