Skip to content

Commit

Permalink
remove unused BlueprintE() test helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Oct 20, 2024
1 parent b3f5806 commit 1f0aa48
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions apstra/test_utils/blueprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,29 +192,8 @@ func BlueprintD(t testing.TB, ctx context.Context) *apstra.TwoStageL3ClosClient
return bpClient
}

func BlueprintE(t testing.TB, ctx context.Context) *apstra.TwoStageL3ClosClient {
t.Helper()

client := GetTestClient(t, ctx)
template := TemplateD(t, ctx)
name := acctest.RandString(10)
id, err := client.CreateBlueprintFromTemplate(ctx, &apstra.CreateBlueprintFromTemplateRequest{
RefDesign: apstra.RefDesignTwoStageL3Clos,
Label: name,
TemplateId: template.Id,
FabricSettings: &apstra.FabricSettings{
SpineSuperspineLinks: utils.ToPtr(apstra.AddressingSchemeIp4),
SpineLeafLinks: utils.ToPtr(apstra.AddressingSchemeIp4),
},
})
require.NoError(t, err)
t.Cleanup(func() { require.NoError(t, client.DeleteBlueprint(ctx, id)) })

bpClient, err := client.NewTwoStageL3ClosClient(ctx, id)
require.NoError(t, err)

return bpClient
}
//func BlueprintE(t testing.TB, ctx context.Context) *apstra.TwoStageL3ClosClient {
//}

func BlueprintF(t testing.TB, ctx context.Context) *apstra.TwoStageL3ClosClient {
t.Helper()
Expand Down

0 comments on commit 1f0aa48

Please sign in to comment.