Skip to content

Commit 4addcee

Browse files
[NX-OS] Configure RoutedVLAN Interface before its anycast gateway
1 parent 6775e34 commit 4addcee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/provider/cisco/nxos/provider.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,7 @@ func (p *Provider) EnsureInterface(ctx context.Context, req *provider.EnsureInte
761761
}
762762
svi.VlanID = req.VLAN.Spec.ID
763763
svi.RtvrfMbrItems = NewVrfMember(name, vrf)
764+
conf = append(conf, svi)
764765

765766
fwif := new(FabricFwdIf)
766767
fwif.ID = name
@@ -776,8 +777,6 @@ func (p *Provider) EnsureInterface(ctx context.Context, req *provider.EnsureInte
776777
}
777778
}
778779

779-
conf = append(conf, svi)
780-
781780
default:
782781
return fmt.Errorf("unsupported interface type: %s", req.Interface.Spec.Type)
783782
}

0 commit comments

Comments
 (0)