prepare_aruba_ap_switchport: Refactoring, bugfix, support for custom userport names
See the individual commit messages for details.
This MR does three things, since separating them into several merge requests is hard due to the refactoring.
The first step remove duplicate error handling, the next step fixes errors when not using lookup mode and the third step adds support for specifying a custom name when creating the userport.
Edited by Adrian Schollmeyer