Skip to content

Darwin: bsp mapping#420

Open
aalamsi22 wants to merge 4 commits into
facebook:mainfrom
aalamsi22:darwin_bsp_mapping
Open

Darwin: bsp mapping#420
aalamsi22 wants to merge 4 commits into
facebook:mainfrom
aalamsi22:darwin_bsp_mapping

Conversation

@aalamsi22

Copy link
Copy Markdown
Contributor

Description

  • Added Darwin bsp mapping.
  • Added Darwin BSP LED Manager. fboss/led_service/oss/DarwinLedManager.cpp still exists, it wasn't removed as its unknown what the side effects are on non-oss systems.
  • Updated WedgeManagerInit.cpp to create an instance of BspWedgeManager for Darwin.
  • Added Darwin wedge_qsfp_util support

Depends on:

Testing

sai agent hwtests

Test Name,Result
cold_boot.Agent2QueueToOlympicQoSTest.verifyDscpToQueueMapping,OK
cold_boot.AgentCoppTest/0.LocalDstIpBgpPortToHighPriQ,OK
cold_boot.AgentCoppTest/0.LocalDstIpNonBgpPortToMidPriQ,OK
cold_boot.AgentCoppTest/0.Ipv6LinkLocalMcastToMidPriQ,OK
cold_boot.AgentCoppTest/0.Ipv6LinkLocalMcastTxFromCpu,OK
cold_boot.AgentCoppTest/0.Ipv6LinkLocalUcastToMidPriQ,OK
cold_boot.AgentCoppTest/0.SlowProtocolsMacToHighPriQ,OK
cold_boot.AgentCoppTest/0.DstIpNetworkControlDscpToHighPriQ,OK
cold_boot.AgentCoppTest/0.CpuPortIpv6LinkLocalUcastIp,OK
cold_boot.AgentCoppTest/0.Ipv6LinkLocalMcastNetworkControlDscpToHighPriQ,OK
cold_boot.AgentCoppTest/0.ArpRequestAndReplyToHighPriQ,OK
cold_boot.AgentCoppTest/0.NdpSolicitationToHighPriQ,OK
cold_boot.AgentCoppTest/0.NdpSolicitNeighbor,OK
cold_boot.AgentCoppTest/0.NdpAdvertisementToHighPriQ,OK
cold_boot.AgentCoppTest/0.UnresolvedRoutesToLowPriQueue,OK
cold_boot.AgentCoppTest/0.JumboFramesToQueues,OK
cold_boot.AgentCoppTest/0.LldpProtocolToMidPriQ,OK
cold_boot.AgentCoppTest/0.Ttl1PacketToLowPriQ,OK
cold_boot.AgentCoppTest/0.DHCPv6SolicitToMidPriQ,OK
cold_boot.AgentCoppTest/0.DHCPv6AdvertiseToMidPriQ,OK
cold_boot.AgentCoppTest/1.LocalDstIpBgpPortToHighPriQ,OK
cold_boot.AgentCoppTest/1.LocalDstIpNonBgpPortToMidPriQ,OK
cold_boot.AgentCoppTest/1.Ipv6LinkLocalMcastToMidPriQ,OK
cold_boot.AgentCoppTest/1.Ipv6LinkLocalMcastTxFromCpu,OK
cold_boot.AgentCoppTest/1.Ipv6LinkLocalUcastToMidPriQ,OK
cold_boot.AgentCoppTest/1.SlowProtocolsMacToHighPriQ,OK
cold_boot.AgentCoppTest/1.DstIpNetworkControlDscpToHighPriQ,OK
cold_boot.AgentCoppTest/1.CpuPortIpv6LinkLocalUcastIp,OK
cold_boot.AgentCoppTest/1.Ipv6LinkLocalMcastNetworkControlDscpToHighPriQ,OK
cold_boot.AgentCoppTest/1.ArpRequestAndReplyToHighPriQ,OK
cold_boot.AgentCoppTest/1.NdpSolicitationToHighPriQ,OK
cold_boot.AgentCoppTest/1.NdpSolicitNeighbor,OK
cold_boot.AgentCoppTest/1.NdpAdvertisementToHighPriQ,OK
cold_boot.AgentCoppTest/1.UnresolvedRoutesToLowPriQueue,OK
cold_boot.AgentCoppTest/1.JumboFramesToQueues,OK
cold_boot.AgentCoppTest/1.LldpProtocolToMidPriQ,OK
cold_boot.AgentCoppTest/1.Ttl1PacketToLowPriQ,OK
cold_boot.AgentCoppTest/1.DHCPv6SolicitToMidPriQ,OK
cold_boot.AgentCoppTest/1.DHCPv6AdvertiseToMidPriQ,OK
cold_boot.AgentCoppPortMtuTest/0.PortMTUErrorToLowPriQ,FAILED
cold_boot.AgentCoppPortMtuTest/1.PortMTUErrorToLowPriQ,FAILED
cold_boot.AgentCoppEapolTest/0.EapolToHighPriQ,FAILED
cold_boot.AgentCoppEapolTest/1.EapolToHighPriQ,FAILED
cold_boot.AgentDscpMarkingTest.VerifyDscpMarking,OK
cold_boot.AgentDscpQueueMappingTest.VerifyDscpQueueMapping,OK
cold_boot.AgentAclAndDscpQueueMappingTest.VerifyAclAndQosMap,OK
cold_boot.AgentAclConflictAndDscpQueueMappingTest.VerifyAclAndQosMapConflict,OK
cold_boot.AgentDiagShellStressTest.stressDiagCmds,TIMEOUT
cold_boot.AgentEcmpTestWithWBWrites.L2ResolveOneNhopThenLinkDownThenUp,OK
cold_boot.AgentEcmpTest.ecmpToDropToEcmp,OK
cold_boot.AgentEcmpTest.L2ResolveOneNhopThenLinkDownThenUpThenL2ResolveNhop,OK
cold_boot.AgentEcmpTest.L2UnresolvedNhopsECMPInHWEmpty,OK
cold_boot.AgentWideEcmpTest.WideUcmpUnderflow,OK
cold_boot.AgentWideEcmpTest.WideUcmpCheckMultipleSlotUnderflow,OK
cold_boot.Agent256WideEcmpTest.WideUcmp256WidthUnderflow,OK
cold_boot.AgentEcmpNeighborTest/0.ResolvePendingResolveNexthop,OK
cold_boot.AgentEcmpNeighborTest/1.ResolvePendingResolveNexthop,OK
cold_boot.AgentUcmpTest.UcmpOverflowZero,OK
cold_boot.AgentUcmpTest.UcmpOverflowZeroNotEnoughToRoundUp,OK
cold_boot.AgentUcmpTest.UcmpRoutesWithSameNextHopsDifferentWeights,OK
cold_boot.AgentUcmpTest.UcmpL2ResolveAllNhopsInThenLinkDown,OK
cold_boot.AgentUcmpTest.UcmpL2ResolveBothNhopsInThenLinkFlap,OK
cold_boot.AgentEmptyTest.CheckInit,OK
cold_boot.AgentEgressForwardingDiscardsCounterTest.outForwardingDiscards,FAILED
cold_boot.AgentRouteOverDifferentAddressFamilyNhopTest.v4RouteV6Nhops,OK
cold_boot.AgentRouteOverDifferentAddressFamilyNhopTest.v4RouteV6LinkLocalNhops,OK
cold_boot.AgentRouteOverDifferentAddressFamilyNhopTest.v6RouteV4Nhops,OK
cold_boot.AgentAclInDiscardsCounterTest.aclInDiscards,FAILED
cold_boot.AgentJumboFramesTest.JumboFramesGetThrough,OK
cold_boot.AgentJumboFramesTest.SuperJumboFramesGetDropped,OK
cold_boot.AgentIngressBufferTest.validateConfig,OK
cold_boot.AgentIngressBufferTest.validatePgNoPfc,OK
cold_boot.AgentIngressBufferTest.validateHighBufferValues,OK
cold_boot.AgentIngressBufferTest.validateLossyMode,OK
cold_boot.AgentIngressBufferTest.validatePGQueueChanges,OK
cold_boot.AgentInNullRouteDiscardsCounterTest.nullRouteHit,OK
cold_boot.AgentInTrapDiscardsCounterTest.trapDrops,FAILED
cold_boot.AgentPacketSendTest.LldpToFrontPanelOutOfPort,OK
cold_boot.AgentPacketSendTest.LldpToFrontPanelOutOfPortWithBufClone,OK
cold_boot.AgentPacketSendTest.PortTxEnableTest,OK
cold_boot.AgentPacketSendReceiveTest.LldpPacketReceiveSrcPort,OK
cold_boot.AgentPacketSendReceiveLagTest.LacpPacketReceiveSrcPort,OK
cold_boot.AgentSwitchedPacketSendTest.ArpRequestToFrontPanelPortSwitched,OK
cold_boot.AgentL3ForwardingTest.linkLocalNeighborAndNextHop,OK
cold_boot.AgentL3ForwardingTest.ttl255,OK
cold_boot.AgentL4PortBlackHolingTest.v6UDP,OK
cold_boot.AgentL4PortBlackHolingTest.v4UDP,OK
cold_boot.AgentMacLearningStaticEntriesTest.VerifyStaticMacEntryAdd,OK
cold_boot.AgentMacLearningAndMyStationInteractionTestHw.verifyInteractionHwMacLearning,OK
cold_boot.AgentMacLearningAndMyStationInteractionTestSw.verifyInteractionSwMacLearning,OK
cold_boot.AgentMacSwLearningModeTest.VerifySwLearningForPort,OK
cold_boot.AgentMacSwLearningModeTest.VerifySwLearningForPortNoCycle,OK
cold_boot.AgentMacSwLearningModeTest.VerifySwLearningForTrunk,OK
cold_boot.AgentMacSwLearningModeTest.VerifySwAgingForPort,OK
cold_boot.AgentMacSwLearningModeTest.VerifySwAgingForTrunk,OK
cold_boot.AgentMacSwLearningModeTest.VerifyCallbacksOnMacEntryChange,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/0.learnMacAndProgramNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/0.learnMacProgramNeighborsAndAgeMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/0.learnMacProgramNeighborsAndUpdateMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/0.flapMacAndNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/0.learnMacProgramNeighborsAndMove,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/0.learnMacLinkDownNeighborResolve,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/1.learnMacAndProgramNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/1.learnMacProgramNeighborsAndAgeMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/1.learnMacProgramNeighborsAndUpdateMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/1.flapMacAndNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/1.learnMacProgramNeighborsAndMove,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/1.learnMacLinkDownNeighborResolve,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/2.learnMacAndProgramNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/2.learnMacProgramNeighborsAndAgeMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/2.learnMacProgramNeighborsAndUpdateMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/2.flapMacAndNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/2.learnMacProgramNeighborsAndMove,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/2.learnMacLinkDownNeighborResolve,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/3.learnMacAndProgramNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/3.learnMacProgramNeighborsAndAgeMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/3.learnMacProgramNeighborsAndUpdateMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/3.flapMacAndNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/3.learnMacProgramNeighborsAndMove,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/3.learnMacLinkDownNeighborResolve,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/4.learnMacAndProgramNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/4.learnMacProgramNeighborsAndAgeMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/4.learnMacProgramNeighborsAndUpdateMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/4.flapMacAndNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/4.learnMacProgramNeighborsAndMove,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/4.learnMacLinkDownNeighborResolve,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/5.learnMacAndProgramNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/5.learnMacProgramNeighborsAndAgeMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/5.learnMacProgramNeighborsAndUpdateMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/5.flapMacAndNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/5.learnMacProgramNeighborsAndMove,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/5.learnMacLinkDownNeighborResolve,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/6.learnMacAndProgramNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/6.learnMacProgramNeighborsAndAgeMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/6.learnMacProgramNeighborsAndUpdateMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/6.flapMacAndNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/6.learnMacProgramNeighborsAndMove,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/6.learnMacLinkDownNeighborResolve,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/7.learnMacAndProgramNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/7.learnMacProgramNeighborsAndAgeMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/7.learnMacProgramNeighborsAndUpdateMac,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/7.flapMacAndNeighbors,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/7.learnMacProgramNeighborsAndMove,OK
cold_boot.AgentMacLearningAndNeighborResolutionTest/7.learnMacLinkDownNeighborResolve,OK
cold_boot.AgentIngressPortSpanMirroringTest/0.SpanPortMirror,OK
cold_boot.AgentIngressPortSpanMirroringTest/0.UpdateSpanPortMirror,OK
cold_boot.AgentIngressPortSpanMirroringTest/1.SpanPortMirror,OK
cold_boot.AgentIngressPortSpanMirroringTest/1.UpdateSpanPortMirror,OK
cold_boot.AgentIngressPortErspanMirroringTest/0.ErspanPortMirror,OK
cold_boot.AgentIngressPortErspanMirroringTest/0.UpdateErspanPortMirror,OK
cold_boot.AgentIngressPortErspanMirroringTest/1.ErspanPortMirror,OK
cold_boot.AgentIngressPortErspanMirroringTest/1.UpdateErspanPortMirror,OK
cold_boot.AgentIngressPortErspanMirroringTruncateTest/0.TrucatePortErspanMirror,OK
cold_boot.AgentIngressPortErspanMirroringTruncateTest/1.TrucatePortErspanMirror,OK
cold_boot.AgentEgressPortSpanMirroringTest/0.SpanPortMirror,OK
cold_boot.AgentEgressPortSpanMirroringTest/1.SpanPortMirror,OK
cold_boot.AgentEgressPortErspanMirroringTest/0.ErspanPortMirror,OK
cold_boot.AgentEgressPortErspanMirroringTest/1.ErspanPortMirror,OK
cold_boot.AgentEgressPortErspanMirroringTruncateTest/0.TrucatePortErspanMirror,OK
cold_boot.AgentEgressPortErspanMirroringTruncateTest/1.TrucatePortErspanMirror,OK
cold_boot.AgentMirroringScaleTest/0.MaxMirroringTest,OK
cold_boot.AgentMirroringScaleTest/1.MaxMirroringTest,OK
cold_boot.AgentMirroringScaleTest/2.MaxMirroringTest,OK
cold_boot.AgentMirroringScaleTest/3.MaxMirroringTest,OK
cold_boot.AgentMirroringScaleTest/4.MaxMirroringTest,OK
cold_boot.AgentMirroringScaleTest/5.MaxMirroringTest,OK
cold_boot.AgentMirroringScaleTest/6.MaxMirroringTest,OK
cold_boot.AgentMirroringScaleTest/7.MaxMirroringTest,OK
cold_boot.AgentNeighborTest/0.AddPendingEntry,OK
cold_boot.AgentNeighborTest/0.ResolvePendingEntry,OK
cold_boot.AgentNeighborTest/0.ResolveLinkLocalEntry,OK
cold_boot.AgentNeighborTest/0.ResolvePendingEntryThenChangeLookupClass,OK
cold_boot.AgentNeighborTest/0.UnresolveResolvedEntry,OK
cold_boot.AgentNeighborTest/0.ResolveThenUnresolveEntry,OK
cold_boot.AgentNeighborTest/0.RemoveResolvedEntry,OK
cold_boot.AgentNeighborTest/0.AddPendingRemovedEntry,OK
cold_boot.AgentNeighborTest/0.LinkDownOnResolvedEntry,OK
cold_boot.AgentNeighborTest/0.LinkDownAndUpOnResolvedEntry,OK
cold_boot.AgentNeighborTest/1.AddPendingEntry,OK
cold_boot.AgentNeighborTest/1.ResolvePendingEntry,OK
cold_boot.AgentNeighborTest/1.ResolveLinkLocalEntry,OK
cold_boot.AgentNeighborTest/1.ResolvePendingEntryThenChangeLookupClass,OK
cold_boot.AgentNeighborTest/1.UnresolveResolvedEntry,OK
cold_boot.AgentNeighborTest/1.ResolveThenUnresolveEntry,OK
cold_boot.AgentNeighborTest/1.RemoveResolvedEntry,OK
cold_boot.AgentNeighborTest/1.AddPendingRemovedEntry,OK
cold_boot.AgentNeighborTest/1.LinkDownOnResolvedEntry,OK
cold_boot.AgentNeighborTest/1.LinkDownAndUpOnResolvedEntry,OK
cold_boot.AgentNeighborTest/2.AddPendingEntry,OK
cold_boot.AgentNeighborTest/2.ResolvePendingEntry,OK
cold_boot.AgentNeighborTest/2.ResolveLinkLocalEntry,OK
cold_boot.AgentNeighborTest/2.ResolvePendingEntryThenChangeLookupClass,OK
cold_boot.AgentNeighborTest/2.UnresolveResolvedEntry,OK
cold_boot.AgentNeighborTest/2.ResolveThenUnresolveEntry,OK
cold_boot.AgentNeighborTest/2.RemoveResolvedEntry,OK
cold_boot.AgentNeighborTest/2.AddPendingRemovedEntry,OK
cold_boot.AgentNeighborTest/2.LinkDownOnResolvedEntry,OK
cold_boot.AgentNeighborTest/2.LinkDownAndUpOnResolvedEntry,OK
cold_boot.AgentNeighborTest/3.AddPendingEntry,OK
cold_boot.AgentNeighborTest/3.ResolvePendingEntry,OK
cold_boot.AgentNeighborTest/3.ResolveLinkLocalEntry,OK
cold_boot.AgentNeighborTest/3.ResolvePendingEntryThenChangeLookupClass,OK
cold_boot.AgentNeighborTest/3.UnresolveResolvedEntry,OK
cold_boot.AgentNeighborTest/3.ResolveThenUnresolveEntry,OK
cold_boot.AgentNeighborTest/3.RemoveResolvedEntry,OK
cold_boot.AgentNeighborTest/3.AddPendingRemovedEntry,OK
cold_boot.AgentNeighborTest/3.LinkDownOnResolvedEntry,OK
cold_boot.AgentNeighborTest/3.LinkDownAndUpOnResolvedEntry,OK
cold_boot.AgentNeighborTest/4.AddPendingEntry,OK
cold_boot.AgentNeighborTest/4.ResolvePendingEntry,OK
cold_boot.AgentNeighborTest/4.ResolveLinkLocalEntry,OK
cold_boot.AgentNeighborTest/4.ResolvePendingEntryThenChangeLookupClass,OK
cold_boot.AgentNeighborTest/4.UnresolveResolvedEntry,OK
cold_boot.AgentNeighborTest/4.ResolveThenUnresolveEntry,OK
cold_boot.AgentNeighborTest/4.RemoveResolvedEntry,OK
cold_boot.AgentNeighborTest/4.AddPendingRemovedEntry,OK
cold_boot.AgentNeighborTest/4.LinkDownOnResolvedEntry,OK
cold_boot.AgentNeighborTest/4.LinkDownAndUpOnResolvedEntry,OK
cold_boot.AgentNeighborTest/5.AddPendingEntry,OK
cold_boot.AgentNeighborTest/5.ResolvePendingEntry,OK
cold_boot.AgentNeighborTest/5.ResolveLinkLocalEntry,OK
cold_boot.AgentNeighborTest/5.ResolvePendingEntryThenChangeLookupClass,OK
cold_boot.AgentNeighborTest/5.UnresolveResolvedEntry,OK
cold_boot.AgentNeighborTest/5.ResolveThenUnresolveEntry,OK
cold_boot.AgentNeighborTest/5.RemoveResolvedEntry,OK
cold_boot.AgentNeighborTest/5.AddPendingRemovedEntry,OK
cold_boot.AgentNeighborTest/5.LinkDownOnResolvedEntry,OK
cold_boot.AgentNeighborTest/5.LinkDownAndUpOnResolvedEntry,OK
cold_boot.AgentNeighborTest/6.AddPendingEntry,OK
cold_boot.AgentNeighborTest/6.ResolvePendingEntry,OK
cold_boot.AgentNeighborTest/6.ResolveLinkLocalEntry,OK
cold_boot.AgentNeighborTest/6.ResolvePendingEntryThenChangeLookupClass,OK
cold_boot.AgentNeighborTest/6.UnresolveResolvedEntry,OK
cold_boot.AgentNeighborTest/6.ResolveThenUnresolveEntry,OK
cold_boot.AgentNeighborTest/6.RemoveResolvedEntry,OK
cold_boot.AgentNeighborTest/6.AddPendingRemovedEntry,OK
cold_boot.AgentNeighborTest/6.LinkDownOnResolvedEntry,OK
cold_boot.AgentNeighborTest/6.LinkDownAndUpOnResolvedEntry,OK
cold_boot.AgentNeighborTest/7.AddPendingEntry,OK
cold_boot.AgentNeighborTest/7.ResolvePendingEntry,OK
cold_boot.AgentNeighborTest/7.ResolveLinkLocalEntry,OK
cold_boot.AgentNeighborTest/7.ResolvePendingEntryThenChangeLookupClass,OK
cold_boot.AgentNeighborTest/7.UnresolveResolvedEntry,OK
cold_boot.AgentNeighborTest/7.ResolveThenUnresolveEntry,OK
cold_boot.AgentNeighborTest/7.RemoveResolvedEntry,OK
cold_boot.AgentNeighborTest/7.AddPendingRemovedEntry,OK
cold_boot.AgentNeighborTest/7.LinkDownOnResolvedEntry,OK
cold_boot.AgentNeighborTest/7.LinkDownAndUpOnResolvedEntry,OK
cold_boot.AgentNeighborOnMultiplePortsTest/0.ResolveOnTwoPorts,OK
cold_boot.AgentNeighborOnMultiplePortsTest/1.ResolveOnTwoPorts,OK
cold_boot.AgentOlympicQosTests.VerifyDscpQueueMapping,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifyWRR,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifySP,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifySPPreemptionCPUTraffic,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifyWRRAndICP,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifyWRRAndNC,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifySingleWRRAndNC,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifyWRRToAllSPDscpToQueue,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifyWRRToAllSPTraffic,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifyDscpToQueueOlympicToOlympicV2,OK
cold_boot.AgentOlympicQosSchedulerTest.VerifyOlympicV2WRRToAllSPTraffic,OK
cold_boot.AgentOlympicV2MigrationQosSchedulerTest.VerifyDscpToQueueOlympicV2ToOlympic,OK
cold_boot.AgentNetworkAIQosTests.VerifyDscpQueueMapping,OK
cold_boot.AgentNetworkAIQosSchedulerTest.VerifyWRR,OK
cold_boot.AgentNetworkAIQosSchedulerTest.VerifySP,OK
cold_boot.AgentNetworkAIQosSchedulerTest.VerifyWRRAndICP,OK
cold_boot.AgentNetworkAIQosSchedulerTest.VerifyWRRAndNC,OK
cold_boot.AgentQueuePerHostL2Test.VerifyHostToQueueMappingClassID,OK
cold_boot.AgentQueuePerHostTest/0.VerifyHostToQueueMappingClassIDsAfterResolveBlock,OK
cold_boot.AgentQueuePerHostTest/0.VerifyHostToQueueMappingClassIDsWithResolve,OK
cold_boot.AgentQueuePerHostTest/0.VerifyHostToQueueMappingClassIDsWithResolveBlock,OK
cold_boot.AgentQueuePerHostTest/0.VerifyTtldCounter,OK
cold_boot.AgentQueuePerHostTest/1.VerifyHostToQueueMappingClassIDsAfterResolveBlock,OK
cold_boot.AgentQueuePerHostTest/1.VerifyHostToQueueMappingClassIDsWithResolve,OK
cold_boot.AgentQueuePerHostTest/1.VerifyHostToQueueMappingClassIDsWithResolveBlock,OK
cold_boot.AgentQueuePerHostTest/1.VerifyTtldCounter,OK
cold_boot.AgentQueuePerHostTest/2.VerifyHostToQueueMappingClassIDsAfterResolveBlock,OK
cold_boot.AgentQueuePerHostTest/2.VerifyHostToQueueMappingClassIDsWithResolve,OK
cold_boot.AgentQueuePerHostTest/2.VerifyHostToQueueMappingClassIDsWithResolveBlock,OK
cold_boot.AgentQueuePerHostTest/2.VerifyTtldCounter,OK
cold_boot.AgentQueuePerHostTest/3.VerifyHostToQueueMappingClassIDsAfterResolveBlock,OK
cold_boot.AgentQueuePerHostTest/3.VerifyHostToQueueMappingClassIDsWithResolve,OK
cold_boot.AgentQueuePerHostTest/3.VerifyHostToQueueMappingClassIDsWithResolveBlock,OK
cold_boot.AgentQueuePerHostTest/3.VerifyTtldCounter,OK
cold_boot.AgentQueuePerHostRouteTest/0.VerifyHostToQueueMappingClassID,OK
cold_boot.AgentQueuePerHostRouteTest/0.VerifyHostToQueueMappingClassIDBlock,OK
cold_boot.AgentQueuePerHostRouteTest/1.VerifyHostToQueueMappingClassID,OK
cold_boot.AgentQueuePerHostRouteTest/1.VerifyHostToQueueMappingClassIDBlock,OK
cold_boot.AgentRouteTest/0.VerifyClassID,OK
cold_boot.AgentRouteTest/0.VerifyClassIdWithNhopResolutionFlap,OK
cold_boot.AgentRouteTest/0.UnresolvedAndResolvedNextHop,OK
cold_boot.AgentRouteTest/0.UnresolveResolvedNextHop,OK
cold_boot.AgentRouteTest/0.UnresolvedAndResolvedMultiNextHop,OK
cold_boot.AgentRouteTest/0.ResolvedMultiNexthopToUnresolvedSingleNexthop,OK
cold_boot.AgentRouteTest/0.VerifyRouting,OK
cold_boot.AgentRouteTest/0.verifyHostRouteChange,OK
cold_boot.AgentRouteTest/0.verifyCpuRouteChange,OK
cold_boot.AgentRouteTest/0.VerifyDefaultRoute,OK
cold_boot.AgentRouteTest/1.VerifyClassID,OK
cold_boot.AgentRouteTest/1.VerifyClassIdWithNhopResolutionFlap,OK
cold_boot.AgentRouteTest/1.UnresolvedAndResolvedNextHop,OK
cold_boot.AgentRouteTest/1.UnresolveResolvedNextHop,OK
cold_boot.AgentRouteTest/1.UnresolvedAndResolvedMultiNextHop,OK
cold_boot.AgentRouteTest/1.ResolvedMultiNexthopToUnresolvedSingleNexthop,OK
cold_boot.AgentRouteTest/1.VerifyRouting,OK
cold_boot.AgentRouteTest/1.verifyHostRouteChange,OK
cold_boot.AgentRouteTest/1.verifyCpuRouteChange,OK
cold_boot.AgentRouteTest/1.VerifyDefaultRoute,OK
cold_boot.AgentClassIDRouteTest/0.VerifyClassIDForConnectedRoute,OK
cold_boot.AgentClassIDRouteTest/1.VerifyClassIDForConnectedRoute,OK
cold_boot.AgentMplsRouteTest/0.StaticIp2MplsRoutes,FAILED
cold_boot.AgentMplsRouteTest/1.StaticIp2MplsRoutes,FAILED
cold_boot.AgentVoqSwitchFullScaleDsfNodesTest.systemPortScaleTest,FAILED
cold_boot.AgentVoqSwitchFullScaleDsfNodesTest.remoteNeighborWithEcmpGroup,FAILED
cold_boot.AgentVoqSwitchFullScaleDsfNodesTest.remoteAndLocalLoadBalance,FAILED
cold_boot.AgentVoqSwitchFullScaleDsfNodesTest.stressProgramEcmpRoutes,FAILED
cold_boot.AgentVoqSwitchFullScaleDsfNodesWithFabricPortsTest.failUpdateAtFullSysPortScale,FAILED
cold_boot.AgentVoqSwitchTest.fdrRciAndCoreRciWatermarks,TIMEOUT
cold_boot.AgentVoqSwitchTest.addRemoveNeighbor,TIMEOUT
cold_boot.AgentVoqSwitchTest.sendPacketCpuAndFrontPanel,TIMEOUT
cold_boot.AgentVoqSwitchTest.trapPktsOnPort,TIMEOUT
cold_boot.AgentVoqSwitchTest.rxPacketToCpu,TIMEOUT
cold_boot.AgentVoqSwitchTest.rxPacketToCpuBgpDstPort,TIMEOUT
cold_boot.AgentVoqSwitchTest.rxPacketToCpuBgpSrcPort,TIMEOUT
cold_boot.AgentVoqSwitchTest.localForwardingPostIsolate,TIMEOUT
cold_boot.AgentVoqSwitchTest.stressLocalForwardingPostIsolate,TIMEOUT
cold_boot.AgentVoqSwitchTest.localSystemPortEcmp,TIMEOUT
cold_boot.AgentVoqSwitchTest.packetIntegrityError,TIMEOUT
cold_boot.AgentVoqSwitchTest.dramEnqueueDequeueBytes,TIMEOUT
cold_boot.AgentVoqSwitchTest.verifyQueueLatencyWatermark,TIMEOUT
cold_boot.AgentVoqSwitchLineRateTest.dramBlockedTime,TIMEOUT
cold_boot.AgentVoqSwitchLineRateTest.creditsDeleted,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.collectStats,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.checkFabricConnectivity,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.switchReachability,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.fabricIsolate,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.fabricConnectivityMismatch,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.switchIsolate,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.minVoqThresholdDrainUndrain,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.verifyNifMulticastTrafficDropped,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.overdrainPct,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.checkFabricPortSprayWithIsolate,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.checkFabricPortSpray,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.fdrCellDrops,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.fabricLinkDownCellDropCounter,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsTest.ValidateFecErrorDetect,TIMEOUT
cold_boot.AgentVoqSwitchWithFabricPortsStartDrained.assertLocalForwardingAndCableLen,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.twoDsfNodes,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.remoteSystemPort,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.remoteRouterInterface,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.addRemoveRemoteNeighbor,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.voqDelete,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.stressAddRemoveObjects,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.voqTailDropCounter,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.sendPktsToRemoteUnresolvedNeighbor,FAILED
cold_boot.AgentVoqSwitchWithMultipleDsfNodesTest.verifyDscpToVoqMapping,FAILED
cold_boot.AgentVoqShelSwitchTest.init,FAILED
cold_boot.AgentVoqSwitchConditionalEntropyTest.verifyLoadBalancing,TIMEOUT
cold_boot.AgentVoqSwitchConditionalEntropyTest.verifyNonRoceTrafficUnbalanced,TIMEOUT
cold_boot.AgentVoqSwitchConditionalEntropyTest.verifyRoceTrafficRehashDisabledUnbalanced,TIMEOUT
cold_boot.AgentVoqSwitchInterruptTest.ireError,OK
cold_boot.AgentVoqSwitchInterruptTest.itppError,OK
cold_boot.AgentVoqSwitchInterruptTest.epniError,OK
cold_boot.AgentVoqSwitchInterruptTest.alignerError,OK
cold_boot.AgentVoqSwitchInterruptTest.fqpError,OK
cold_boot.AgentVoqSwitchInterruptTest.allReassemblyContextsTakenError,OK
cold_boot.AgentVoqSwitchIsolationFirmwareTest.forceIsolate,TIMEOUT
cold_boot.AgentVoqSwitchIsolationFirmwareTest.forceCrash,TIMEOUT
cold_boot.AgentVoqSwitchIsolationFirmwareWBEventsTest.forceIsolateDuringWarmBoot,TIMEOUT
cold_boot.AgentVoqSwitchIsolationFirmwareWBEventsTest.forceCrashDuringWarmBoot,TIMEOUT
cold_boot.AgentVoqSwitchIsolationFirmwareUpdateTest.loadOnWarmboot,TIMEOUT
cold_boot.AgentFabricSwitchTest.init,TIMEOUT
cold_boot.AgentFabricSwitchTest.checkFabricConnectivityStats,TIMEOUT
cold_boot.AgentFabricSwitchTest.collectStats,TIMEOUT
cold_boot.AgentFabricSwitchTest.checkFabricConnectivity,TIMEOUT
cold_boot.AgentFabricSwitchTest.fabricPortIsolate,TIMEOUT
cold_boot.AgentFabricSwitchTest.fabricSwitchIsolate,TIMEOUT
cold_boot.AgentFabricSwitchTest.reachDiscard,TIMEOUT
cold_boot.AgentFabricSwitchTest.dtlQueueWatermarks,TIMEOUT
cold_boot.AgentFabricSwitchTest.switchReachability,TIMEOUT
cold_boot.AgentFabricSwitchTest.ValidateFecErrorDetect,TIMEOUT
cold_boot.AgentFabricSwitchSelfLoopTest.selfLoopDetection,FAILED
cold_boot.AgentFabricSwitchSelfLoopTest.portDrained,FAILED
cold_boot.AgentBalancedInputModeTest.init,FAILED
cold_boot.AgentPortBandwidthPpsTest.VerifyPps,OK
cold_boot.AgentPortBandwidthPpsTest.VerifyPpsDynamicChanges,OK
cold_boot.AgentPortLedTest.TestLed,FAILED
cold_boot.AgentPortLedTest.TestLedFromSwitchState,FAILED
cold_boot.AgentPrbsTest.enablePortPrbs,OK
cold_boot.AgentPrbsTest.disablePortPrbs,OK
cold_boot.AgentAclCounterTest.VerifyCounterBumpOnTtlHitFrontPanel,OK
cold_boot.AgentAclCounterTest.VerifyCounterBumpOnSportHitFrontPanel,OK
cold_boot.AgentAclCounterTest.VerifyCounterBumpOnSportHitFrontPanelWithDrop,OK
cold_boot.AgentAclCounterTest.VerifyCounterBumpOnTtlHitCpu,OK
cold_boot.AgentAclCounterTest.VerifyCounterBumpOnSportHitCpu,OK
cold_boot.AgentAclCounterTest.VerifyCounterNoTtlHitNoBumpFrontPanel,OK
cold_boot.AgentAclCounterTest.VerifyCounterNoHitNoBumpCpu,OK
cold_boot.AgentAclCounterTest.VerifyAclPrioritySportHitFrontPanel,OK
cold_boot.AgentL4DstPortAclCounterTest.VerifyCounterBumpOnL4DstportHitFrontPanel,OK
cold_boot.AgentL4DstPortAclCounterTest.VerifyAclPriorityL4DstportHitFrontPanel,OK
cold_boot.AgentBthOpcodeAclCounterTest.VerifyCounterBumpOnBthOpcodeHitFrontPanel,FAILED
cold_boot.AgentAqmTest.verifyEct0,OK
cold_boot.AgentAqmTest.verifyEct1,OK
cold_boot.AgentAqmTest.verifyEcnWithoutWredConfig,OK
cold_boot.AgentAqmTest.verifyWredWithoutEcnConfig,OK
cold_boot.AgentAqmTest.verifyWred,OK
cold_boot.AgentAqmTest.verifyWredThreshold,OK
cold_boot.AgentAqmTest.verifyPerQueueWredDropStats,OK
cold_boot.AgentAqmWredDropTest.verifyWredDrop,OK
cold_boot.AgentLoopBackTest.VerifyLoopBack,OK
cold_boot.AgentSendPacketToQueueTest.SendPacketOutOfPortToUCQueue,OK
cold_boot.AgentSendPacketToQueueTest.SendPacketOutOfPortToDefaultUCQueue,OK
cold_boot.AgentSendPacketToQueueTest.SendPacketSwitchedToDefaultUCQueue,OK
cold_boot.AgentWatermarkTest.VerifyDefaultQueue,OK
cold_boot.AgentWatermarkTest.VerifyNonDefaultQueue,OK
cold_boot.AgentWatermarkTest.VerifyDeviceWatermark,FAILED
cold_boot.AgentWatermarkTest.VerifyDeviceWatermarkHigherThanQueueWatermark,OK
cold_boot.AgentSwitchStatsTxCounterTest.VerifyTxCounter,OK
cold_boot.AgentMmuTuningTest.verifyReservedBytesTuning,OK
cold_boot.AgentMmuTuningTest.verifyScalingFactorTuning,OK
cold_boot.AgentSflowMirrorUntruncateTestV4.VerifySampledPacket,FAILED
cold_boot.AgentSflowMirrorUntruncateTestV4.StressRecreateMirror,OK
cold_boot.AgentSflowMirrorUntruncateTestV6.VerifySampledPacket,FAILED
cold_boot.AgentSflowMirrorUntruncateTestV6.StressRecreateMirror,OK
cold_boot.AgentSflowMirrorTruncateTestV4.VerifyTruncate,OK
cold_boot.AgentSflowMirrorTruncateTestV4.StressRecreateMirror,OK
cold_boot.AgentSflowMirrorTruncateTestV6.VerifyTruncate,OK
cold_boot.AgentSflowMirrorTruncateTestV6.StressRecreateMirror,OK
cold_boot.AgentSflowMirrorOnTrunkTestV4.VerifySampledPacket,FAILED
cold_boot.AgentSflowMirrorOnTrunkTestV6.VerifySampledPacket,FAILED
cold_boot.AgentSflowMirrorWithLineRateTrafficTest.VerifySflowEgressCongestion,FAILED
cold_boot.AgentSflowMirrorWithLineRateTrafficTest.VerifySflowEgressCongestionShort,FAILED
cold_boot.AgentSflowMirrorAddressFamilySwitchingTest.MoveToV6,OK
cold_boot.AgentSflowMirrorAddressFamilySwitchingTest.MoveToV4,OK
cold_boot.AgentSflowMirrorTruncateWithSamplesPackingTestV6.verifySflowSamplesPacking,FAILED
cold_boot.AgentAclPriorityTest.CheckAclPriorityOrder,OK
cold_boot.AgentAclPriorityTest.CheckAclPriortyOrderInsertMiddle,OK
cold_boot.AgentAclPriorityTest.AclNameChange,OK
cold_boot.AgentAclPriorityTest.AclsChanged,OK
cold_boot.AgentAclPriorityTest.Reprioritize,OK
cold_boot.AgentTrafficPauseTest.verifyPauseRxOnly,OK
cold_boot.AgentTrafficPauseTest.verifyPauseTxOnly,OK
cold_boot.AgentTrafficPauseTest.verifyPauseRxTx,OK
cold_boot.AgentTrunkLoadBalancerTest.ECMPFullTrunkHalfHash4X3WideTrunksV6CpuTraffic,OK
cold_boot.AgentTrunkLoadBalancerTest.ECMPFullTrunkHalfHash4X3WideTrunksV4CpuTraffic,OK
cold_boot.AgentTrunkLoadBalancerTest.ECMPFullTrunkHalfHash4X2WideTrunksV6CpuTraffic,OK
cold_boot.AgentTrunkLoadBalancerTest.ECMPFullTrunkHalfHash4X2WideTrunksV4CpuTraffic,OK
cold_boot.AgentTrunkLoadBalancerTest.ECMPFullTrunkHalf4X3WideTrunksV6FrontPanelTraffic,OK
cold_boot.AgentTrunkLoadBalancerTest.ECMPFullTrunkHalf4X3WideTrunksV4FrontPanelTraffic,OK
cold_boot.AgentTrunkLoadBalancerTest.ECMPFullTrunkHalf4X2WideTrunksV6FrontPanelTraffic,OK
cold_boot.AgentTrunkLoadBalancerTest.ECMPFullTrunkHalf4X2WideTrunksV4FrontPanelTraffic,OK
cold_boot.AgentTrunkTest.TrunkCreateHighLowKeyIds,OK
cold_boot.AgentTrunkTest.TrunkCheckIngressPktAggPort,OK
cold_boot.AgentTrunkTest.TrunkMemberPortDownMinLinksViolated,OK
cold_boot.AgentRxReasonTests.InsertAndRemoveRxReason,OK
cold_boot.AgentRswRouteScaleTest.rswRouteScale,OK
cold_boot.AgentFswRouteScaleTest.fswRouteScale,OK
cold_boot.AgentThAlpmRouteScaleTest.thAlpmScale,OK
cold_boot.AgentHgridDuRouteScaleTest.hgridDuScaleTest,OK
cold_boot.AgentHgridUuRouteScaleTest.hgridUuScaleTest,OK
cold_boot.AgentHundredThousandRouteScaleTest.hundredThousandRouteScaleTest,OK
cold_boot.AgentHwAclMatchActionsTest.AddTrafficPolicy,OK
cold_boot.AgentHwAclMatchActionsTest.SetDscpMatchAction,OK
cold_boot.AgentHwAclMatchActionsTest.AddSameMatcherTwice,OK
cold_boot.AgentHwAclMatchActionsTest.AddMultipleActions,OK
cold_boot.AgentHwAclMatchActionsTest.AddRemoveActions,OK
cold_boot.AgentHwAclMatchActionsTest.AddTrafficPolicyMultipleRemoveOne,OK
cold_boot.AgentHwAclQualifierTest.AclIp4TcpQualifiers,OK
cold_boot.AgentHwAclQualifierTest.AclIp6TcpQualifiers,OK
cold_boot.AgentHwAclQualifierTest.AclIcmp4Qualifiers,OK
cold_boot.AgentHwAclQualifierTest.AclIcmp6Qualifiers,OK
cold_boot.AgentHwAclQualifierTest.AclRemove,OK
cold_boot.AgentHwAclQualifierTest.AclModifyQualifier,OK
cold_boot.AgentHwAclQualifierTest.AclEmptyCodeIcmp,OK
cold_boot.AgentHwAclQualifierTest.AclIp4Qualifiers,OK
cold_boot.AgentHwAclQualifierTest.AclIp6Qualifiers,OK
cold_boot.AgentHwAclQualifierTest.AclQualifiersCanaryOn,OK
cold_boot.AgentHwAclQualifierTest.AclQualifiersCanaryOff,OK
cold_boot.AgentHwAclLookupClassQualifierTest.AclIp4LookupClassL2,OK
cold_boot.AgentHwAclLookupClassQualifierTest.AclIp4LookupClassNeighbor,OK
cold_boot.AgentHwAclLookupClassQualifierTest.AclIp4LookupClassRoute,OK
cold_boot.AgentHwAclLookupClassQualifierTest.AclIp6LookupClassL2,OK
cold_boot.AgentHwAclLookupClassQualifierTest.AclIp6LookupClassNeighbor,OK
cold_boot.AgentHwAclLookupClassQualifierTest.AclIp6LookupClassRoute,OK
cold_boot.AgentHwAclStatTest.AclStatCreate,OK
cold_boot.AgentHwAclStatTest.AclStatCreateDeleteCreate,OK
cold_boot.AgentHwAclStatTest.AclStatCreateShared,OK
cold_boot.AgentHwAclStatTest.AclStatCreateMultiple,OK
cold_boot.AgentHwAclStatCounterTypeTest.AclStatChangeCounterType,OK
cold_boot.AgentHwResourceStatsTest.l3Stats,OK
cold_boot.AgentHwResourceStatsTest.aclStats,OK
cold_boot.AgentHwParityErrorTest.verifyParityError,OK
cold_boot.AgentTrafficPfcTest.verifyPfcWithDefaultCfg,OK
cold_boot.AgentTrafficPfcTest.verifyPfcWithScaleCfg,OK
cold_boot.AgentTrafficPfcTest.verifyPfcWithMapChanges_0,OK
cold_boot.AgentTrafficPfcTest.verifyPfcWithMapChanges_1,OK
cold_boot.AgentTrafficPfcTest.verifyBufferPoolWatermarks,OK
cold_boot.AgentTrafficPfcTest.verifyIngressPriorityGroupWatermarks,FAILED
cold_boot.AgentTrafficPfcTest.verifyPfcWithZeroGlobalHeadRoomCfg,OK
cold_boot.AgentTrafficPfcZeroPgHeadroomTest.verifyPfcWithZeroPgHeadRoomCfg,OK
cold_boot.AgentTrafficPfcZeroPgHeadroomTest.verifyWithScaleCfgInCongestionDrops,OK
cold_boot.AgentIpInIpTunnelTest.TunnelDecapForwarding,OK
cold_boot.AgentIpInIpTunnelTest.TunnelTermEntryMiss,OK
cold_boot.AgentIpInIpTunnelTest.IpinIpNoTunnelConfigured,OK
cold_boot.AgentIpInIpTunnelTest.DecapPacketParsing,OK
cold_boot.AgentHwPtpTcTest.VerifyPtpTcEnable,OK
cold_boot.AgentHwPtpTcTest.VerifyPtpTcToggle,OK
return std::make_unique<Wedge40Manager>(platformMappingStr);
}

std::unique_ptr<WedgeManager> createDarwinWedgeManager(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to have a boolean gflag (use_bsp_access), disabled by default so that we don't change our current prod behavior (accessing transceivers through userspace i2c drivers). You can enable that flag in your config and test this. We'll enable it slowly in prod once we are ready to roll out BSP access for Darwin

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to clarify. This flag doesn't exist and need to be defined and default to false. Which platforms need to set this flag to true and where is that done?

@harshitgulati18 harshitgulati18 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`

@joancaneus

Copy link
Copy Markdown
Contributor

@aalamsi22 is this PR still needed? there are a lot of conflicts there. It will need to get rebase and solved the conflicts.

@aalamsi22

Copy link
Copy Markdown
Contributor Author

@aalamsi22 is this PR still needed? there are a lot of conflicts there. It will need to get rebase and solved the conflicts.

Hi Joan, this PR is needed to enable the agent on the platform_manager implementation. Its unclear to me how to proceed forward considering that this may conflict with the legacy implementation.

@joancaneus

Copy link
Copy Markdown
Contributor

@aalamsi22 is this PR still needed? there are a lot of conflicts there. It will need to get rebase and solved the conflicts.

Hi Joan, this PR is needed to enable the agent on the platform_manager implementation. Its unclear to me how to proceed forward considering that this may conflict with the legacy implementation.

I will discuss this with Harshit and Tao. There are QSFP codes that this PR changes which I am not familiar with.

raghav-nexthop pushed a commit to nexthop-ai/fboss that referenced this pull request Feb 6, 2026
…acebook#420)

# Summary

This change enables running multiple CLI commands within a single
process, which is required for C++ end-to-end tests. The first two
end-to-end tests that were originally written in Python, along with
helper functions, have been rewritten in C++, and can now run as a
self-contained gtest binary, without depending on the fboss2-dev binary.

Some fixes were necessary to make this work, so the CLI could be re-used
as a library instead of being invoked as a subprocess:

1. Remove the `hasRun` static variable from `CmdHandler`
- Previously, a static `hasRun` flag prevented commands from executing
more than once per process
- Now we wrap callbacks in `CmdSubcommands` to check
`get_subcommands().empty()` to detect leaf commands, eliminating the
need for static state

2. Throw exceptions instead of calling `exit(1)` in `CmdHandler`
- `CmdHandler::run()` now rethrows exceptions instead of calling
`exit(1)`
   - This allows tests to catch errors and verify exit codes
   - `Main.cpp` catches exceptions and returns exit code 1

3. Factor out `CLI::App` initialization into `CliAppInit.h`
- Header-only `initApp()` function shared between `Main.cpp` and tests
   - Eliminates code duplication for CLI setup
- This couldn't be packaged into a library of its own without going into
circular dependency hell, hence why it's a header-only helper

4. Reset state in `ConfigSession::initializeSession()`
- Clear `ConfigSession` attributes when creating a new session (when
session file doesn't exist)
   - Allows re-using the same `ConfigSession` singleton after `commit()`

5. Update state in `ConfigSession::commit()`
   - Set `base_` to the new commit SHA after successful commit
   - Set `configLoaded_ = false` to force config reload on next access
   - Allows re-using the same `ConfigSession` singleton after `commit()`

6. Automatically initialize session in `ConfigSession::loadConfig()`
- If session file doesn't exist (e.g., after commit deleted it), call
`initializeSession()` to create a fresh session

These changes allow the ConfigSession singleton to be properly reused
across multiple CLI command invocations within the same process.

# Test Plan

Added new end-to-end tests in C++ that replace
`test_config_interface_mtu.py` and
`test_config_interface_description.py` (the Python scripts will be
removed in a future PR soon).

Sample output (simplified, without timestamps and other noise):

```
[==========] Running 2 tests from 2 test suites.
[----------] 1 test from ConfigInterfaceDescriptionTest
[ RUN      ] ConfigInterfaceDescriptionTest.SetAndVerifyDescription
[Step 1] Finding an interface to test...
  Using interface: eth1/1/1 (VLAN: 2001)
[Step 2] Getting current description...
  Current description: 'CLI_E2E_TEST_DESCRIPTION_ALT'
[Step 3] Setting description to 'CLI_E2E_TEST_DESCRIPTION'...
  Description set to 'CLI_E2E_TEST_DESCRIPTION'
[Step 4] Verifying description via 'show interface'...
  Verified: Description is 'CLI_E2E_TEST_DESCRIPTION'
[Step 5] Restoring original description ('CLI_E2E_TEST_DESCRIPTION_ALT')...
  Restored description to 'CLI_E2E_TEST_DESCRIPTION_ALT'
TEST PASSED
[       OK ] ConfigInterfaceDescriptionTest.SetAndVerifyDescription (412 ms)

[----------] 1 test from ConfigInterfaceMtuTest
[ RUN      ] ConfigInterfaceMtuTest.SetAndVerifyMtu
[Step 1] Finding an interface to test...
  Using interface: eth1/1/1 (VLAN: 2001)
[Step 2] Getting current MTU...
  Current MTU: 9000
[Step 3] Setting MTU to 1500...
  MTU set to 1500
[Step 4] Verifying MTU via 'show interface'...
  Verified: MTU is 1500
[Step 5] Verifying kernel interface MTU...
  Verified: Kernel interface fboss2001 has MTU 1500
[Step 6] Restoring original MTU (9000)...
  Restored MTU to 9000
TEST PASSED
[       OK ] ConfigInterfaceMtuTest.SetAndVerifyMtu (384 ms)

[==========] 2 tests from 2 test suites ran. (797 ms total)
[  PASSED  ] 2 tests.
```

## Running CLI End-to-End Tests

### 1. Build the test binary
```bash
./fboss/oss/scripts/nhfboss-build.sh --cmake-target cli_test
```

### 2. Copy files to fboss101
```bash
# Copy the test binary
scp /var/FBOSS/tmp_bld_dir/build/fboss/cli_test fboss101:/opt/fboss/bin/cli_test
scp fboss/oss/scripts/run_scripts/run_test.py fboss101:/opt/fboss/bin/run_test.py
```

### 3. Run the tests on fboss101
```bash
ssh fboss101 "cd /opt/fboss && ./bin/run_test.py cli"
```

Or run the binary directly:
```bash
ssh fboss101 /opt/fboss/bin/cli_test
```

### Notes
- The tests run against the already-running FBOSS `wedge_agent` on
fboss101
- Tests communicate with the agent via Thrift (localhost)
- No config file changes or agent restart required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants