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 ea0be84 commit 688284d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions yang/ietf-acl-enh.yang
Original file line number Diff line number Diff line change
Expand Up @@ -830,14 +830,14 @@ grouping mpls-match-parameters-config {
description
"Handle non-initial and initial fragments for IPv4 packets.";
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.";
}
description
"Indicates how to handle IPv4 fragments.";
uses fragment-fields;
}
leaf source-ipv4-prefix-list {
Expand Down Expand Up @@ -897,14 +897,14 @@ grouping mpls-match-parameters-config {
description
"Handles TCP flags and port sets.";
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.";
}
description
"Indicates how to handle TCP flags.";
uses tcp-flags;
}
leaf source-tcp-port-set {
Expand Down

0 comments on commit 688284d

Please sign in to comment.