go-netbox
go-netbox copied to clipboard
IPAM: IP Address lookup with multiple configured tags
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 :)