Juniper / apstra-go-sdk

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

Fabric settings `max_*_routes` - need a "don't care" option #230

Open chrismarget-j opened 8 months ago

chrismarget-j commented 8 months ago

Each of the max_*_routes elements in the FabricSettings{} struct has 2 possible states:

There's no way for a caller to indicate whether they intend to clear the current value.

One possible option:

This approach is complicated by the need to support Apstra 4.2.1, 4.2.0 and 4.1.x, which each handle this data a bit differently.