go-netbox icon indicating copy to clipboard operation
go-netbox copied to clipboard

IPAM: IP Address lookup with multiple configured tags

Open erikkn opened this issue 4 years ago • 0 comments

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 :)

erikkn avatar Sep 23 '20 14:09 erikkn