Skip to content

Commit d04f124

Browse files
committed
Minor fixes for references to Pure Storage FlashArray
1 parent 98f5663 commit d04f124

9 files changed

Lines changed: 15 additions & 15 deletions

File tree

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/MultipathSCSIAdapterBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public abstract class MultipathSCSIAdapterBase implements StorageAdaptor {
5858
*/
5959
static String[] SUPPORTED_OUI_LIST = {
6060
"0002ac", // HPE Primera 3PAR
61-
"24a937" // Pure Flasharray
61+
"24a937" // Pure Storage FlashArray
6262
};
6363

6464
/**

plugins/storage/volume/flasharray/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222
<artifactId>cloud-plugin-storage-volume-flasharray</artifactId>
23-
<name>Apache CloudStack Plugin - Storage Volume - Pure Flash Array</name>
23+
<name>Apache CloudStack Plugin - Storage Volume - Pure Storage FlashArray</name>
2424
<parent>
2525
<groupId>org.apache.cloudstack</groupId>
2626
<artifactId>cloudstack-plugins</artifactId>

plugins/storage/volume/flasharray/src/main/java/org/apache/cloudstack/storage/datastore/adapter/flasharray/FlashArrayAdapter.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public ProviderVolume getVolume(ProviderAdapterContext context, ProviderAdapterD
248248

249249
return volume;
250250
} catch (Exception e) {
251-
// assume any exception is a not found. Flash returns 400's for most errors
251+
// assume any exception is a not found. FlashArray returns 400's for most errors
252252
return null;
253253
}
254254
}
@@ -266,7 +266,7 @@ public ProviderVolume getVolumeByAddress(ProviderAdapterContext context, Address
266266
"Invalid volume address type [" + addressType + "] requested for volume search");
267267
}
268268

269-
// convert WWN to serial to search on. strip out WWN type # + Flash OUI value
269+
// convert WWN to serial to search on. strip out WWN type # + FlashArray OUI value
270270
String serial = address.substring(FlashArrayVolume.PURE_OUI.length() + 1).toUpperCase();
271271
String query = "serial='" + serial + "'";
272272

@@ -288,7 +288,7 @@ public ProviderVolume getVolumeByAddress(ProviderAdapterContext context, Address
288288

289289
return volume;
290290
} catch (Exception e) {
291-
// assume any exception is a not found. Flash returns 400's for most errors
291+
// assume any exception is a not found. FlashArray returns 400's for most errors
292292
return null;
293293
}
294294
}
@@ -345,7 +345,7 @@ public ProviderVolume revert(ProviderAdapterContext context, ProviderAdapterData
345345
String origVolumeName = snapshot.getSource().getName();
346346

347347
// now "create" a new volume with the snapshot volume as its source (basically a
348-
// Flash array copy)
348+
// FlashArray copy)
349349
// and overwrite to true (volume already exists, we are recreating it)
350350
FlashArrayVolume input = new FlashArrayVolume();
351351
input.setExternalName(origVolumeName);
@@ -400,7 +400,7 @@ public ProviderVolume copy(ProviderAdapterContext context, ProviderAdapterDataOb
400400
}
401401

402402
// now "create" a new volume with the snapshot volume as its source (basically a
403-
// Flash array copy)
403+
// FlashArray copy)
404404
// and overwrite to true (volume already exists, we are recreating it)
405405
FlashArrayVolume payload = new FlashArrayVolume();
406406
payload.setExternalName(normalizeName(pod, destDataObject.getExternalName()));

plugins/storage/volume/flasharray/src/main/java/org/apache/cloudstack/storage/datastore/adapter/flasharray/FlashArrayAdapterFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class FlashArrayAdapterFactory implements ProviderAdapterFactory {
2525

2626
@Override
2727
public String getProviderName() {
28-
return "Flash Array";
28+
return "FlashArray";
2929
}
3030

3131
@Override

plugins/storage/volume/flasharray/src/main/java/org/apache/cloudstack/storage/datastore/provider/FlashArrayPrimaryDatastoreProviderImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public FlashArrayPrimaryDatastoreProviderImpl() {
2626

2727
@Override
2828
public String getName() {
29-
return "Flash Array";
29+
return "FlashArray";
3030
}
3131

3232
}

tools/ngui/static/js/lib/jquery-1.7.2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ jQuery.extend({
16801680
// attempt to add expando properties to them.
16811681
noData: {
16821682
"embed": true,
1683-
// Ban all objects except for Flash (which handle expandos)
1683+
// Ban all objects except for FlashArray (which handle expandos)
16841684
"object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
16851685
"applet": true
16861686
},

ui/public/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1730,7 +1730,7 @@
17301730
"label.primera.username.tooltip": "The username with edit privileges",
17311731
"label.primera.url.tooltip": "URL designating the Primera storage array endpoint, formatted as: http[s]://HOSTNAME:PORT?cpg=NAME&hostset=NAME[&skipTlsValidation=true][&snapCPG=NAME][&taskWaitTimeoutMs=#][&keyttl=#][&connectTimeoutMs=#] where values in [] are optional.",
17321732
"label.flashArray.username.tooltip": "The username with edit privileges",
1733-
"label.flashArray.url.tooltip": "URL designating the Flash Array endpoint, formatted as: http[s]://HOSTNAME:PORT?pod=NAME&hostgroup=NAME[&skipTlsValidation=true][&postCopyWaitMs=#][&keyttl=#][&connectTimeoutMs=#][&apiLoginVersion=#][&apiVersion=#] where values in [] are optional.",
1733+
"label.flashArray.url.tooltip": "URL designating the FlashArray endpoint, formatted as: http[s]://HOSTNAME:PORT?pod=NAME&hostgroup=NAME[&skipTlsValidation=true][&postCopyWaitMs=#][&keyttl=#][&connectTimeoutMs=#][&apiLoginVersion=#][&apiVersion=#] where values in [] are optional.",
17341734
"label.primary": "Primary",
17351735
"label.primary.storage": "Primary storage",
17361736
"label.primary.storage.allocated": "Primary storage allocated",

ui/public/locales/te.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,7 @@
17141714
"label.primera.username.tooltip": "సవరణ అధికారాలతో వినియోగదారు పేరు",
17151715
"label.primera.url.tooltip": "ప్రైమెరా స్టోరేజ్ అర్రే ఎండ్‌పాయింట్‌ని నిర్దేశించే URL, ఇలా ఫార్మాట్ చేయబడింది: http[s]://HOSTNAME:PORT?cpg=NAME&hostset=NAME[&skipTlsValidation=true][&snapCPG=NAME][&taskWaitTimeoutMs=#][&keyttl=#][&connectTimeoutMs= ",
17161716
"label.flashArray.username.tooltip": "సవరణ అధికారాలతో వినియోగదారు పేరు",
1717-
"label.flashArray.url.tooltip": "Flash Array ముగింపు బిందువును నిర్దేశించే URL, ఇలా ఫార్మాట్ చేయబడింది: http[s]://HOSTNAME:PORT?pod=NAME&hostgroup=NAME[&skipTlsValidation=true][&postCopyWaitMs=#][&keyttl=#][&connectTimeoutMs=#][&apiLoginVers ",
1717+
"label.flashArray.url.tooltip": "FlashArray ముగింపు బిందువును నిర్దేశించే URL, ఇలా ఫార్మాట్ చేయబడింది: http[s]://HOSTNAME:PORT?pod=NAME&hostgroup=NAME[&skipTlsValidation=true][&postCopyWaitMs=#][&keyttl=#][&connectTimeoutMs=#][&apiLoginVers ",
17181718
"label.primary": "ప్రాథమిక",
17191719
"label.primary.storage": "ప్రాథమిక నిల్వ",
17201720
"label.primary.storage.allocated": "ప్రాథమిక నిల్వ కేటాయించబడింది",

ui/src/views/infra/AddPrimaryStorage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
<a-input v-model:value="form.capacityIops" :placeholder="apiParams.capacityiops.description" />
329329
</a-form-item>
330330
</div>
331-
<div v-if="form.provider === 'Flash Array'">
331+
<div v-if="form.provider === 'FlashArray'">
332332
<a-form-item name="flashArrayURL" ref="flashArrayURL">
333333
<template #label>
334334
<tooltip-label :title="$t('label.url')" :tooltip="$t('label.flashArray.url.tooltip')"/>
@@ -755,7 +755,7 @@ export default {
755755
if (value === 'PowerFlex') {
756756
this.protocols = ['custom']
757757
this.form.protocol = 'custom'
758-
} else if (value === 'Flash Array' || value === 'Primera') {
758+
} else if (value === 'FlashArray' || value === 'Primera') {
759759
this.protocols = ['FiberChannel']
760760
this.form.protocol = 'FiberChannel'
761761
} else {
@@ -873,7 +873,7 @@ export default {
873873
params['details[0].api_username'] = values.primeraUsername
874874
params['details[0].api_password'] = values.primeraPassword
875875
url = values.primeraURL
876-
} else if (values.provider === 'Flash Array') {
876+
} else if (values.provider === 'FlashArray') {
877877
params['details[0].api_username'] = values.flashArrayUsername
878878
params['details[0].api_password'] = values.flashArrayPassword
879879
url = values.flashArrayURL

0 commit comments

Comments
 (0)