-
Notifications
You must be signed in to change notification settings - Fork 9
PTF Tests
zhichuanhe edited this page Jun 25, 2018
·
12 revisions
The SAI plugin from CentecNetworks use PTF framework to do testing. We have more than 300 cases, include more than 250 cases from CentecNetwors, and 56 cases from official SAI project. If you need these cases, please contact CentecNetworks.
Module | Case | Source | Toatl |
---|---|---|---|
ACL | saiacl.IPAclTest | SAI | 6 |
saiacl.MACSrcAclTest | |||
saiacl.L3AclTest | |||
saiacl.SeqAclTableGroupTest | |||
saiacl.MultBindAclTableGroupTest | |||
saiacl.BindAclTableInGroupTest | |||
ctc_saiacl.CreateAclTableGroup | Centec | 17 | |
ctc_saiacl.RemoveAclTableGroup | |||
ctc_saiacl.GetAclTableGroup | |||
ctc_saiacl.CreateAclTable | |||
ctc_saiacl.RemoveAclTable | |||
ctc_saiacl.GetAclTable | |||
ctc_saiacl.CreateAndRemoveAclTableGroupMember | |||
ctc_saiacl.GetAclTableGroupMember | |||
ctc_saiacl.CreateAndRemoveAclEntry | |||
ctc_saiacl.GetAclEntry | |||
ctc_saiacl.SclV4EntryBindPointPortTest | |||
ctc_saiacl.SclV6EntryBindPointPortTest | |||
ctc_saiacl.SclV4EntryBindPointLagTest | |||
ctc_saiacl.SclV4EntryUpdatePacketActionTest | |||
ctc_saiacl.SclV4EntryDoNotLearnActionTest | |||
ctc_saiacl.AclV4EntryBindPointVlanTest | |||
ctc_saiacl.AclV4EntryBindPointSwitchTest | |||
BRIDGE | ctc_sai_bridge.BridgeCreate1DBridgeTest | Centec | 14 |
ctc_sai_bridge.BridgeRemove1DBridgeTest | |||
ctc_sai_bridge.BridgeGet1DBridgeTypeTest | |||
ctc_sai_bridge.BridgeGet1QBridgeTypeTest | |||
ctc_sai_bridge.BridgeMaxLearnAddressBridgeTest | |||
ctc_sai_bridge.BridgeLearnDisableBridgeTest | |||
ctc_sai_bridge.BridgeUnknownUnicastFloodBridgeTest | |||
ctc_sai_bridge.BridgeUnknownMcastFloodBridgeTest | |||
ctc_sai_bridge.BridgeBcastFloodBridgeTest | |||
ctc_sai_bridge.BridgeSubPortNumTest | |||
ctc_sai_bridge.BridgeSubPortFloodTest | |||
ctc_sai_bridge.BridgeGetBridgePortTypeTest | |||
ctc_sai_bridge.BridgeGetBridgePortPortIdTest | |||
ctc_sai_bridge.BridgeGetBridgePortVlanIdTest | |||
L2 | sail2.L2TrunkToTrunkVlanTest | SAI | 11 |
sail2.L2AccessToTrunkVlanTest | |||
sail2.L2TrunkToAccessVlanTest | |||
sail2.L2FloodTest | |||
sail2.L2LagTest | |||
sail2.L2VlanBcastUcastTest | |||
sail2.L2FdbAgingTest | |||
sail2.L2ARPRequestReplyFDBLearningTest | |||
sail2.L2BridgeSubPortFloodTest | |||
sail2.L2BridgeSubPortFDBTest | |||
ctc_sail2.L2AccessTohybridVlanTest | Centec | 12 | |
ctc_sail2.L2TrunkTohybridVlanTest | |||
ctc_sail2.L2FlushStatic | |||
ctc_sail2.L2FlushDynamic | |||
ctc_sail2.L2FdbGetSetEntryTypeDynamicToStatic | |||
ctc_sail2.L2FdbGetSetEntryActionTransitToTrap | |||
ctc_sail2.L2FdbGetSetEntryActionTransitToLog | |||
ctc_sail2.L2FdbGetSetEntryActionTransitToDeny | |||
ctc_sail2.L2FdbGetSetEntryActionLogToDeny | |||
ctc_sail2.L2FdbGetSetEntryPort | |||
ctc_sail2.L2VlanGetSetMaxLearnedAddress | |||
ctc_sail2.L2LagSetGetDropTagAttrTest | |||
sail3.L3IPv4HostTest | SAI | 20 | |
sail3.L3IPv4LpmTest | |||
sail3.L3IPv6HostTest | |||
sail3.L3IPv6PrefixTest | |||
sail3.L3IPv6LpmTest | |||
sail3.L3IPv4EcmpHostTest | |||
sail3.L3IPv6EcmpHostTest | |||
sail3.L3IPv4EcmpLpmTest | |||
sail3.L3IPv6EcmpLpmTest | |||
sail3.L3IPv4LagTest | |||
sail3.L3IPv6LagTest | |||
sail3.L3EcmpLagTest | |||
sail3.L3EcmpLagTestMini | |||
sail3.L3VIIPv4HostTest | |||
sail3.L3IPv4MacRewriteTest | |||
sail3.L3VlanNeighborMacUpdateTest | |||
sail3.L3MultipleLagTest | |||
sail3.L3MultipleEcmpLagTest | |||
sail3.L3BridgeAndSubPortRifTest | |||
sail3.L3SubPortAndVLANRifTest | |||
ctc_sail3.L3VirtualRouterCreateTest | Centec | 48 | |
ctc_sail3.L3VirtualRouterRemoveTest | |||
ctc_sail3.L3VirtualRouterSetTest | |||
ctc_sail3.L3RouterInterfaceCreateTest | |||
ctc_sail3.L3RouterInterfaceRemoveTest | |||
ctc_sail3.L3RouterInterfaceDefaultTest | |||
ctc_sail3.L3RouterInterfaceSetTest | |||
ctc_sail3.L3RouterInterfaceRouteMacTest | |||
ctc_sail3.L3RouterInterfaceMTUTest | |||
ctc_sail3.L3RouterInterfaceBridgePortRifTest | |||
ctc_sail3.L3NeighborIPv4CreateTest | |||
ctc_sail3.L3NeighborIPv4RemoveTest | |||
ctc_sail3.L3NeighborIPv6CreateTest | |||
ctc_sail3.L3NeighborIPv6RemoveTest | |||
ctc_sail3.L3NeighborRemoveALLTest | |||
ctc_sail3.L3NeighborDefaultTest | |||
ctc_sail3.L3NeighborSetTest | |||
ctc_sail3.L3NeighborDestMacTest | |||
ctc_sail3.L3NeighborNoHostRouteTest | |||
ctc_sail3.L3NeighborActionTest | |||
ctc_sail3.L3NeighborUpdateByFDBTest | |||
ctc_sail3.L3NextHopCreateTest | |||
ctc_sail3.L3NextHopRemoveTest | |||
ctc_sail3.L3NeighborNextHopShareTest | |||
ctc_sail3.L3NextHopGroupCreateTest | |||
ctc_sail3.L3NextHopGroupRemoveTest | |||
ctc_sail3.L3NextHopGroupMemberCreateTest | |||
ctc_sail3.L3NextHopGroupMemberRemoveTest | |||
ctc_sail3.L3NextHopGroupEcmpGetTest | |||
ctc_sail3.L3NextHopGroupProtctionGetTest | |||
ctc_sail3.L3NextHopGroupProtctionSwitchOverTest | |||
ctc_sail3.L3RouteIPv4CreateTest | |||
ctc_sail3.L3RouteIPv4RemoveTest | |||
ctc_sail3.L3RouteIPv4SetTest | |||
ctc_sail3.L3RouteIPv4SetNextHopTest | |||
ctc_sail3.L3RouteIPv4ActionTest | |||
ctc_sail3.L3RouteIPv6CreateTest | |||
ctc_sail3.L3RouteIPv6RemoveTest | |||
ctc_sail3.L3RouteIPv6SetTest | |||
ctc_sail3.L3RouteIPv6SetNextHopTest | |||
ctc_sail3.L3RouteIPv6ActionTest | |||
ctc_sail3.L3StressVirtualRouterTest | |||
ctc_sail3.L3StressRouterInterfaceTest | |||
ctc_sail3.L3StressNeighborIPv4Test | |||
ctc_sail3.L3StressNeighborIPv6Test | |||
ctc_sail3.L3StressNexthopTest | |||
ctc_sail3.L3StressRouteIPv4Test | |||
ctc_sail3.L3StressRouteIPv6Test | |||
MCAST | ctc_saimcast.McastIPMCIPv4XGTest | Centec | 29 |
ctc_saimcast.McastIPMCIPv4SGTest | |||
ctc_saimcast.McastIPMCIPv4SGAggTest | |||
ctc_saimcast.McastIPMCIPv4SGL2MCXGVlanINF0Test | |||
ctc_saimcast.McastIPMCIPv4SGL2MCSGVlanINF1Test | |||
ctc_saimcast.McastIPMCIPv4SGL2MCXGVlanINF2Test | |||
ctc_saimcast.McastIPMCIPv4SGFDBVlanINF3Test | |||
ctc_saimcast.McastIPMCIPv6XGL2MCXGVlanINF4Test | |||
ctc_saimcast.McastIPMCIPv6XGFDBVlanINF5Test | |||
ctc_saimcast.McastIPMCIPv4SGL2MCFDBVlanINF6Test | |||
ctc_saimcast.McastIPMCIPv6XGTest | |||
ctc_saimcast.McastIPMCIPv6SGTest | |||
ctc_saimcast.McastIPMCIPv4SGAddRemoveMemberTest | |||
ctc_saimcast.McastIPMCIPv4SGUpdateActionTest | |||
ctc_saimcast.McastIPMCIPv4SGUpdateGroupTest | |||
ctc_saimcast.McastIPMCIPv4SGRPFTest | |||
ctc_saimcast.McastIPMCIPv6SGRPFTest | |||
ctc_saimcast.McastIPMCIPv4SGGetAttrsTest | |||
ctc_saimcast.McastL2MCIPv4XGTest | |||
ctc_saimcast.McastL2MCIPv4SGTest | |||
ctc_saimcast.McastL2MCIPv6XGTest | |||
ctc_saimcast.McastL2MCIPv6SGTest | |||
ctc_saimcast.McastL2MCIPv4SGAddRemoveMemberTest | |||
ctc_saimcast.McastL2MCIPv4XGUpdateGroupTest | |||
ctc_saimcast.McastL2MCIPv4SGGetAttrsTest | |||
ctc_saimcast.McastMcastFdbTest | |||
ctc_saimcast.McastMcastFdbUpdateActionTest | |||
ctc_saimcast.McastMcastFdbUpdateGroupTest | |||
ctc_saimcast.McastMcastFdbGetAttrsTest | |||
QOS | ctc_saiqos.PortRFC2697SrTCMBPSPoicer | Centec | 50 |
ctc_saiqos.PortRFC2697SrTCMPPSPoicer | |||
ctc_saiqos.PortRFC2697SrTCMColorAwarePoicer | |||
ctc_saiqos.PortRFC2697SrTCMColorDropPoicer | |||
ctc_saiqos.PortRFC4115TrTCMColorBlindPoicer | |||
ctc_saiqos.PortRFC4115TrTCMColorAwarePoicer | |||
ctc_saiqos.PortRFC4115TrTCMColorDropPoicer | |||
ctc_saiqos.PortStormCtlFlood | |||
ctc_saiqos.PortStormCtlMcast | |||
ctc_saiqos.PortStormCtlBcast | |||
ctc_saiqos.PortRFC2697SrTCMPPSPoicerResetId | |||
ctc_saiqos.SwitchQosMapSetDefaultTCandUpdateDSCP | |||
ctc_saiqos.SwitchQosMapTCMaptoQueueandUpdateDSCP | |||
ctc_saiqos.SwitchQosMapDot1pMaptoTCandUpdateDot1p | |||
ctc_saiqos.SwitchQosMapDot1pMaptoColorandUpdateDot1p | |||
ctc_saiqos.SwitchQosMapDscpMaptoTCandUpdateDSCP | |||
ctc_saiqos.SwitchQosMapDscpMaptoColorandUpdateDSCP | |||
ctc_saiqos.PortQosMapDot1pMaptoTCandUpdateDot1p | |||
ctc_saiqos.PortQosMapDot1pMaptoColorandUpdateDot1p | |||
ctc_saiqos.PortQosMapDscpMaptoTCandUpdateDSCP | |||
ctc_saiqos.PortQosMapDscpMaptoColorandUpdateDSCP | |||
ctc_saiqos.SetQosMapAttributeTest | |||
ctc_saiqos.WredCreateWithEnableGreenDrop | |||
ctc_saiqos.WredCreateWithEnableYellowDrop | |||
ctc_saiqos.WredCreateWithEnableRedDrop | |||
ctc_saiqos.WredCreateWithEnableAllColorDrop | |||
ctc_saiqos.WredSetWredAttributeTest | |||
ctc_saiqos.QueueCreateQueueIdWithUcTest | |||
ctc_saiqos.QueueCreateQueueIdWithMcTest | |||
ctc_saiqos.QueueSetQueueAttributeWithWredIdTest | |||
ctc_saiqos.GetQueueListFromPortTest | |||
ctc_saiqos.PolicerStressTest | |||
ctc_saiqos.QosMapStressTest | |||
ctc_saiqos.QueueSchedulerTypeSPSchedulingTest | |||
ctc_saiqos.QueueSchedulerTypeDWRRSchedulingTest | |||
ctc_saiqos.PortSchedulerSchedulingTest | |||
ctc_saiqos.QueueSchedulerUpdateWeightTest | |||
ctc_saiqos.QueueSchedulerUpdateTypeTest | |||
ctc_saiqos.QueueSchedulerGroupBindTest | |||
ctc_saiqos.QueueSchedulerGroupUpdateTest | |||
ctc_saiqos.PortGetSchedulerGroupListTest | |||
ctc_saiqos.QueueSchedulerGroupUpdateSchedulerWeightTest | |||
ctc_saiqos.PortGetIngressPGListTest | |||
ctc_saiqos.PortEnableFlowCtlTest | |||
ctc_saiqos.BufferProfileCreateTest | |||
ctc_saiqos.PortSetIngressPGBindBufferProfileTest | |||
ctc_saiqos.PortSetIngressPGBindBufferProfUpdateTest | |||
ctc_saiqos.QueueBindBufferProfileStaticModeTest | |||
ctc_saiqos.QueueBindBufferProfileDynamicModeTest | |||
ctc_saiqos.QueueBindBufferProfileUpdateTest | |||
HASH | ctc_saihash.HashCreateTest | Centec | 5 |
ctc_saihash.HashRemoveTest | |||
ctc_saihash.HashL2LagDefaultTest | |||
ctc_saihash.HashL2LagSetTest | |||
ctc_saihash.HashL3IPv4EcmpHostTest | |||
HOSTIF | saihostif.ControlPlaneBaseTest | SAI | 12 |
saihostif.NoPolicyTest | |||
saihostif.PolicyTest | |||
saihostif.ARPTest | |||
saihostif.DHCPTest | |||
saihostif.LLDPTest | |||
saihostif.LACPTest | |||
saihostif.SNMPTest | |||
saihostif.SSHTest | |||
saihostif.IP2METest | |||
saihostif.TTLErrorTest | |||
saihostif.BGPTest | |||
ctc_saihostif.ARPRequestNoPolicyTest | Centec | 12 | |
ctc_saihostif.ARPResponseNoPolicyTest | |||
ctc_saihostif.BGPV6Test | |||
ctc_saihostif.MTUErrorTest | |||
ctc_saihostif.OSPFTest | |||
ctc_saihostif.DHCPV6Test | |||
ctc_saihostif.VRRPTest | |||
ctc_saihostif.StressTest | |||
ctc_saihostif.HostIfAttributeTest | |||
ctc_saihostif.HostIfTableEntryAttributeTest | |||
ctc_saihostif.HostIfTrapGroupAttributeTest | |||
ctc_saihostif.HostIfTrapAttributeTest | |||
MIRROR | saimirror.spanmonitor | SAI | 8 |
saimirror.erspanmonitor | |||
saimirror.erspan_novlan_monitor | |||
saimirror.IngressLocalMirrorTest | |||
saimirror.IngressRSpanMirrorTest | |||
saimirror.IngressERSpanMirrorTest | |||
saimirror.EgressLocalMirrorTest | |||
saimirror.EgressERSpanMirrorTest | |||
ctc_saimirror.LocalMirrorCreateTest | Centec | 11 | |
ctc_saimirror.LocalMirrorRemoveTest | |||
ctc_saimirror.LocalMirrorSetTest | |||
ctc_saimirror.RspanMirrorCreateTest | |||
ctc_saimirror.RspanMirrorRemoveTest | |||
ctc_saimirror.RspanMirrorSetTest | |||
ctc_saimirror.ERspanMirrorCreateTest | |||
ctc_saimirror.ERspanMirrorRemoveTest | |||
ctc_saimirror.ERspanMirrorSetTest | |||
ctc_saimirror.IngressLocalMirrorSetTestPkt | |||
ctc_saimirror.ERspan_novlan_monitor_SetTestPkt | |||
UDF | ctc_saiudf.UDF_GROUP_CreateTest | Centec | 11 |
ctc_saiudf.UDF_GROUP_RemoveTest | |||
ctc_saiudf.UDF_GROUP_GetTest | |||
ctc_saiudf.UDF_MATCH_CreateTest | |||
ctc_saiudf.UDF_MATCH_RemoveTest | |||
ctc_saiudf.UDF_MATCH_GetTest | |||
ctc_saiudf.UDF_CreateTest | |||
ctc_saiudf.UDF_RemoveTest | |||
ctc_saiudf.UDF_GetTest | |||
ctc_saiudf.UDF_SetTest | |||
ctc_saiudf.UDF_HashL2LagTest | |||
MPLS | ctc_saimpls.Inseg_Entry_CreateTest | Centec | 8 |
ctc_saimpls.Inseg_Entry__RemoveTest | |||
ctc_saimpls.Inseg_Entry_GetTest | |||
ctc_saimpls.Inseg_Entry_SetTest | |||
ctc_saimpls.Ingress_LSR_TEST | |||
ctc_saimpls.Transmit_LSR_TEST | |||
ctc_saimpls.Egress_LSR_TEST | |||
ctc_saimpls.MPLS_PHP_TEST | |||
Sample PKT | ctc_saisamplepacket.SamplepacketCreateTest | Centec | 7 |
ctc_saisamplepacket.SamplepacketRemoveTest | |||
ctc_saisamplepacket.SamplepacketIngressPortTest | |||
ctc_saisamplepacket.SamplepacketEgressPortTest | |||
ctc_saisamplepacket.SamplepacketReceiveCpuPacketAttributeTest | |||
ctc_saisamplepacket.SamplepacketMultiPortTest | |||
ctc_saisamplepacket.SamplepacketStressCreateAndRemoveTest | |||
Switch | ctc_sai_advanced_switch.Get_fdb_cnt | Centec | 13 |
ctc_sai_advanced_switch.Get_ipv4_route_cnt | |||
ctc_sai_advanced_switch.Get_ipv6_route_cnt | |||
ctc_sai_advanced_switch.Get_nexthop_cnt | |||
ctc_sai_advanced_switch.Get_ipv4_neighbor_cnt | |||
ctc_sai_advanced_switch.Get_ipv6_neighbor_cnt | |||
ctc_sai_advanced_switch.Get_nexthop_group_cnt | |||
ctc_sai_advanced_switch.Get_nexthop_group_member_cnt | |||
ctc_sai_advanced_switch.Get_l2mc_cnt | |||
ctc_sai_advanced_switch.Get_ipmc_cnt | |||
ctc_sai_advanced_switch.Fdb_unicast_miss_pkt_action | |||
ctc_sai_advanced_switch.Fdb_multicast_miss_pkt_action | |||
ctc_sai_advanced_switch.Fdb_broadcast_miss_pkt_action | |||
Tunnel | ctc_saitunnel.TunnelCreateTunnelMapEntryTest | Centec | 12 |
ctc_saitunnel.TunnelCreateTunnelMapTest | |||
ctc_saitunnel.TunnelCreateTunnelTest | |||
ctc_saitunnel.TunnelRemoveTunnelTest | |||
ctc_saitunnel.TunnelCreateTunnelTermTableEntryTest | |||
ctc_saitunnel.TunnelCreateIpInIpTest | |||
ctc_saitunnel.TunnelCreateIpInIpTtlTest | |||
ctc_saitunnel.TunnelCreateIpInIpDscpTest | |||
ctc_saitunnel.TunnelCreateIpInIpGreTest | |||
ctc_saitunnel.TunnelCreateVxlanVlanMappingTest | |||
ctc_saitunnel.TunnelCreateVxlanBridgeMappingTest | |||
ctc_saitunnel.TunnelCreateVxlanDefaultVrfMappingTest | |||
Total | 306 |