Skip to content

Commit 67f955e

Browse files
Gupta, SuryaGupta, Surya
authored andcommitted
[CSTACKEX-204] ASUP Changes without restart
1 parent 16039cc commit 67f955e

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/utils/OntapStorageConstants.java

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -113,31 +113,17 @@ public class OntapStorageConstants {
113113

114114
// ASUP (AutoSupport) / EMS telemetry
115115
public static final String ADVANCED_CONFIG_KEY_CATEGORY = "Advanced";
116-
/** EMS category reported in the AutoSupport message. */
117116
public static final String ASUP_CATEGORY = "provisioning";
118-
/** EMS severity reported in the AutoSupport message. */
119117
public static final String ASUP_SEVERITY = "notice";
120-
/** event-source prefix identifying the CloudStack ONTAP plugin in EMS logs. */
121118
public static final String ASUP_EVENT_SOURCE = "CloudStack ONTAP plugin";
122-
/** event-id used for the periodic CloudStack-to-cluster heartbeat message. */
123119
public static final String ASUP_EVENT_ID_HEARTBEAT = "0";
124-
/** event-id used for the periodic storage-pool backing-volume message. */
125120
public static final String ASUP_EVENT_ID_STORAGE_POOL = "1";
126-
/** Fallback value used when a piece of telemetry cannot be resolved. */
127121
public static final String ASUP_UNKNOWN = "unknown";
128-
/** GlobalLock name ensuring a single management server emits ASUP per cycle. */
129122
public static final String ASUP_GLOBAL_LOCK_NAME = "ontap.asup.push";
130-
/** ConfigKey name for the ASUP enabled/disabled toggle. */
131123
public static final String ASUP_ENABLED_CONFIG_KEY = "ontap.asup.enabled";
132-
/** Default value for {@link #ASUP_ENABLED_CONFIG_KEY}: ASUP is on by default. */
133124
public static final String ASUP_ENABLED_DEFAULT = "true";
134-
/** Description for {@link #ASUP_ENABLED_CONFIG_KEY}. */
135125
public static final String ASUP_ENABLED_DESCRIPTION = "Enable periodic ASUP (AutoSupport) telemetry push from the CloudStack ONTAP plugin to the ONTAP cluster.";
136-
/** ConfigKey name for the ASUP push interval. */
137126
public static final String ASUP_INTERVAL_CONFIG_KEY = "ontap.asup.interval";
138-
/** Default interval (in seconds) between ASUP pushes; shared by the ConfigKey default and the poll-task fallback. */
139-
public static final int ASUP_DEFAULT_INTERVAL_SECONDS = 120;
140-
/** Description for {@link #ASUP_INTERVAL_CONFIG_KEY}. */
141-
public static final String ASUP_INTERVAL_DESCRIPTION =
142-
"Interval (in seconds) between periodic ASUP telemetry pushes from the CloudStack ONTAP plugin.";
127+
public static final int ASUP_DEFAULT_INTERVAL_SECONDS = 43200; // 12 hours (twice a day)
128+
public static final String ASUP_INTERVAL_DESCRIPTION = "Interval (in seconds) between periodic ASUP telemetry pushes from the CloudStack ONTAP plugin.";
143129
}

0 commit comments

Comments
 (0)