Skip to content

Commit

Permalink
deviations format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ram-mac committed Nov 22, 2024
1 parent 6d505b1 commit 7aa3b1a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion internal/deviations/deviations.go
Original file line number Diff line number Diff line change
Expand Up @@ -1219,11 +1219,17 @@ func CiscoPreFECBERInactiveValue(dut *ondatra.DUTDevice) bool {
}

// 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 excercised in the Script where the extended-nexthop-encoding
// a bool value is set to true.
func BgpExtendedNextHopEncodingLeafUnsupported(dut *ondatra.DUTDevice) bool {
return lookupDUTDeviations(dut).GetBgpExtendedNextHopEncodingLeafUnsupported()
}

// BgpAfiSafiWildcardNotSupported return true if bgp afi/safi wildcard is not supported
// 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 BgpAfiSafiWildcardNotSupported(dut *ondatra.DUTDevice) bool {
return lookupDUTDeviations(dut).GetBgpAfiSafiWildcardNotSupported()
}

0 comments on commit 7aa3b1a

Please sign in to comment.