File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/sonic-yang-models/yang-templates Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ module sonic-policer {
14
14
prefix stypes;
15
15
}
16
16
17
- import sonic-acl {
18
- prefix acl;
19
- }
20
-
21
17
description "Policer YANG Module for SONiC OS";
22
18
23
19
revision 2022-02-03 {
@@ -123,12 +119,6 @@ module sonic-policer {
123
119
default "forward";
124
120
description "Red action";
125
121
}
126
-
127
- /* prevent deletion of polocer that referenced by ACL rule.
128
- Note that new policer won't be referenced by any ACL rules initially */
129
- must "not(current()/../acl:sonic-acl/acl:ACL_RULE/acl:ACL_RULE_LIST[acl:POLICER_ACTION=current()/name])" {
130
- error-message "Policer cannot be deleted when referenced by an ACL rule.";
131
- }
132
122
/* end of list POLICER_LIST */
133
123
}
134
124
/* end of container POLICER */
You can’t perform that action at this time.
0 commit comments