Commit 2882020e authored by Yas Naoi's avatar Yas Naoi Committed by Yas Naoi
Browse files

Issue #3320868 by yas, Xiaohua Guan, sekinet: Refactor OpenStackService

parent 5fc86e94
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -494,7 +494,6 @@ entity.openstack_subnet.delete:
  appears_on:
    - entity.openstack_subnet.canonical


##############################
# OpenStack Port.
##############################
+0 −1
Original line number Diff line number Diff line
@@ -221,7 +221,6 @@ delete own openstack network interface:
  title: 'Delete own OpenStack network interface'
  description: 'Allow users to delete own network interface.'


####################
# Networks
####################
+0 −1
Original line number Diff line number Diff line
@@ -101,7 +101,6 @@ class OpenStackServiceFactory implements OpenStackServiceFactoryInterface {
   */
  protected $httpClient;


  /**
   * The module handler service.
   *
+5 −5
Original line number Diff line number Diff line
@@ -22,27 +22,27 @@ interface OpenStackServiceInterface {
  /**
   * Defines OpenStack Keystone API service type.
   */
  public const IDENTITY_ENDPOINT = 'identity';
  public const IDENTITY_SERVICE = 'identity';

  /**
   * Defines OpenStack Nova API service type.
   */
  public const COMPUTE_ENDPOINT = 'compute';
  public const COMPUTE_SERVICE = 'compute';

  /**
   * Defines OpenStack Glance API service type.
   */
  public const IMAGE_ENDPOINT = 'image';
  public const IMAGE_SERVICE = 'image';

  /**
   * Defines OpenStack Neutron API service type.
   */
  public const NETWORK_ENDPOINT = 'network';
  public const NETWORK_SERVICE = 'network';

  /**
   * Defines OpenStack Cinder API service type.
   */
  public const VOLUME_ENDPOINT = 'volume';
  public const VOLUME_SERVICE = 'volume';

  /**
   * Defines maximum tag length.
+114 −202

File changed.

Preview size limit exceeded, changes collapsed.

Loading