autoscale-policy¶
The following operations can be performed on "autoscale-policy":
rename| rm| set| show| unset| stat| add|
rename autoscale policy¶
Rename a autoscale policy.
Synopsis¶
rename autoscale policy
Arguments¶
name The name of the autoscale policy.
newName The new name of the autoscale policy.
Example¶
rename autoscale policy oldname newname
rm autoscale policy¶
Remove a autoscale policy.
Synopsis¶
rm autoscale policy
Arguments¶
name The name of the autoscale policy.
Example¶
rm autoscale policy pol
set autoscale policy¶
Set a new rule/action/comment for an existing autoscale policy.
Synopsis¶
set autoscale policy
Arguments¶
name The name of the autoscale policy.
rule The rule associated with the policy.
action The autoscale profile associated with the policy.
comment Comments associated with this autoscale policy.
logAction The log action associated with the autoscale policy
Example¶
set autoscaler policy pol -rule true
show autoscale policy¶
Display the autoscale policies.
Synopsis¶
show autoscale policy [
Arguments¶
name The name of the autoscale policy.
Output¶
rule The rule associated with the policy.
action The autoscale profile associated with the policy.
comment Comments associated with this autoscale policy.
logAction The log action associated with the autoscale policy
activePolicy Indicates whether policy is bound or not.
stateflag hits Number of hits.
undefHits Number of Undef hits.
priority Specifies the priority of the policy.
boundTo Location where policy is bound
gotoPriorityExpression Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE.
devno count
unset autoscale policy¶
Unset comment/logaction for existing autoscale policy..Refer to the set autoscale policy command for meanings of the arguments.
Synopsis¶
unset autoscale policy
Example¶
unset autoscale policy pol9 -undefAction
stat autoscale policy¶
Display autoscale policy statistics.
Synopsis¶
stat autoscale policy [
Arguments¶
name The name of the autoscale policy for which statistics will be displayed. If not given statistics are shown for all autoscale policies.
detail Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.
fullValues Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated
ntimes The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0
logFile The name of the log file to be used as input.
clearstats Clear the statsistics / counters
Possible values: basic, full
Output¶
count devno stateflag
Counters¶
Policy hits (Hits) Number of hits on the policy
Policy undef hits (Undefhits) Number of undef hits on the policy
Example¶
stat autoscale policy
add autoscale policy¶
Create a autoscale policy.
Synopsis¶
add autoscale policy
Arguments¶
name The name of the autoscale policy.
rule The rule associated with the policy.
action The autoscale profile associated with the policy.
comment Comments associated with this autoscale policy.
logAction The log action associated with the autoscale policy