Forum Discussion
May 17, 2021
Hello Thiyagu.
This works for me:
from f5.bigip import ManagementRoot
# ----------------------------------------------------------
session = ManagementRoot("F5_mgmt_IP","username","password",token=True)
pools = session.tm.ltm.pools.get_collection()
for pool in pools:
for member in pool.members_s.get_collection():
if member.name.startswith('mynode'):
member.delete()
Regards,
Dario.