Skip to content

Commit

Permalink
feat(evpn unit test): adding evpn mock unit test
Browse files Browse the repository at this point in the history
Signed-off-by: atulpatel261194 <[email protected]>
  • Loading branch information
atulpatel261194 committed Aug 28, 2023
1 parent c02fd8d commit fa8597e
Show file tree
Hide file tree
Showing 6 changed files with 1,185 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/evpn-vrf.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func CreateVRF() *cobra.Command {

vrf, err := evpnClient.CreateVrf(ctx, name, vni, loopback, vtep)
if err != nil {
log.Fatalf("failed to create logical bridge: %v", err)
log.Fatalf("failed to create vrf: %v", err)
}
log.Printf("Created VRF with \n name: %s\n operation status: %d\n vni : %d\n vtep ip : %s\n loopback ip: %s\n", vrf.GetName(), vrf.GetStatus().GetOperStatus(),
vrf.GetSpec().GetVni(), vrf.GetSpec().GetVtepIpPrefix(), vrf.GetSpec().GetLoopbackIpPrefix())
Expand Down
Loading

0 comments on commit fa8597e

Please sign in to comment.