Juniper / apstra-go-sdk

Go SDK for Apstra
Apache License 2.0
4 stars 1 forks source link

Introduce option to wait for cache building before returning new blueprint ID #233

Closed chrismarget-j closed 8 months ago

chrismarget-j commented 8 months ago

This PR adds a new element SkipCablingReadinessCheck to the CreateBlueprintFromTemplateRequest struct.

When false (the default: Do Not Skip), the CreateBlueprintFromTemplate() function polls the /api/blueprints/<id>/experience/web/cabling-map API endpoint for 30 seconds or until it returns without error.

This works around AOS-44024.