netbox-community / go-netbox

The official Go API client for Netbox IPAM and DCIM service.
Other
199 stars 157 forks source link

IPAM: IP Address lookup with multiple configured tags #95

Closed erikkn closed 1 year ago

erikkn commented 4 years ago

Hi folks,

Pretty new to the scene, but I was wondering how one looks-up an IP address / IP address based on the configured tags. When I use the following snippet, it is working fine:

`
tags1 := "test"

 params := ipam.NewIpamIPAddressesListParams()
 params.SetTagn(&tags1)

 ipOk, err := c.IpamIPAddressesList(params, nil)
 if err != nil {
     log.Fatalf("[ERROR:] ", err)
 }

`

Question: How do I look up an IP address / IP addresses that have multiple tags configured?

Thank you :)

v0ctor commented 1 year ago

It seems that it is a Netbox API limitation or a problem with the OpenAPI specification.

If still relevant, please, refer to the Netbox project to report this issue.