From 8489996a791c788fa2033ec24b1b39ae225007fd Mon Sep 17 00:00:00 2001 From: Erick Eckermann Date: Wed, 24 Jul 2024 16:25:02 -0300 Subject: [PATCH] Increase specification of new leaves description - 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. --- .../models/acl/openconfig-packet-match.yang | 38 ++++++++++++------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/release/models/acl/openconfig-packet-match.yang b/release/models/acl/openconfig-packet-match.yang index a3a2334c5..42bbff141 100644 --- a/release/models/acl/openconfig-packet-match.yang +++ b/release/models/acl/openconfig-packet-match.yang @@ -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 { @@ -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 { @@ -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 { @@ -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 {