diff --git a/modules/cloud_service_providers/openstack/src/Service/OpenStackOperationsService.php b/modules/cloud_service_providers/openstack/src/Service/OpenStackOperationsService.php index 1a05ccf5dee52d6eadfac2e16d0fba2c79021da2..6d81c758c11428d4a4c1eb727d9c446d18bc4496 100644 --- a/modules/cloud_service_providers/openstack/src/Service/OpenStackOperationsService.php +++ b/modules/cloud_service_providers/openstack/src/Service/OpenStackOperationsService.php @@ -1718,12 +1718,12 @@ class OpenStackOperationsService implements OpenStackOperationsServiceInterface $result = $this->ec2Service->addRouterInterface($params); if ($result === NULL) { - $this->processOperationErrorStatus($entity, 'added an interface'); + $this->processOperationErrorStatus($entity, 'added to a a port'); return FALSE; } if (!empty($result['SendToWorker'])) { - $this->processOperationStatus($entity, 'added an interface remotely'); + $this->processOperationStatus($entity, 'added to a port remotely'); return TRUE; } @@ -1742,7 +1742,7 @@ class OpenStackOperationsService implements OpenStackOperationsServiceInterface ]); if (empty($ports)) { - $this->processOperationErrorStatus($entity, 'added an interface'); + $this->processOperationErrorStatus($entity, 'added to a port'); return FALSE; } @@ -1757,7 +1757,7 @@ class OpenStackOperationsService implements OpenStackOperationsServiceInterface ]); } - $this->processOperationStatus($entity, 'added an interface'); + $this->processOperationStatus($entity, 'added to a port'); $this->clearCacheValues($entity->getCacheTags()); $this->dispatchSaveEvent($entity); diff --git a/modules/cloud_service_providers/openstack/tests/src/Behat/features/templates/OpenStack-ATDD-03-14-OperateRouters.feature b/modules/cloud_service_providers/openstack/tests/src/Behat/features/templates/OpenStack-ATDD-03-14-OperateRouters.feature index 29d2ba8d49a873fc4c530139bbbb1249b2b97a86..c8d5f30c5bee63974a1c19c76a1635b3551d9305 100644 --- a/modules/cloud_service_providers/openstack/tests/src/Behat/features/templates/OpenStack-ATDD-03-14-OperateRouters.feature +++ b/modules/cloud_service_providers/openstack/tests/src/Behat/features/templates/OpenStack-ATDD-03-14-OperateRouters.feature @@ -105,7 +105,7 @@ Feature: Create, read, update and delete a router for OpenStack as an "authentic And I enter "{{ router_internal_interface_ip }}" for "IP address" And I press "Add interface" Then the url should match "/clouds/openstack/{{ cloud_context }}/router/.*/interface" - And I should see the success message "has been added an interface" + And I should see the success message "has been added to a port" And I should see "{{ router_internal_interface_ip }}" And I should see neither error nor warning messages