Juniper / apstra-go-sdk

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

Introduce support for Security Zone loopbacks API #420

Closed chrismarget-j closed 1 month ago

chrismarget-j commented 1 month ago

Apstra 5.x introduced /api/blueprints/{blueprint_id}/security-zones/{security_zone_id}/loopbacks (PATCH only) which takes input like:

{
  "loopbacks": {
    "<interface-node-id>": {
      "ipv4_addr": "192.0.2.7/32",
      "ipv6_addr": "3fff::7/128"
    }
  }
}

This PR introduces a data structure and client method to make use of this new API.