api: using manager_by_plan_name in add_instance.