Documentation ¶
Overview ¶
Package vrfpolicy contains functions to build specific vrf policies
Index ¶
- Constants
- func BuildVRFSelectionPolicyC(t *testing.T, dut *ondatra.DUTDevice, niName string) *oc.NetworkInstance_PolicyForwarding
- func BuildVRFSelectionPolicyW(t *testing.T, dut *ondatra.DUTDevice, niName string) *oc.NetworkInstance_PolicyForwarding
- func ConfigureVRFSelectionPolicy(t *testing.T, dut *ondatra.DUTDevice, policyName string)
- func DeletePolicyForwarding(t *testing.T, dut *ondatra.DUTDevice, portID string)
Constants ¶
View Source
const ( // VRFPolicyW is the policy name VRFPolicyW = "vrf_selection_policy_w" // VRFPolicyC is the policy name VRFPolicyC = "vrf_selection_policy_c" )
Variables ¶
This section is empty.
Functions ¶
func BuildVRFSelectionPolicyC ¶
func BuildVRFSelectionPolicyC(t *testing.T, dut *ondatra.DUTDevice, niName string) *oc.NetworkInstance_PolicyForwarding
BuildVRFSelectionPolicyC vrf selection policy rule Reference: https://github.com/openconfig/featureprofiles/blob/main/feature/gribi/vrf_policy_driven_te/README.md?plain=1#L40
func BuildVRFSelectionPolicyW ¶
func BuildVRFSelectionPolicyW(t *testing.T, dut *ondatra.DUTDevice, niName string) *oc.NetworkInstance_PolicyForwarding
BuildVRFSelectionPolicyW vrf selection policy rule Reference: https://github.com/openconfig/featureprofiles/blob/main/feature/gribi/vrf_policy_driven_te/README.md?plain=1#L252
func ConfigureVRFSelectionPolicy ¶
ConfigureVRFSelectionPolicy configures vrf selection policy on default NI and applies to DUT port1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.