-
Notifications
You must be signed in to change notification settings - Fork 200
Open
Description
featureprofiles/internal/cfgplugins/policyforwarding.go
Lines 355 to 371 in 879a814
| func MplsConfig(t *testing.T, dut *ondatra.DUTDevice) { | |
| if deviations.MplsOCUnsupported(dut) { | |
| switch dut.Vendor() { | |
| case ondatra.ARISTA: | |
| helpers.GnmiCLIConfig(t, dut, "mpls ip") | |
| default: | |
| t.Logf("Unsupported vendor %s for native command support for deviation 'mpls ip'", dut.Vendor()) | |
| } | |
| } else { | |
| t.Log("Currently do not have support to enable Mpls through OC, need to uncomment once implemented") | |
| // TODO: Currently do not have support to enable Mpls through OC, need to uncomment once implemented. | |
| // d := &oc.Root{} | |
| // ni := d.GetOrCreateNetworkInstance(deviations.DefaultNetworkInstance(dut)) | |
| // mpls := ni.GetOrCreateMpls() | |
| // mpls.Enabled = ygot.Bool(true) | |
| } | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels