Documentation
¶
Overview ¶
Package deviations defines the arguments to enable temporary workarounds for the featureprofiles test suite using command line flags.
If we consider device compliance level in tiers:
- Tier 0: Full OpenConfig compliance. The device can do everything specified by OpenConfig.
- Tier 1: Test plan compliance. The device can pass a test without deviation, which means it satisfies the test requirements. This is the target compliance tier for featureprofiles tests.
- Tier 2: Deviated test plan compliance. The device can pass a test with deviation.
Deviations typically work by reducing testing requirements or by changing the way the configuration is done. However, the targeted compliance tier is always without deviation.
Requirements for deviations:
- Deviations may only use OpenConfig compliant behavior.
- Deviations should be small in scope, typically affecting one subtest, one OpenConfig path or small OpenConfig subtree.
If a device could not pass without deviation, that is considered non-compliant behavior. Ideally, a device should pass both with and without a deviation which means the deviation could be safely removed. However, when the OpenConfig model allows the device to reject the deviated case even if it is compliant, then this should be explained on a case-by-case basis.
To add, remove and enable deviations follow the guidelines at deviations/README.md
Index ¶
- func ATEIPv6FlowLabelUnsupported(ate *ondatra.ATEDevice) bool
- func ATEPortLinkStateOperationsUnsupported(ate *ondatra.ATEDevice) bool
- func AddMissingBaseConfigViaCli(dut *ondatra.DUTDevice) bool
- func AggregateAtomicUpdate(dut *ondatra.DUTDevice) bool
- func BGPConditionsMatchCommunitySetUnsupported(dut *ondatra.DUTDevice) bool
- func BGPExplicitPrefixLimitReceived(dut *ondatra.DUTDevice) bool
- func BGPGlobalExtendedNextHopEncodingUnsupported(dut *ondatra.DUTDevice) bool
- func BGPMD5RequiresReset(dut *ondatra.DUTDevice) bool
- func BGPMissingOCMaxPrefixesConfiguration(dut *ondatra.DUTDevice) bool
- func BGPRibOcPathUnsupported(dut *ondatra.DUTDevice) bool
- func BGPSetMedRequiresEqualOspfSetMetric(dut *ondatra.DUTDevice) bool
- func BGPTrafficTolerance(dut *ondatra.DUTDevice) int32
- func BackplaneFacingCapacityUnsupported(dut *ondatra.DUTDevice) bool
- func BackupNHGRequiresVrfWithDecap(dut *ondatra.DUTDevice) bool
- func BannerDelimiter(dut *ondatra.DUTDevice) string
- func BgpActionsSetCommunityMethodUnsupported(dut *ondatra.DUTDevice) bool
- func BgpAfiSafiInDefaultNiBeforeOtherNi(dut *ondatra.DUTDevice) bool
- func BgpAfiSafiWildcardNotSupported(dut *ondatra.DUTDevice) bool
- func BgpAllowownasDiffDefaultValue(dut *ondatra.DUTDevice) bool
- func BgpCommunityMemberIsAString(dut *ondatra.DUTDevice) bool
- func BgpCommunitySetRefsUnsupported(dut *ondatra.DUTDevice) bool
- func BgpDefaultPolicyUnsupported(dut *ondatra.DUTDevice) bool
- func BgpDeleteLinkBandwidthUnsupported(dut *ondatra.DUTDevice) bool
- func BgpExplicitExtendedCommunityEnable(dut *ondatra.DUTDevice) bool
- func BgpExtendedCommunityIndexUnsupported(dut *ondatra.DUTDevice) bool
- func BgpExtendedCommunitySetUnsupported(dut *ondatra.DUTDevice) bool
- func BgpExtendedNextHopEncodingLeafUnsupported(dut *ondatra.DUTDevice) bool
- func BgpLlgrOcUndefined(dut *ondatra.DUTDevice) bool
- func BgpMaxMultipathPathsUnsupported(dut *ondatra.DUTDevice) bool
- func BgpPrefixsetReqRoutepolRef(dut *ondatra.DUTDevice) bool
- func BgpSessionStateIdleInPassiveMode(dut *ondatra.DUTDevice) bool
- func BgpSetExtCommunitySetRefsUnsupported(dut *ondatra.DUTDevice) bool
- func BgpSetMedV7Unsupported(dut *ondatra.DUTDevice) bool
- func CLITakesPrecedenceOverOC(dut *ondatra.DUTDevice) bool
- func CPUMissingAncestor(dut *ondatra.DUTDevice) bool
- func ChannelRateClassParametersUnsupported(dut *ondatra.DUTDevice) bool
- func ChassisGetRPCUnsupported(dut *ondatra.DUTDevice) bool
- func CiscoPreFECBERInactiveValue(dut *ondatra.DUTDevice) bool
- func CommunityInvertAnyUnsupported(dut *ondatra.DUTDevice) bool
- func CommunityMatchWithRedistributionUnsupported(dut *ondatra.DUTDevice) bool
- func CommunityMemberRegexUnsupported(dut *ondatra.DUTDevice) bool
- func ComponentMfgDateUnsupported(dut *ondatra.DUTDevice) bool
- func ConnectRetry(dut *ondatra.DUTDevice) bool
- func ConsistentComponentNamesUnsupported(dut *ondatra.DUTDevice) bool
- func ControllerCardCPUUtilizationUnsupported(dut *ondatra.DUTDevice) bool
- func DecapNHWithNextHopNIUnsupported(dut *ondatra.DUTDevice) bool
- func DefaultBgpInstanceName(dut *ondatra.DUTDevice) string
- func DefaultImportExportPolicyUnsupported(dut *ondatra.DUTDevice) bool
- func DefaultNetworkInstance(dut *ondatra.DUTDevice) string
- func DefaultRoutePolicyUnsupported(dut *ondatra.DUTDevice) bool
- func DeprecatedVlanID(dut *ondatra.DUTDevice) bool
- func DequeueDeleteNotCountedAsDrops(dut *ondatra.DUTDevice) bool
- func DropWeightLeavesUnsupported(dut *ondatra.DUTDevice) bool
- func ECNProfileRequiredDefinition(dut *ondatra.DUTDevice) bool
- func EcnSameMinMaxThresholdUnsupported(dut *ondatra.DUTDevice) bool
- func EnableMultipathUnderAfiSafi(dut *ondatra.DUTDevice) bool
- func EnableTableConnections(dut *ondatra.DUTDevice) bool
- func EncapTunnelShutBackupNhgZeroTraffic(dut *ondatra.DUTDevice) bool
- func EthChannelAssignmentCiscoNumbering(dut *ondatra.DUTDevice) bool
- func EthChannelIngressParametersUnsupported(dut *ondatra.DUTDevice) bool
- func ExplicitEnableBGPOnDefaultVRF(dut *ondatra.DUTDevice) bool
- func ExplicitIPv6EnableForGRIBI(dut *ondatra.DUTDevice) bool
- func ExplicitInterfaceInDefaultVRF(dut *ondatra.DUTDevice) bool
- func ExplicitInterfaceRefDefinition(dut *ondatra.DUTDevice) bool
- func ExplicitPortSpeed(dut *ondatra.DUTDevice) bool
- func FabricDropCounterUnsupported(dut *ondatra.DUTDevice) bool
- func FlattenPolicyWithMultipleStatements(dut *ondatra.DUTDevice) bool
- func FragmentTotalDropsUnsupported(dut *ondatra.DUTDevice) bool
- func GNMIGetOnRootUnsupported(dut *ondatra.DUTDevice) bool
- func GNOIFabricComponentRebootUnsupported(dut *ondatra.DUTDevice) bool
- func GNOIStatusWithEmptySubcomponent(dut *ondatra.DUTDevice) bool
- func GNOISubcomponentPath(dut *ondatra.DUTDevice) bool
- func GNOISubcomponentRebootStatusUnsupported(dut *ondatra.DUTDevice) bool
- func GNOISwitchoverReasonMissingUserInitiated(dut *ondatra.DUTDevice) bool
- func GRIBIMACOverrideStaticARPStaticRoute(dut *ondatra.DUTDevice) bool
- func GRIBIMACOverrideWithStaticARP(dut *ondatra.DUTDevice) bool
- func GRIBIRIBAckOnly(dut *ondatra.DUTDevice) bool
- func GRIBISkipFIBFailedTrafficForwardingCheck(dut *ondatra.DUTDevice) bool
- func GribiDecapMixedPlenUnsupported(dut *ondatra.DUTDevice) bool
- func GribiEncapHeaderUnsupported(dut *ondatra.DUTDevice) bool
- func HierarchicalWeightResolutionTolerance(dut *ondatra.DUTDevice) float64
- func IPNeighborMissing(dut *ondatra.DUTDevice) bool
- func IPv4MissingEnabled(dut *ondatra.DUTDevice) bool
- func IPv4StaticRouteWithIPv6NextHopUnsupported(dut *ondatra.DUTDevice) bool
- func IPv6StaticRouteWithIPv4NextHopRequiresStaticARP(dut *ondatra.DUTDevice) bool
- func IPv6StaticRouteWithIPv4NextHopUnsupported(dut *ondatra.DUTDevice) bool
- func ISISCounterManualAddressDropFromAreasUnsupported(dut *ondatra.DUTDevice) bool
- func ISISCounterPartChangesUnsupported(dut *ondatra.DUTDevice) bool
- func ISISExplicitLevelAuthenticationConfig(dut *ondatra.DUTDevice) bool
- func ISISGlobalAuthenticationNotRequired(dut *ondatra.DUTDevice) bool
- func ISISInstanceEnabledRequired(dut *ondatra.DUTDevice) bool
- func ISISInterfaceAfiUnsupported(dut *ondatra.DUTDevice) bool
- func ISISInterfaceLevel1DisableRequired(dut *ondatra.DUTDevice) bool
- func ISISLevelEnabled(dut *ondatra.DUTDevice) bool
- func ISISLoopbackRequired(dut *ondatra.DUTDevice) bool
- func ISISLspMetadataLeafsUnsupported(dut *ondatra.DUTDevice) bool
- func ISISMetricStyleTelemetryUnsupported(dut *ondatra.DUTDevice) bool
- func ISISMultiTopologyUnsupported(dut *ondatra.DUTDevice) bool
- func ISISRequireSameL1MetricWithL2Metric(dut *ondatra.DUTDevice) bool
- func ISISRestartSuppressUnsupported(dut *ondatra.DUTDevice) bool
- func ISISSingleTopologyRequired(dut *ondatra.DUTDevice) bool
- func ISISTimersCsnpIntervalUnsupported(dut *ondatra.DUTDevice) bool
- func InstallOSForStandbyRP(dut *ondatra.DUTDevice) bool
- func InstallPositionAndInstallComponentUnsupported(dut *ondatra.DUTDevice) bool
- func InterfaceConfigVRFBeforeAddress(dut *ondatra.DUTDevice) bool
- func InterfaceCountersFromContainer(dut *ondatra.DUTDevice) bool
- func InterfaceCountersUpdateDelayed(dut *ondatra.DUTDevice) bool
- func InterfaceEnabled(dut *ondatra.DUTDevice) bool
- func InterfaceLoopbackModeRawGnmi(dut *ondatra.DUTDevice) bool
- func InterfaceRefConfigUnsupported(dut *ondatra.DUTDevice) bool
- func InterfaceRefInterfaceIDFormat(dut *ondatra.DUTDevice) bool
- func Ipv6DiscardedPktsUnsupported(dut *ondatra.DUTDevice) bool
- func Ipv6RouterAdvertisementConfigUnsupported(dut *ondatra.DUTDevice) bool
- func Ipv6RouterAdvertisementIntervalUnsupported(dut *ondatra.DUTDevice) bool
- func IsisDatabaseOverloadsUnsupported(dut *ondatra.DUTDevice) bool
- func IsisDisSysidUnsupported(dut *ondatra.DUTDevice) bool
- func IsisInterfaceLevelPassiveUnsupported(dut *ondatra.DUTDevice) bool
- func LLDPInterfaceConfigOverrideGlobal(dut *ondatra.DUTDevice) bool
- func LinecardCPUUtilizationUnsupported(dut *ondatra.DUTDevice) bool
- func LinecardMemoryUtilizationUnsupported(dut *ondatra.DUTDevice) bool
- func LinkLocalMaskLen(dut *ondatra.DUTDevice) bool
- func LinkQualWaitAfterDeleteRequired(dut *ondatra.DUTDevice) bool
- func MatchTagSetConditionUnsupported(dut *ondatra.DUTDevice) bool
- func MaxEcmpPaths(dut *ondatra.DUTDevice) bool
- func MemberLinkLoopbackUnsupported(dut *ondatra.DUTDevice) bool
- func MismatchedHardwareResourceNameInComponent(dut *ondatra.DUTDevice) bool
- func MissingBgpLastNotificationErrorCode(dut *ondatra.DUTDevice) bool
- func MissingHardwareResourceTelemetryBeforeConfig(dut *ondatra.DUTDevice) bool
- func MissingIsisInterfaceAfiSafiEnable(dut *ondatra.DUTDevice) bool
- func MissingPortToOpticalChannelMapping(dut *ondatra.DUTDevice) bool
- func MissingPrePolicyReceivedRoutes(dut *ondatra.DUTDevice) bool
- func MissingStaticRouteDropNextHopTelemetry(dut *ondatra.DUTDevice) bool
- func MissingStaticRouteNextHopMetricTelemetry(dut *ondatra.DUTDevice) bool
- func MissingValueForDefaults(dut *ondatra.DUTDevice) bool
- func MissingZROpticalChannelTunableParametersTelemetry(dut *ondatra.DUTDevice) bool
- func ModelNameUnsupported(dut *ondatra.DUTDevice) bool
- func MultipathUnsupportedNeighborOrAfisafi(dut *ondatra.DUTDevice) bool
- func NetworkInstanceTableDeletionRequired(dut *ondatra.DUTDevice) bool
- func NoMixOfTaggedAndUntaggedSubinterfaces(dut *ondatra.DUTDevice) bool
- func NoZeroSuppression(dut *ondatra.DUTDevice) bool
- func NtpNonDefaultVrfUnsupported(dut *ondatra.DUTDevice) bool
- func OSActivateNoReboot(dut *ondatra.DUTDevice) bool
- func OSComponentParentIsChassis(dut *ondatra.DUTDevice) bool
- func OSComponentParentIsSupervisorOrLinecard(dut *ondatra.DUTDevice) bool
- func OTNChannelAssignmentCiscoNumbering(dut *ondatra.DUTDevice) bool
- func OTNChannelTribUnsupported(dut *ondatra.DUTDevice) bool
- func OmitL2MTU(dut *ondatra.DUTDevice) bool
- func OperStatusForIcUnsupported(dut *ondatra.DUTDevice) bool
- func OperationalModeUnsupported(dut *ondatra.DUTDevice) bool
- func OverrideDefaultNhScale(dut *ondatra.DUTDevice) bool
- func P4RTCapabilitiesUnsupported(dut *ondatra.DUTDevice) bool
- func P4RTGdpRequiresDot1QSubinterface(dut *ondatra.DUTDevice) bool
- func P4RTModifyTableEntryUnsupported(dut *ondatra.DUTDevice) bool
- func P4rtBackupArbitrationResponseCode(dut *ondatra.DUTDevice) bool
- func P4rtUnsetElectionIDPrimaryAllowed(dut *ondatra.DUTDevice) bool
- func PLQGeneratorCapabilitiesMaxMTU(dut *ondatra.DUTDevice) uint32
- func PLQGeneratorCapabilitiesMaxPPS(dut *ondatra.DUTDevice) uint64
- func PLQReflectorStatsUnsupported(dut *ondatra.DUTDevice) bool
- func PacketProcessingAggregateDropsUnsupported(dut *ondatra.DUTDevice) bool
- func PeerGroupDefEbgpVrfUnsupported(dut *ondatra.DUTDevice) bool
- func PfRequireMatchDefaultRule(dut *ondatra.DUTDevice) bool
- func PfRequireSequentialOrderPbrRules(dut *ondatra.DUTDevice) bool
- func PowerDisableEnableLeafRefValidation(dut *ondatra.DUTDevice) bool
- func PrefixLimitExceededTelemetryUnsupported(dut *ondatra.DUTDevice) bool
- func QOSBufferAllocationConfigRequired(dut *ondatra.DUTDevice) bool
- func QOSDroppedOctets(dut *ondatra.DUTDevice) bool
- func QOSInQueueDropCounterUnsupported(dut *ondatra.DUTDevice) bool
- func QOSOctets(dut *ondatra.DUTDevice) bool
- func QOSQueueRequiresID(dut *ondatra.DUTDevice) bool
- func QOSVoqDropCounterUnsupported(dut *ondatra.DUTDevice) bool
- func QosGetStatePathUnsupported(dut *ondatra.DUTDevice) bool
- func QosSchedulerConfigRequired(dut *ondatra.DUTDevice) bool
- func QosSchedulerIngressPolicer(dut *ondatra.DUTDevice) bool
- func QosSetWeightConfigUnsupported(dut *ondatra.DUTDevice) bool
- func RedisConnectedUnderEbgpVrfUnsupported(dut *ondatra.DUTDevice) bool
- func ReorderCallsForVendorCompatibilty(dut *ondatra.DUTDevice) bool
- func RequireRoutedSubinterface0(dut *ondatra.DUTDevice) bool
- func RibWecmp(dut *ondatra.DUTDevice) bool
- func RoutePolicyUnderAFIUnsupported(dut *ondatra.DUTDevice) bool
- func RoutingPolicyChainingUnsupported(dut *ondatra.DUTDevice) bool
- func RoutingPolicyTagSetEmbedded(dut *ondatra.DUTDevice) bool
- func SSHServerCountersUnsupported(dut *ondatra.DUTDevice) bool
- func SamePolicyAttachedToAllAfis(dut *ondatra.DUTDevice) bool
- func SchedulerInputWeightLimit(dut *ondatra.DUTDevice) bool
- func SetMetricAsPreference(dut *ondatra.DUTDevice) bool
- func SetNativeUser(dut *ondatra.DUTDevice) bool
- func SetNoPeerGroup(dut *ondatra.DUTDevice) bool
- func SflowSourceAddressUpdateUnsupported(dut *ondatra.DUTDevice) bool
- func SkipAfiSafiPathForBgpMultipleAs(dut *ondatra.DUTDevice) bool
- func SkipBgpSendCommunityType(dut *ondatra.DUTDevice) bool
- func SkipBgpSessionCheckWithoutAfisafi(dut *ondatra.DUTDevice) bool
- func SkipCheckingAttributeIndex(dut *ondatra.DUTDevice) bool
- func SkipContainerOp(dut *ondatra.DUTDevice) bool
- func SkipControllerCardPowerAdmin(dut *ondatra.DUTDevice) bool
- func SkipIsisSetLevel(dut *ondatra.DUTDevice) bool
- func SkipIsisSetMetricStyleType(dut *ondatra.DUTDevice) bool
- func SkipMacaddressCheck(dut *ondatra.DUTDevice) bool
- func SkipNonBgpRouteExportCheck(dut *ondatra.DUTDevice) bool
- func SkipPlqInterfaceOperStatusCheck(dut *ondatra.DUTDevice) bool
- func SkipPrefixSetMode(dut *ondatra.DUTDevice) bool
- func SkipSetRpMatchSetOptions(dut *ondatra.DUTDevice) bool
- func SkipSettingAllowMultipleAS(dut *ondatra.DUTDevice) bool
- func SkipSettingDisableMetricPropagation(dut *ondatra.DUTDevice) bool
- func SkipSettingStatementForPolicy(dut *ondatra.DUTDevice) bool
- func SkipStaticNexthopCheck(dut *ondatra.DUTDevice) bool
- func SkipTCPNegotiatedMSSCheck(dut *ondatra.DUTDevice) bool
- func SlaacPrefixLength128(dut *ondatra.DUTDevice) bool
- func StatePathsUnsupported(dut *ondatra.DUTDevice) bool
- func StaticLspConfigUnsupported(dut *ondatra.DUTDevice) bool
- func StaticProtocolName(dut *ondatra.DUTDevice) string
- func StaticRouteNextHopInterfaceRefUnsupported(dut *ondatra.DUTDevice) bool
- func StaticRouteWithDropNhUnsupported(dut *ondatra.DUTDevice) bool
- func StaticRouteWithExplicitMetric(dut *ondatra.DUTDevice) bool
- func StorageComponentUnsupported(dut *ondatra.DUTDevice) bool
- func SubinterfacePacketCountersMissing(dut *ondatra.DUTDevice) bool
- func SwVersionUnsupported(dut *ondatra.DUTDevice) bool
- func SwitchChipIDUnsupported(dut *ondatra.DUTDevice) bool
- func TableConnectionsUnsupported(dut *ondatra.DUTDevice) bool
- func TcAttributePropagationUnsupported(dut *ondatra.DUTDevice) bool
- func TcDefaultImportPolicyUnsupported(dut *ondatra.DUTDevice) bool
- func TcMetricPropagationUnsupported(dut *ondatra.DUTDevice) bool
- func TcSubscriptionUnsupported(dut *ondatra.DUTDevice) bool
- func TraceRouteL4ProtocolUDP(dut *ondatra.DUTDevice) bool
- func TransceiverThresholdsUnsupported(dut *ondatra.DUTDevice) bool
- func TunnelConfigPathUnsupported(dut *ondatra.DUTDevice) bool
- func TunnelStatePathUnsupported(dut *ondatra.DUTDevice) bool
- func UnsupportedStaticRouteNextHopRecurse(dut *ondatra.DUTDevice) bool
- func UseParentComponentForTemperatureTelemetry(dut *ondatra.DUTDevice) bool
- func UseVendorNativeTagSetConfig(dut *ondatra.DUTDevice) bool
- func WecmpAutoUnsupported(dut *ondatra.DUTDevice) bool
- func WeightedEcmpFixedPacketVerification(dut *ondatra.DUTDevice) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ATEIPv6FlowLabelUnsupported ¶
ATEIPv6FlowLabelUnsupported returns true for traffic generators that do not support IPv6 flow labels
func ATEPortLinkStateOperationsUnsupported ¶
ATEPortLinkStateOperationsUnsupported returns true for traffic generators that do not support port link state control operations (such as port shutdown.)
func AddMissingBaseConfigViaCli ¶
AddMissingBaseConfigViaCli returns true if missing base config needs to be added using CLI. Cisco: https://partnerissuetracker.corp.google.com/issues/322291556
func AggregateAtomicUpdate ¶
AggregateAtomicUpdate returns if device requires that aggregate Port-Channel and its members be defined in a single gNMI Update transaction at /interfaces, Otherwise lag-type will be dropped, and no member can be added to the aggregate. Full OpenConfig compliant devices should pass both with and without this deviation.
func BGPConditionsMatchCommunitySetUnsupported ¶
BGPConditionsMatchCommunitySetUnsupported returns true if device doesn't support bgp-conditions/match-community-set leaf
func BGPExplicitPrefixLimitReceived ¶
BGPExplicitPrefixLimitReceived returns if device must specify the received prefix limits explicitly under the "prefix-limit-received" field rather than simply "prefix-limit".
func BGPGlobalExtendedNextHopEncodingUnsupported ¶
BGPGlobalExtendedNextHopEncodingUnsupported returns true for devices that do not support configuring BGP ExtendedNextHopEncoding at the global level.
func BGPMD5RequiresReset ¶
BGPMD5RequiresReset returns if device requires a BGP session reset to utilize a new MD5 key.
func BGPMissingOCMaxPrefixesConfiguration ¶
BGPMissingOCMaxPrefixesConfiguration returns true for devices that does not configure BGP maximum routes correctly when max-prefixes OC leaf is configured.
func BGPRibOcPathUnsupported ¶
BGPRibOcPathUnsupported returns true if BGP RIB OC telemetry path is not supported.
func BGPSetMedRequiresEqualOspfSetMetric ¶
BGPSetMedRequiresEqualOspfSetMetric returns true for devices that require configuring the same OSPF setMetric when BGP SetMED is configured.
func BGPTrafficTolerance ¶
BGPTrafficTolerance returns the allowed tolerance for BGP traffic flow while comparing for pass or fail conditions.
func BackplaneFacingCapacityUnsupported ¶
BackplaneFacingCapacityUnsupported returns whether the device supports backplane-facing-capacity leaves for some components.
func BackupNHGRequiresVrfWithDecap ¶
BackupNHGRequiresVrfWithDecap returns true for devices that require IPOverIP Decapsulation for Backup NHG without interfaces.
func BannerDelimiter ¶
BannerDelimiter returns if device requires the banner to have a delimiter character. Full OpenConfig compliant devices should work without delimiter.
func BgpActionsSetCommunityMethodUnsupported ¶
BgpActionsSetCommunityMethodUnsupported return true if BGP actions set-community method is unsupported
func BgpAfiSafiInDefaultNiBeforeOtherNi ¶
BgpAfiSafiInDefaultNiBeforeOtherNi returns true if certain AFI SAFIs are configured in default network instance before other network instances
func BgpAfiSafiWildcardNotSupported ¶
BgpAfiSafiWildcardNotSupported return true if bgp afi/safi wildcard query is not supported. For example, this yang path query includes the wildcard key `afi-safi-name=`: `/network-instances/network-instance[name=DEFAULT]/protocols/protocol[identifier=BGP][name=BGP]/bgp/neighbors/neighbor[neighbor-address=192.0.2.2]/afi-safis/afi-safi[afi-safi-name=]`. Use of this deviation is permitted if a query using an explicit key is supported (such as `oc.BgpTypes_AFI_SAFI_TYPE_IPV4_UNICAST`).
func BgpAllowownasDiffDefaultValue ¶
BgpAllowownasDiffDefaultValue permits a device to have a different default value for allow own as.
func BgpCommunityMemberIsAString ¶
BgpCommunityMemberIsAString returns true if device community member is not a list
func BgpCommunitySetRefsUnsupported ¶
BgpCommunitySetRefsUnsupported return true if BGP community set refs is not supported.
func BgpDefaultPolicyUnsupported ¶
BgpDefaultPolicyUnsupported return true if BGP default-import/export-policy is not supported.
func BgpDeleteLinkBandwidthUnsupported ¶
BgpDeleteLinkBandwidthUnsupported returns true if bgp delete link bandwidth is unsupported
func BgpExplicitExtendedCommunityEnable ¶
BgpExplicitExtendedCommunityEnable returns true if explicit extended community enable is needed
func BgpExtendedCommunityIndexUnsupported ¶
BgpExtendedCommunityIndexUnsupported return true if BGP extended community index is not supported.
func BgpExtendedCommunitySetUnsupported ¶
BgpExtendedCommunitySetUnsupported returns true if set bgp extended community is unsupported
func BgpExtendedNextHopEncodingLeafUnsupported ¶
BgpExtendedNextHopEncodingLeafUnsupported return true if bgp extended next hop encoding leaf is unsupported Cisco supports the extended nexthop encoding set to true by default that is exercised in the Script where the extended-nexthop-encoding a bool value is set to true.
func BgpLlgrOcUndefined ¶
BgpLlgrOcUndefined returns true if device does not support OC path to disable BGP LLGR.
func BgpMaxMultipathPathsUnsupported ¶
BgpMaxMultipathPathsUnsupported returns true if the device does not support bgp max multipaths.
func BgpPrefixsetReqRoutepolRef ¶
Devices needs route policy reference to stream prefix set info.
func BgpSessionStateIdleInPassiveMode ¶
BgpSessionStateIdleInPassiveMode returns true if BGP session state idle is not supported instead of active in passive mode.
func BgpSetExtCommunitySetRefsUnsupported ¶
BgpSetExtCommunitySetRefsUnsupported returns true if bgp set ext community refs is unsupported
func BgpSetMedV7Unsupported ¶
BgpSetMedV7Unsupported returns true if devices which are not supporting bgp set med union type in OC.
func CLITakesPrecedenceOverOC ¶
CLITakesPrecedenceOverOC returns whether config pushed through origin CLI takes precedence over config pushed through origin OC.
func CPUMissingAncestor ¶
CPUMissingAncestor deviation set to true for devices where the CPU components do not map to a FRU parent component in the OC tree.
func ChannelRateClassParametersUnsupported ¶
ChannelRateClassParametersUnsupported returns true if channel rate class parameters are unsupported
func ChassisGetRPCUnsupported ¶
ChassisGetRPCUnsupported returns true if a Healthz Get RPC against the Chassis component is unsupported
func CiscoPreFECBERInactiveValue ¶
CiscoPreFECBERInactiveValue returns true if a non-zero pre-fec-ber value is to be used for Cisco
func CommunityInvertAnyUnsupported ¶
CommunityInvertAnyUnsupported returns true when device does not support community invert any.
func CommunityMatchWithRedistributionUnsupported ¶
CommunityMatchWithRedistributionUnsupported is set to true for devices that do not support matching community at the redistribution attach point.
func CommunityMemberRegexUnsupported ¶
CommunityMemberRegexUnsupported return true if device do not support community member regex
func ComponentMfgDateUnsupported ¶
ComponentMfgDateUnsupported returns true if component's mfg-date leaf is unsupported
func ConnectRetry ¶
ConnectRetry returns if /bgp/neighbors/neighbor/timers/config/connect-retry is not supported.
func ConsistentComponentNamesUnsupported ¶
ConsistentComponentNamesUnsupported returns if the device does not support consistent component names for GNOI and GNMI. Default value is false.
func ControllerCardCPUUtilizationUnsupported ¶
ControllerCardCPUUtilizationUnsupported returns if the device does not support telemetry path /components/component/cpu/utilization/state/avg for controller cards' CPU card. Default value is false.
func DecapNHWithNextHopNIUnsupported ¶
DecapNHWithNextHopNIUnsupported returns true if Decap NH with NextHopNetworkInstance is unsupported
func DefaultBgpInstanceName ¶
DefaultBgpInstanceName returns bgp instance name as set in deviation to override default value "DEFAULT"
func DefaultImportExportPolicyUnsupported ¶
DefaultImportExportPolicyUnsupported returns true when device does not support default import export policy.
func DefaultNetworkInstance ¶
DefaultNetworkInstance returns the name used for the default network instance for VRF.
func DefaultRoutePolicyUnsupported ¶
DefaultRoutePolicyUnsupported returns true if default route policy is not supported
func DeprecatedVlanID ¶
DeprecatedVlanID returns if device requires using the deprecated openconfig-vlan:vlan/config/vlan-id or openconfig-vlan:vlan/state/vlan-id leaves.
func DequeueDeleteNotCountedAsDrops ¶
DequeueDeleteNotCountedAsDrops returns if device dequeues and deletes the pkts after a while and those are not counted as drops
func DropWeightLeavesUnsupported ¶
DropWeightLeavesUnsupported returns whether the device supports drop and weight leaves under queue management profile.
func ECNProfileRequiredDefinition ¶
ECNProfileRequiredDefinition returns whether the device requires additional config for ECN.
func EcnSameMinMaxThresholdUnsupported ¶
EcnSameMinMaxThresholdUnsupported returns true for devices that don't support the same minimum and maximum threshold values CISCO: minimum and maximum threshold values are not the same, the difference between minimum and maximum threshold value should be 6144.
func EnableMultipathUnderAfiSafi ¶
EnableMultipathUnderAfiSafi returns true for devices that do not support multipath under /global path and instead support under global/afi/safi path.
func EnableTableConnections ¶
EnableTableConnections returns true if admin state of tableconnections needs to be enabled in SRL native model
func EncapTunnelShutBackupNhgZeroTraffic ¶
EncapTunnelShutBackupNhgZeroTraffic returns true when encap tunnel is shut then zero traffic flows to back-up NHG
func EthChannelAssignmentCiscoNumbering ¶
EthChannelAssignmentCiscoNumbering returns true if eth channel assignment index starts from 1 instead of 0
func EthChannelIngressParametersUnsupported ¶
EthChannelIngressParametersUnsupported returns true if ingress parameters are unsupported under ETH channel configuration
func ExplicitEnableBGPOnDefaultVRF ¶
ExplicitEnableBGPOnDefaultVRF return true if BGP needs to be explicitly enabled on default VRF
func ExplicitIPv6EnableForGRIBI ¶
ExplicitIPv6EnableForGRIBI returns if device requires Ipv6 to be enabled on interface for gRIBI NH programmed with destination mac address.
func ExplicitInterfaceInDefaultVRF ¶
ExplicitInterfaceInDefaultVRF returns if device requires explicit attachment of an interface or subinterface to the default network instance. OpenConfig expects an unattached interface or subinterface to be implicitly part of the default network instance. Fully-compliant devices should pass with and without this deviation.
func ExplicitInterfaceRefDefinition ¶
ExplicitInterfaceRefDefinition returns if device requires explicit interface ref configuration when applying features to interface.
func ExplicitPortSpeed ¶
ExplicitPortSpeed returns if device requires port-speed to be set because its default value may not be usable. Fully compliant devices selects the highest speed available based on negotiation.
func FabricDropCounterUnsupported ¶
FabricDropCounterUnsupported returns if the device does not support counter for fabric block lost packets. Default value is false.
func FlattenPolicyWithMultipleStatements ¶
FlattenPolicyWithMultipleStatements return true if devices does not support policy-chaining
func FragmentTotalDropsUnsupported ¶
FragmentTotalDropsUnsupported returns true if the device does not support fragment total drops.
func GNMIGetOnRootUnsupported ¶
GNMIGetOnRootUnsupported returns true if the device does not support gNMI get on root.
func GNOIFabricComponentRebootUnsupported ¶
GNOIFabricComponentRebootUnsupported returns if device does not support use using gNOI to reboot the Fabric Component.
func GNOIStatusWithEmptySubcomponent ¶
GNOIStatusWithEmptySubcomponent returns if the response of gNOI reboot status is a single value (not a list), the device requires explicit component path to account for a situation when there is more than one active reboot requests.
func GNOISubcomponentPath ¶
GNOISubcomponentPath returns if device currently uses component name instead of a full openconfig path.
func GNOISubcomponentRebootStatusUnsupported ¶
GNOISubcomponentRebootStatusUnsupported returns true for devices that do not support subcomponent reboot status check.
func GNOISwitchoverReasonMissingUserInitiated ¶
GNOISwitchoverReasonMissingUserInitiated returns true for devices that don't report last-switchover-reason as USER_INITIATED for gNOI.SwitchControlProcessor.
func GRIBIMACOverrideStaticARPStaticRoute ¶
GRIBIMACOverrideStaticARPStaticRoute returns whether the device needs to configure Static ARP + Static Route to override setting MAC address in Next Hop.
func GRIBIMACOverrideWithStaticARP ¶
GRIBIMACOverrideWithStaticARP returns whether for a gRIBI IPv4 route the device does not support a mac-address only next-hop-entry.
func GRIBIRIBAckOnly ¶
GRIBIRIBAckOnly returns if device only supports RIB ack, so tests that normally expect FIB_ACK will allow just RIB_ACK. Full gRIBI compliant devices should pass both with and without this deviation.
func GRIBISkipFIBFailedTrafficForwardingCheck ¶
GRIBISkipFIBFailedTrafficForwardingCheck returns true for devices that do not support fib forwarding for fib failed routes.
func GribiDecapMixedPlenUnsupported ¶
GribiDecapMixedPlenUnsupported returns true if devices does not support programming with mixed prefix length.
func GribiEncapHeaderUnsupported ¶
GribiEncapHeaderUnsupported returns true if gribi encap header is unsupported
func HierarchicalWeightResolutionTolerance ¶
HierarchicalWeightResolutionTolerance returns the allowed tolerance for BGP traffic flow while comparing for pass or fail conditions. Default minimum value is 0.2. Anything less than 0.2 will be set to 0.2.
func IPNeighborMissing ¶
IPNeighborMissing returns true if the device does not support interface/ipv4(6)/neighbor, so test can suppress the related check for interface/ipv4(6)/neighbor.
func IPv4MissingEnabled ¶
IPv4MissingEnabled returns if device does not support interface/ipv4/enabled.
func IPv4StaticRouteWithIPv6NextHopUnsupported ¶
IPv4StaticRouteWithIPv6NextHopUnsupported unsupported ipv4 with ipv6 nexthop
func IPv6StaticRouteWithIPv4NextHopRequiresStaticARP ¶
IPv6StaticRouteWithIPv4NextHopRequiresStaticARP returns true if devices don't support having an IPv6 static Route with an IPv4 address as next hop and requires configuring a static ARP entry. Arista: https://partnerissuetracker.corp.google.com/issues/316593298
func IPv6StaticRouteWithIPv4NextHopUnsupported ¶
IPv6StaticRouteWithIPv4NextHopUnsupported unsupported ipv6 with ipv4 nexthop
func ISISCounterManualAddressDropFromAreasUnsupported ¶
ISISCounterManualAddressDropFromAreasUnsupported returns true for devices that do not support telemetry for isis system-level-counter manual-address-drop-from-areas.
func ISISCounterPartChangesUnsupported ¶
ISISCounterPartChangesUnsupported returns true for devices that do not support telemetry for isis system-level-counter part-changes.
func ISISExplicitLevelAuthenticationConfig ¶
ISISExplicitLevelAuthenticationConfig returns true if ISIS Explicit Level Authentication configuration is required
func ISISGlobalAuthenticationNotRequired ¶
ISISGlobalAuthenticationNotRequired returns true if ISIS Global authentication not required.
func ISISInstanceEnabledRequired ¶
ISISInstanceEnabledRequired returns if isis instance name string should be set on the device.
func ISISInterfaceAfiUnsupported ¶
ISISInterfaceAfiUnsupported returns true for devices that don't support configuring ISIS /afi-safi/af/config container.
func ISISInterfaceLevel1DisableRequired ¶
ISISInterfaceLevel1DisableRequired returns if device should disable isis level1 under interface mode.
func ISISLevelEnabled ¶
ISISLevelEnabled returns if device should enable isis under level.
func ISISLoopbackRequired ¶
ISISLoopbackRequired returns true if isis loopback is required.
func ISISLspMetadataLeafsUnsupported ¶
ISISLspMetadataLeafsUnsupported returns true for devices that don't support ISIS-Lsp metadata paths: checksum, sequence-number, remaining-lifetime.
func ISISMetricStyleTelemetryUnsupported ¶
ISISMetricStyleTelemetryUnsupported returns true for devices that do not support state path /network-instances/network-instance/protocols/protocol/isis/levels/level/state/metric-style
func ISISMultiTopologyUnsupported ¶
ISISMultiTopologyUnsupported returns if device skips isis multi-topology check.
func ISISRequireSameL1MetricWithL2Metric ¶
ISISRequireSameL1MetricWithL2Metric returns true for devices that require configuring the same ISIS Metrics for Level 1 when configuring Level 2 Metrics.
func ISISRestartSuppressUnsupported ¶
ISISRestartSuppressUnsupported returns whether the device should skip isis restart-suppress check.
func ISISSingleTopologyRequired ¶
ISISSingleTopologyRequired sets isis af ipv6 single topology on the device if value is true.
func ISISTimersCsnpIntervalUnsupported ¶
ISISTimersCsnpIntervalUnsupported returns true for devices that do not support configuring csnp-interval timer for ISIS.
func InstallOSForStandbyRP ¶
InstallOSForStandbyRP returns if device requires OS installation on standby RP as well as active RP.
func InstallPositionAndInstallComponentUnsupported ¶
InstallPositionAndInstallComponentUnsupported returns true if install position and install component are not supported.
func InterfaceConfigVRFBeforeAddress ¶
InterfaceConfigVRFBeforeAddress returns if vrf should be configured before IP address when configuring interface.
func InterfaceCountersFromContainer ¶
InterfaceCountersFromContainer returns if the device only supports querying counters from the state container, not from individual counter leaves.
func InterfaceCountersUpdateDelayed ¶
InterfaceCountersUpdateDelayed returns true if telemetry for interface counters does not return the latest counter values.
func InterfaceEnabled ¶
InterfaceEnabled returns if device requires interface enabled leaf booleans to be explicitly set to true.
func InterfaceLoopbackModeRawGnmi ¶
InterfaceLoopbackModeRawGnmi returns true if interface loopback mode needs to be updated using raw gnmi API due to server version. Default value is false.
func InterfaceRefConfigUnsupported ¶
InterfaceRefConfigUnsupported deviation set to true for devices that do not support interface-ref configuration when applying features to interface.
func InterfaceRefInterfaceIDFormat ¶
InterfaceRefInterfaceIDFormat returns if device is required to use interface-id format of interface name + .subinterface index with Interface-ref container
func Ipv6DiscardedPktsUnsupported ¶
Ipv6DiscardedPktsUnsupported returns whether the device supports interface ipv6 discarded packet stats.
func Ipv6RouterAdvertisementConfigUnsupported ¶
Ipv6RouterAdvertisementConfigUnsupported returns true for devices which don't support Ipv6 RouterAdvertisement configuration
func Ipv6RouterAdvertisementIntervalUnsupported ¶
Ipv6RouterAdvertisementIntervalUnsupported returns true for devices which don't support Ipv6 RouterAdvertisement interval configuration
func IsisDatabaseOverloadsUnsupported ¶
IsisDatabaseOverloadsUnsupported returns true for devices that do not support database-overloads leaf
func IsisDisSysidUnsupported ¶
IsisDisSysidUnsupported returns true for devices that do not support dis-system-id leaf
func IsisInterfaceLevelPassiveUnsupported ¶
IsisInterfaceLevelPassiveUnsupported returns true for devices that do not support passive leaf
func LLDPInterfaceConfigOverrideGlobal ¶
LLDPInterfaceConfigOverrideGlobal returns if LLDP interface config should override the global config, expect neighbours are seen when lldp is disabled globally but enabled on interface
func LinecardCPUUtilizationUnsupported ¶
LinecardCPUUtilizationUnsupported returns if the device does not support telemetry path /components/component/cpu/utilization/state/avg for linecards' CPU card. Default value is false.
func LinecardMemoryUtilizationUnsupported ¶
LinecardMemoryUtilizationUnsupported returns if the device does not support memory utilization related leaves for linecard components. Default value is false.
func LinkLocalMaskLen ¶
LinkLocalMaskLen returns true if linklocal mask length is not 64
func LinkQualWaitAfterDeleteRequired ¶
LinkQualWaitAfterDeleteRequired returns whether the device requires additional time to complete post delete link qualification cleanup.
func MatchTagSetConditionUnsupported ¶
MatchTagSetConditionUnsupported returns true if match tag set condition is not supported
func MaxEcmpPaths ¶
MaxEcmpPaths supported for isis max ecmp path
func MemberLinkLoopbackUnsupported ¶
MemberLinkLoopbackUnsupported returns true for devices that require configuring loopback on aggregated links instead of member links.
func MismatchedHardwareResourceNameInComponent ¶
MismatchedHardwareResourceNameInComponent returns true for devices that have separate naming conventions for hardware resource name in /system/ tree and /components/ tree.
func MissingBgpLastNotificationErrorCode ¶
MissingBgpLastNotificationErrorCode returns whether the last-notification-error-code leaf is missing in bgp.
func MissingHardwareResourceTelemetryBeforeConfig ¶
MissingHardwareResourceTelemetryBeforeConfig returns true for devices that don't support telemetry for hardware resources before used-threshold-upper configuration.
func MissingIsisInterfaceAfiSafiEnable ¶
MissingIsisInterfaceAfiSafiEnable returns if device should set and validate isis interface address family enable. Default is validate isis address family enable at global mode.
func MissingPortToOpticalChannelMapping ¶
MissingPortToOpticalChannelMapping returns true for devices missing component tree mapping from hardware port to optical channel.
func MissingPrePolicyReceivedRoutes ¶
MissingPrePolicyReceivedRoutes returns if device does not support bgp/neighbors/neighbor/afi-safis/afi-safi/state/prefixes/received-pre-policy. Fully-compliant devices should pass with and without this deviation.
func MissingStaticRouteDropNextHopTelemetry ¶
MissingStaticRouteDropNextHopTelemetry returns true for devices missing static route telemetry with DROP next hop. Arista: https://partnerissuetracker.corp.google.com/issues/330619816
func MissingStaticRouteNextHopMetricTelemetry ¶
MissingStaticRouteNextHopMetricTelemetry returns true for devices missing static route next-hop metric telemetry. Arista: https://partnerissuetracker.corp.google.com/issues/321010782
func MissingValueForDefaults ¶
MissingValueForDefaults returns if device returns no value for some OpenConfig paths if the operational value equals the default.
func MissingZROpticalChannelTunableParametersTelemetry ¶
MissingZROpticalChannelTunableParametersTelemetry returns true for devices missing 400ZR optical-channel tunable parameters telemetry: min/max/avg. Arista: https://partnerissuetracker.corp.google.com/issues/319314781
func ModelNameUnsupported ¶
ModelNameUnsupported returns true if /components/components/state/model-name is not supported for any component type.
func MultipathUnsupportedNeighborOrAfisafi ¶
MultipathUnsupportedNeighborOrAfisafi returns true if the device does not support multipath under neighbor or afisafi.
func NetworkInstanceTableDeletionRequired ¶
NetworkInstanceTableDeletionRequired returns if device requires explicit deletion of network-instance table.
func NoMixOfTaggedAndUntaggedSubinterfaces ¶
NoMixOfTaggedAndUntaggedSubinterfaces returns if device does not support a mix of tagged and untagged subinterfaces
func NoZeroSuppression ¶
NoZeroSuppression returns true if device wants to remove zero suppression
func NtpNonDefaultVrfUnsupported ¶
NtpNonDefaultVrfUnsupported returns true if the device does not support ntp non-default vrf. Default value is false.
func OSActivateNoReboot ¶
OSActivateNoReboot returns if device requires separate reboot to activate OS.
func OSComponentParentIsChassis ¶
OSComponentParentIsChassis returns true if parent of OS component is of type CHASSIS.
func OSComponentParentIsSupervisorOrLinecard ¶
OSComponentParentIsSupervisorOrLinecard returns true if parent of OS component is of type SUPERVISOR or LINECARD.
func OTNChannelAssignmentCiscoNumbering ¶
OTNChannelAssignmentCiscoNumbering returns true if OTN channel assignment index starts from 1 instead of 0
func OTNChannelTribUnsupported ¶
OTNChannelTribUnsupported returns true if TRIB parameter is unsupported under OTN channel configuration
func OperStatusForIcUnsupported ¶
OperStatusForIcUnsupported return true if oper-status leaf is unsupported for Integration Circuit
func OperationalModeUnsupported ¶
OperationalModeUnsupported returns true if operational-mode leaf is unsupported
func OverrideDefaultNhScale ¶
OverrideDefaultNhScale returns true if default NextHop scale needs to be modified else returns false
func P4RTCapabilitiesUnsupported ¶
P4RTCapabilitiesUnsupported returns true for devices that don't support P4RT Capabilities rpc.
func P4RTGdpRequiresDot1QSubinterface ¶
P4RTGdpRequiresDot1QSubinterface returns true for devices that require configuring subinterface with tagged vlan for P4RT packet in.
func P4RTModifyTableEntryUnsupported ¶
P4RTModifyTableEntryUnsupported returns true for devices that don't support modify table entry operation in P4 Runtime.
func P4rtBackupArbitrationResponseCode ¶
P4rtBackupArbitrationResponseCode returns whether the device does not support unset election ID.
func P4rtUnsetElectionIDPrimaryAllowed ¶
P4rtUnsetElectionIDPrimaryAllowed returns whether the device does not support unset election ID.
func PLQGeneratorCapabilitiesMaxMTU ¶
PLQGeneratorCapabilitiesMaxMTU returns supported max_mtu for devices that does not support packet link qualification(PLQ) Generator max_mtu to be at least >= 8184.
func PLQGeneratorCapabilitiesMaxPPS ¶
PLQGeneratorCapabilitiesMaxPPS returns supported max_pps for devices that does not support packet link qualification(PLQ) Generator max_pps to be at least >= 100000000.
func PLQReflectorStatsUnsupported ¶
PLQReflectorStatsUnsupported returns true for devices that does not support packet link qualification(PLQ) reflector packet sent/received stats.
func PacketProcessingAggregateDropsUnsupported ¶
PacketProcessingAggregateDropsUnsupported returns true if the device does not support packet processing aggregate drops.
func PeerGroupDefEbgpVrfUnsupported ¶
PeerGroupDefEbgpVrfUnsupported returns true if peer group definition under ebgp vrf is unsupported
func PfRequireMatchDefaultRule ¶
PfRequireMatchDefaultRule returns true for device which requires match condition for ether type v4 and v6 for default rule with network-instance default-vrf in policy-forwarding.
func PfRequireSequentialOrderPbrRules ¶
PfRequireSequentialOrderPbrRules returns true for device requires policy-forwarding rules to be in sequential order in the gNMI set-request.
func PowerDisableEnableLeafRefValidation ¶
PowerDisableEnableLeafRefValidation returns true if definition of leaf-ref is not supported.
func PrefixLimitExceededTelemetryUnsupported ¶
PrefixLimitExceededTelemetryUnsupported is to skip checking prefix limit telemetry flag.
func QOSBufferAllocationConfigRequired ¶
QOSBufferAllocationConfigRequired returns if device should configure QOS buffer-allocation-profile
func QOSDroppedOctets ¶
QOSDroppedOctets returns if device should skip checking QOS Dropped octets stats for interface.
func QOSInQueueDropCounterUnsupported ¶
QOSInQueueDropCounterUnsupported returns true if /qos/interfaces/interface/input/queues/queue/state/dropped-pkts is not supported for any component type.
func QOSQueueRequiresID ¶
QOSQueueRequiresID returns if device should configure QOS queue along with queue-id
func QOSVoqDropCounterUnsupported ¶
QOSVoqDropCounterUnsupported returns if the device does not support telemetry path /qos/interfaces/interface/input/virtual-output-queues/voq-interface/queues/queue/state/dropped-pkts. Default value is false.
func QosGetStatePathUnsupported ¶
QosGetStatePathUnsupported returns whether the device does not support get state leaves under qos.
func QosSchedulerConfigRequired ¶
QosSchedulerConfigRequired returns if device should configure QOS buffer-allocation-profile
func QosSchedulerIngressPolicer ¶
QosSchedulerIngressPolicer returns true if qos ingress policing is unsupported
func QosSetWeightConfigUnsupported ¶
QosSetWeightConfigUnsupported returns whether the device does not support set weight leaves under qos ecn.
func RedisConnectedUnderEbgpVrfUnsupported ¶
RedisConnectedUnderEbgpVrfUnsupported returns true if redistribution of routes under ebgp vrf is unsupported
func ReorderCallsForVendorCompatibilty ¶
ReorderCallsForVendorCompatibilty returns true if call needs to be updated/added/deleted. Cisco: https://partnerissuetracker.corp.google.com/issues/322291556
func RequireRoutedSubinterface0 ¶
RequireRoutedSubinterface0 returns true if device needs to configure subinterface 0 for non-zero sub-interfaces.
func RoutePolicyUnderAFIUnsupported ¶
RoutePolicyUnderAFIUnsupported returns if Route-Policy under the AFI/SAFI is not supported
func RoutingPolicyChainingUnsupported ¶
RoutingPolicyChainingUnsupported returns true if policy chaining is unsupported
func RoutingPolicyTagSetEmbedded ¶
RoutingPolicyTagSetEmbedded returns true if the implementation does not support tag-set(s) as a separate entity, but embeds it in the policy statement
func SSHServerCountersUnsupported ¶
SSHServerCountersUnsupported is to skip checking ssh server counters.
func SamePolicyAttachedToAllAfis ¶
SamePolicyAttachedToAllAfis returns true if same import policy has to be applied for all AFIs
func SchedulerInputWeightLimit ¶
SchedulerInputWeightLimit returns whether the device does not support weight above 100.
func SetMetricAsPreference ¶
SetMetricAsPreference returns true for devices which set metric as preference for static next-hop
func SetNativeUser ¶
SetNativeUser creates a user and assigns role/rbac to that user via native model.
func SetNoPeerGroup ¶
SetNoPeerGroup Ensure that no BGP configurations exists under PeerGroups.
func SflowSourceAddressUpdateUnsupported ¶
SflowSourceAddressUpdateUnsupported returns true if sflow source address update is unsupported
func SkipAfiSafiPathForBgpMultipleAs ¶
SkipAfiSafiPathForBgpMultipleAs return true if device do not support afi/safi path to enable allow multiple-as for eBGP
func SkipBgpSendCommunityType ¶
SkipBgpSendCommunityType return true if device needs to skip setting BGP send-community-type
func SkipBgpSessionCheckWithoutAfisafi ¶
SkipBgpSessionCheckWithoutAfisafi returns if device needs to skip checking AFI-SAFI disable.
func SkipCheckingAttributeIndex ¶
SkipCheckingAttributeIndex return true if device do not return bgp attribute for the bgp session specifying the index
func SkipContainerOp ¶
SkipContainerOp returns true if gNMI container OP needs to be skipped. Cisco: https://partnerissuetracker.corp.google.com/issues/322291556
func SkipControllerCardPowerAdmin ¶
SkipControllerCardPowerAdmin returns if power-admin-state config on controller card should be skipped. Default value is false.
func SkipIsisSetLevel ¶
SkipIsisSetLevel return true if device needs to skip setting isis-actions set-level while configuring routing-policy statement action
func SkipIsisSetMetricStyleType ¶
SkipIsisSetMetricStyleType return true if device needs to skip setting isis-actions set-metric-style-type while configuring routing-policy statement action
func SkipMacaddressCheck ¶
SkipMacaddressCheck returns true if mac address for an interface via gNMI needs to be skipped. Cisco: https://partnerissuetracker.corp.google.com/issues/322291556
func SkipNonBgpRouteExportCheck ¶
SkipNonBgpRouteExportCheck returns true for devices that exports routes from all protocols to BGP if the export-policy is ACCEPT.
func SkipPlqInterfaceOperStatusCheck ¶
SkipPlqInterfaceOperStatusCheck returns true for devices that do not support PLQ operational status check for interfaces
func SkipPrefixSetMode ¶
SkipPrefixSetMode return true if device needs to skip setting prefix-set mode while configuring prefix-set routing-policy
func SkipSetRpMatchSetOptions ¶
SkipSetRpMatchSetOptions return true if device needs to skip setting match-prefix-set match-set-options while configuring routing-policy statement condition
func SkipSettingAllowMultipleAS ¶
SkipSettingAllowMultipleAS return true if device needs to skip setting allow-multiple-as while configuring eBGP
func SkipSettingDisableMetricPropagation ¶
SkipSettingDisableMetricPropagation return true if device needs to skip setting disable-metric-propagation while configuring table-connection
func SkipSettingStatementForPolicy ¶
SkipSettingStatementForPolicy return true if device do not support afi/safi path to enable allow multiple-as for eBGP
func SkipStaticNexthopCheck ¶
SkipStaticNexthopCheck returns if device needs index starting from non-zero
func SkipTCPNegotiatedMSSCheck ¶
SkipTCPNegotiatedMSSCheck returns true for devices that do not support telemetry to check negotiated tcp mss value.
func SlaacPrefixLength128 ¶
SlaacPrefixLength128 for Slaac generated IPv6 link local address
func StatePathsUnsupported ¶
StatePathsUnsupported returns whether the device supports following state paths
func StaticLspConfigUnsupported ¶
StaticLspConfigUnsupported returns true if static lsp config is not supported
func StaticProtocolName ¶
StaticProtocolName returns the name used for the static routing protocol.
func StaticRouteNextHopInterfaceRefUnsupported ¶
StaticRouteNextHopInterfaceRefUnsupported returns if device does not support Interface-ref under static-route next-hop
func StaticRouteWithDropNhUnsupported ¶
StaticRouteWithDropNhUnsupported unsupported drop nexthop
func StaticRouteWithExplicitMetric ¶
StaticRouteWithExplicitMetric set explicit metric
func StorageComponentUnsupported ¶
StorageComponentUnsupported returns if telemetry path /components/component/storage is not supported.
func SubinterfacePacketCountersMissing ¶
SubinterfacePacketCountersMissing returns if device is missing subinterface packet counters for IPv4/IPv6, so the test will skip checking them. Full OpenConfig compliant devices should pass both with and without this deviation.
func SwVersionUnsupported ¶
SwVersionUnsupported returns true if the device does not support reporting software version according to the requirements in gNMI-1.10.
func SwitchChipIDUnsupported ¶
SwitchChipIDUnsupported returns whether the device supports id leaf for SwitchChip components.
func TableConnectionsUnsupported ¶
TableConnectionsUnsupported returns true if Table Connections are unsupported.
func TcAttributePropagationUnsupported ¶
TcAttributePropagationUnsupported returns true if attribute propagation for table connection is unsupported
func TcDefaultImportPolicyUnsupported ¶
TcDefaultImportPolicyUnsupported returns true if default import policy for table connection is unsupported
func TcMetricPropagationUnsupported ¶
TcMetricPropagationUnsupported returns true if metric propagation for table connection is unsupported
func TcSubscriptionUnsupported ¶
TcSubscriptionUnsupported returns true if subscription for table connection is unsupported
func TraceRouteL4ProtocolUDP ¶
TraceRouteL4ProtocolUDP returns if device only support UDP as l4 protocol for traceroute. Default value is false.
func TransceiverThresholdsUnsupported ¶
TransceiverThresholdsUnsupported returns true if the device does not support threshold container under /components/component/transceiver. Default value is false.
func TunnelConfigPathUnsupported ¶
TunnelConfigPathUnsupported returns true for devices that require configuring Tunnel source-address destination-address, encapsulation type are not supported in OC
func TunnelStatePathUnsupported ¶
TunnelStatePathUnsupported returns true for devices that require configuring /interfaces/interface/state/counters/in-pkts, in-octets,out-pkts, out-octetsis not supported.
func UnsupportedStaticRouteNextHopRecurse ¶
UnsupportedStaticRouteNextHopRecurse returns true for devices that don't support recursive resolution of static route next hop. Arista: https://partnerissuetracker.corp.google.com/issues/314449182
func UseParentComponentForTemperatureTelemetry ¶
UseParentComponentForTemperatureTelemetry returns true if parent component supports temperature telemetry
func UseVendorNativeTagSetConfig ¶
UseVendorNativeTagSetConfig returns whether a device requires native model to configure tag-set
func WecmpAutoUnsupported ¶
WecmpAutoUnsupported returns true if wecmp auto is not supported
func WeightedEcmpFixedPacketVerification ¶
WeightedEcmpFixedPacketVerification returns true if fixed packet is used in traffic flow
Types ¶
This section is empty.