Skip to content

Commit

Permalink
Update ietf-acl-enh.yang
Browse files Browse the repository at this point in the history
  • Loading branch information
boucadair authored Jan 23, 2024
1 parent 8f4bb02 commit ea0be84
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions yang/ietf-acl-enh.yang
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,12 @@ grouping mpls-match-parameters-config {
container ipv4-fragment {
description
"Indicates how to handle IPv4 fragments.";
must "not(/acl:acls/acl:acl/acl:aces"
+ "/acl:ace/acl:matches/acl:l3/acl:ipv4/acl:flags)" {
error-message
"Either flags or fragment should be provided, but not
both.";
}
uses fragment-fields;
}
leaf source-ipv4-prefix-list {
Expand Down Expand Up @@ -893,6 +899,12 @@ grouping mpls-match-parameters-config {
container flags-bitmask {
description
"Indicates how to handle TCP flags.";
must "not(/acl:acls/acl:acl/acl:aces/acl:ace/acl:matches"
+ "/acl:l4/acl:tcp/acl:flags)" {
error-message
"Either flags or flags-bitmask should be provided, but not
both.";
}
uses tcp-flags;
}
leaf source-tcp-port-set {
Expand Down

0 comments on commit ea0be84

Please sign in to comment.