def handler(context, inputs): """ Create IPAM object, define deaalocate_ip function and start deallocation function """ ipam = IPAM(context, inputs) IPAM.do_deallocate_ip = do_deallocate_ip return ipam.deallocate_ip()
def handler(context, inputs): ipam = IPAM(context, inputs) IPAM.do_deallocate_ip = do_deallocate_ip return ipam.deallocate_ip()