Skip to content

Commit 1babd1d

Browse files
[NX-OS] Set vrf encap to "unknown" by default
1 parent 03cbd12 commit 1babd1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/cisco/nxos/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,7 @@ func (p *Provider) EnsureVRF(ctx context.Context, req *provider.VRFRequest) erro
18131813
if req.VRF.Spec.Description != "" {
18141814
v.Descr = NewOption(req.VRF.Spec.Description)
18151815
}
1816-
1816+
v.Encap = "unknown"
18171817
if req.VRF.Spec.VNI > 0 {
18181818
v.L3Vni = true
18191819
v.Encap = "vxlan-" + strconv.FormatUint(uint64(req.VRF.Spec.VNI), 10)

0 commit comments

Comments
 (0)