Skip to content

Commit

Permalink
Increase specification of new leaves description
Browse files Browse the repository at this point in the history
- Changed the name of leaves source-address-mask and destination-address-mask to source-wildcard-mask and destination-wildcard-mask.
- Increase specification ot the description of masked-source-address and masked-destination-address leaves.
  • Loading branch information
Pull-eckermann committed Dec 19, 2024
1 parent c67fa51 commit 8489996
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions release/models/acl/openconfig-packet-match.yang
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,16 @@ module openconfig-packet-match {
leaf masked-source-address {
type oc-inet:ipv4-address;
description
"Source IPv4 address used with a mask.";
"Source IPv4 address, to be used with source-wildcard-mask.
This configuration is used in cases of matches that cannot
be expressed by a CIDR mask..";
}

leaf destination-source-mask {
leaf source-wildcard-mask {
type oc-inet:ipv4-address;
description
"Source IPv4 address mask.";
"Source IPv4 address wildcard mask used
by masked-source-address.";
}

leaf source-address-prefix-set {
Expand All @@ -344,13 +347,16 @@ module openconfig-packet-match {
leaf masked-destination-address {
type oc-inet:ipv4-address;
description
"Destination IPv4 address used with a mask.";
"Destination IPv4 address, to be used with destination-wildcard-mask.
This configuration is used in cases of matches that cannot be expressed
by a CIDR mask.";
}

leaf destination-address-mask {
leaf destination-wildcard-mask {
type oc-inet:ipv4-address;
description
"Destination IPv4 address mask.";
"Destination IPv4 address wildcard mask used
by masked-destination-address.";
}

leaf destination-address-prefix-set {
Expand Down Expand Up @@ -410,13 +416,16 @@ module openconfig-packet-match {
leaf masked-source-address {
type oc-inet:ipv6-address;
description
"Source IPv6 address used with a mask.";
"Source IPv6 address, to be used with source-wildcard-mask.
This configuration is used in cases of matches that cannot
be expressed by a CIDR mask.";
}

leaf source-address-mask {
type oc-inet:ipv6-address;
leaf source-wildcard-mask {
type oc-inet:ipv4-address;
description
"Source IPv6 address mask.";
"Source IPv6 address wildcard mask used
by masked-source-address.";
}

leaf source-address-prefix-set {
Expand Down Expand Up @@ -444,13 +453,16 @@ module openconfig-packet-match {
leaf masked-destination-address {
type oc-inet:ipv6-address;
description
"Destination IPv6 address used with a mask.";
"Destination IPv6 address, to be used with destination-wildcard-mask.
This configuration is used in cases of matches that cannot be expressed
by a CIDR mask.";
}

leaf destination-address-mask {
leaf destination-wildcard-mask {
type oc-inet:ipv6-address;
description
"Destination IPv6 address mask.";
"Destination IPv6 address wildcard mask used
by masked-destination-address.";
}

leaf destination-address-prefix-set {
Expand Down

0 comments on commit 8489996

Please sign in to comment.