def handler(context, inputs): """ Create IPAM object and start allocation function """ # try: ipam = IPAM(context, inputs) IPAM.do_validate_endpoint = do_validate_endpoint return ipam.validate_endpoint()
def handler(context, inputs): ipam = IPAM(context, inputs) IPAM.do_validate_endpoint = do_validate_endpoint return ipam.validate_endpoint()