scottdware / go-bigip

A Go package that interacts with F5 BIG-IP systems using the REST API.
MIT License
108 stars 118 forks source link

UpdatePoolMembers (replace-all-with) adds nodes with monitor up / sessions enabled #120

Open mattdgsg opened 4 years ago

mattdgsg commented 4 years ago

I'm honestly not sure if this is an issue with go-bigip or the iControl REST interface, but when I do a replace-all-with pool modification via tmsh, the new pool members have the following availability / states:

| Availability : unknown | State : enabled | Reason : Pool member service checking is enabled, but result is not available yet | Monitor Status : checking | Session Status : enabled

This is what I would expect; the BigIP hasn't performed a health check, yet. But for some reason when I do an UpdatePoolMembers via go-bigip, the new pool members have the following availability / states:

| Availability : available | State : enabled | Reason : Pool member is available | Monitor Status : up | Session Status : enabled

Is this expected? Why the difference?