Pārlūkot izejas kodu

Rename provider 'ovirt' to 'olvm'

Sergiu Miclea 3 gadi atpakaļ
vecāks
revīzija
d1e667a046

+ 2 - 2
config.ts

@@ -103,7 +103,7 @@ const conf: Config = {
     oci: 3,
     opc: 3,
     oracle_vm: 3,
-    ovirt: 3,
+    olvm: 3,
     metal: 4,
   },
 
@@ -118,7 +118,7 @@ const conf: Config = {
     oci: 'OCI',
     opc: 'Oracle Cloud',
     oracle_vm: 'Oracle VM',
-    ovirt: 'OLVM',
+    olvm: 'OLVM',
     metal: 'Bare Metal',
   },
 

+ 0 - 0
server/api/resources/providerLogos/ovirt-128-disabled.svg → server/api/resources/providerLogos/olvm-128-disabled.svg


+ 0 - 0
server/api/resources/providerLogos/ovirt-128.svg → server/api/resources/providerLogos/olvm-128.svg


+ 0 - 0
server/api/resources/providerLogos/ovirt-32-white.svg → server/api/resources/providerLogos/olvm-32-white.svg


+ 0 - 0
server/api/resources/providerLogos/ovirt-32.svg → server/api/resources/providerLogos/olvm-32.svg


+ 0 - 0
server/api/resources/providerLogos/ovirt-42.svg → server/api/resources/providerLogos/olvm-42.svg


+ 0 - 0
server/api/resources/providerLogos/ovirt-64.svg → server/api/resources/providerLogos/olvm-64.svg


+ 1 - 1
src/@types/Providers.ts

@@ -12,7 +12,7 @@ You should have received a copy of the GNU Affero General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-export type ProviderTypes = 'azure' | 'openstack' | 'opc' | 'oracle_vm' | 'vmware_vsphere' | 'aws' | 'oci' | 'hyper-v' | 'scvmm' | 'ovirt' | 'kubevirt' | 'metal'
+export type ProviderTypes = 'azure' | 'openstack' | 'opc' | 'oracle_vm' | 'vmware_vsphere' | 'aws' | 'oci' | 'hyper-v' | 'scvmm' | 'olvm' | 'kubevirt' | 'metal'
 
 export type Providers = {
   [provider in ProviderTypes]: {

+ 2 - 2
src/plugins/index.ts

@@ -28,7 +28,7 @@ import AwsOptionsSchemaPlugin from './aws/OptionsSchemaPlugin'
 import OvmOptionsSchemaPlugin from './ovm/OptionsSchemaPlugin'
 import VmwareOptionsSchemaPlugin from './vmware_vsphere/OptionsSchemaPlugin'
 import OpenstackOptionsSchemaPlugin from './openstack/OptionsSchemaPlugin'
-import OvirtOptionsSchemaPlugin from './ovirt/OptionsSchemaPlugin'
+import OlvmOptionsSchemaPlugin from './olvm/OptionsSchemaPlugin'
 import AzureOptionsSchemaPlugin from './azure/OptionsSchemaPlugin'
 
 import DefaultInstanceInfoPlugin from './default/InstanceInfoPlugin'
@@ -63,7 +63,7 @@ export const OptionsSchemaPlugin = {
       oracle_vm: new OvmOptionsSchemaPlugin(),
       openstack: new OpenstackOptionsSchemaPlugin(),
       vmware_vsphere: new VmwareOptionsSchemaPlugin(),
-      ovirt: new OvirtOptionsSchemaPlugin(),
+      olvm: new OlvmOptionsSchemaPlugin(),
       azure: new AzureOptionsSchemaPlugin(),
     }
     if (hasKey(map, provider)) {

+ 0 - 0
src/plugins/ovirt/OptionsSchemaPlugin.ts → src/plugins/olvm/OptionsSchemaPlugin.ts