+ if ! port_settings_read "${port}"; then
+ return ${EXIT_ERROR}
+ fi
+
+ # Check if the parent port exists
+ if ! port_exists "${PARENT_PORT}"; then
+ error "Port '${PARENT_PORT}' does not exist"
+ return ${EXIT_ERROR}
+ fi
+
+ # Create the partent port first
+ if ! port_create "${PARENT_PORT}"; then
+ error "Could not bring up parent port: ${PARENT_PORT}"
+ return ${EXIT_ERROR}
+ fi