L4-L7 policy automation