Code Review
/
policy
/
engine.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
[POLICY-73] replace openecomp for policy-engine
[policy/engine.git]
/
ONAP-ControlloopPolicy
/
src
/
test
/
resources
/
v2.0.0-guard
/
policy_guard_1707_appc.yaml
1
guard:
2
version: 2.0.0
3
4
guards:
5
- id: unique_guard_vUSP_1
6
name: APPC 5 Restart
7
description:
8
We only allow 5 restarts over 15 minute window during the day time hours (i.e. avoid midnight to 5am)
9
match_parameters:
10
controlLoopName: CL_NAME_ABC_123
11
actor: APPC
12
recipe: Restart
13
targets:
14
- s1
15
s2
16
s3
17
limit_constraints:
18
- freq_limit_per_target: 5
19
time_window:
20
value: 15
21
units: minute
22
active_time_range:
23
start: 00:00:00-05:00
24
end: 23:59:59-05:00