ietf-packet-fields@2019-01-28.yang   ietf-packet-fields@2019-01-28-formatted.yang 
skipping to change at line 40 skipping to change at line 37
WG List: netmod@ietf.org WG List: netmod@ietf.org
Editor: Mahesh Jethanandani Editor: Mahesh Jethanandani
mjethanandani@gmail.com mjethanandani@gmail.com
Editor: Lisa Huang Editor: Lisa Huang
lyihuang16@gmail.com lyihuang16@gmail.com
Editor: Sonal Agarwal Editor: Sonal Agarwal
sagarwal12@gmail.com sagarwal12@gmail.com
Editor: Dana Blair Editor: Dana Blair
dblair@cisco.com"; dblair@cisco.com";
description description
"This YANG module defines groupings that are used by "This YANG module defines groupings that are used by
the ietf-access-control-list YANG module. Their usage the ietf-access-control-list YANG module. Their usage
is not limited to ietf-access-control-list and can be is not limited to ietf-access-control-list and can be
used anywhere as applicable. used anywhere as applicable.
Copyright (c) 2019 IETF Trust and the persons identified as Copyright (c) 2019 IETF Trust and the persons identified as
the document authors. All rights reserved. the document authors. All rights reserved.
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD to the license terms contained in, the Simplified BSD
License set forth in Section 4.c of the IETF Trust's Legal License set forth in Section 4.c of the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info). (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 8519; see This version of this YANG module is part of RFC 8519; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
revision 2019-01-28 { revision 2019-01-28 {
description description
"Initial version."; "Initial version.";
reference reference
"RFC 8519: YANG Data Model for Network Access Control "RFC 8519: YANG Data Model for Network Access Control
Lists (ACLs)."; Lists (ACLs).";
} }
/* /*
skipping to change at line 101 skipping to change at line 98
"The source and destination port range definitions "The source and destination port range definitions
can be further qualified using an operator. An can be further qualified using an operator. An
operator is needed only if the lower-port is specified operator is needed only if the lower-port is specified
and the upper-port is not specified. The operator and the upper-port is not specified. The operator
therefore further qualifies the lower-port only."; therefore further qualifies the lower-port only.";
} }
/* /*
* Groupings * Groupings
*/ */
grouping port-range-or-operator { grouping port-range-or-operator {
choice port-range-or-operator { choice port-range-or-operator {
case range { case range {
leaf lower-port { leaf lower-port {
type inet:port-number; type inet:port-number;
must ". <= ../upper-port" { must '. <= ../upper-port' {
error-message error-message
"The lower-port must be less than or equal to "The lower-port must be less than or equal to
the upper-port."; the upper-port.";
} }
mandatory true; mandatory true;
description description
"Lower boundary for a port."; "Lower boundary for a port.";
} }
leaf upper-port { leaf upper-port {
type inet:port-number; type inet:port-number;
mandatory true; mandatory true;
description description
"Upper boundary for a port."; "Upper boundary for a port.";
} }
} }
case operator { case operator {
leaf operator { leaf operator {
type operator; type operator;
default eq; default "eq";
description description
"Operator to be applied on the port below."; "Operator to be applied on the port below.";
} }
leaf port { leaf port {
type inet:port-number; type inet:port-number;
mandatory true; mandatory true;
description description
"Port number along with the operator on which to "Port number along with the operator on which to
match."; match.";
} }
skipping to change at line 151 skipping to change at line 149
description description
"Grouping for port definitions in the form of a "Grouping for port definitions in the form of a
choice statement."; choice statement.";
} }
grouping acl-ip-header-fields { grouping acl-ip-header-fields {
description description
"IP header fields common to IPv4 and IPv6"; "IP header fields common to IPv4 and IPv6";
reference reference
"RFC 791: Internet Protocol."; "RFC 791: Internet Protocol.";
leaf dscp { leaf dscp {
type inet:dscp; type inet:dscp;
description description
"Differentiated Services Code Point."; "Differentiated Services Code Point.";
reference reference
"RFC 2474: Definition of the Differentiated Services "RFC 2474: Definition of the Differentiated Services
Field (DS Field) in the IPv4 and IPv6 Field (DS Field) in the IPv4 and IPv6
Headers."; Headers.";
} }
leaf ecn { leaf ecn {
type uint8 { type uint8 {
range 0..3; range "0..3";
} }
description description
"Explicit Congestion Notification."; "Explicit Congestion Notification.";
reference reference
"RFC 3168: The Addition of Explicit Congestion "RFC 3168: The Addition of Explicit Congestion
Notification (ECN) to IP."; Notification (ECN) to IP.";
} }
leaf length { leaf length {
type uint16; type uint16;
description description
"In the IPv4 header field, this field is known as the Total "In the IPv4 header field, this field is known as the Total
Length. Total Length is the length of the datagram, measured Length. Total Length is the length of the datagram, measured
in octets, including internet header and data. in octets, including internet header and data.
In the IPv6 header field, this field is known as the Payload In the IPv6 header field, this field is known as the Payload
Length, which is the length of the IPv6 payload, i.e., the rest Length, which is the length of the IPv6 payload, i.e., the rest
of the packet following the IPv6 header, in octets."; of the packet following the IPv6 header, in octets.";
skipping to change at line 313 skipping to change at line 300
type inet:ipv6-prefix; type inet:ipv6-prefix;
description description
"Destination IPv6 address prefix."; "Destination IPv6 address prefix.";
} }
} }
description description
"Choice of specifying a destination IPv6 address "Choice of specifying a destination IPv6 address
or referring to a group of IPv6 destination or referring to a group of IPv6 destination
addresses."; addresses.";
} }
choice source-network { choice source-network {
case source-ipv6-network { case source-ipv6-network {
leaf source-ipv6-network { leaf source-ipv6-network {
type inet:ipv6-prefix; type inet:ipv6-prefix;
description description
"Source IPv6 address prefix."; "Source IPv6 address prefix.";
} }
} }
description description
"Choice of specifying a source IPv6 address or "Choice of specifying a source IPv6 address or
referring to a group of IPv6 source addresses."; referring to a group of IPv6 source addresses.";
} }
leaf flow-label { leaf flow-label {
type inet:ipv6-flow-label; type inet:ipv6-flow-label;
description description
"IPv6 Flow label."; "IPv6 Flow label.";
} }
reference reference
"RFC 4291: IP Version 6 Addressing Architecture "RFC 4291: IP Version 6 Addressing Architecture
RFC 4007: IPv6 Scoped Address Architecture RFC 4007: IPv6 Scoped Address Architecture
RFC 5952: A Recommendation for IPv6 Address Text RFC 5952: A Recommendation for IPv6 Address Text
Representation."; Representation.";
 End of changes. 15 change blocks. 
24 lines changed or deleted 19 lines changed or added

This html diff was produced by rfcdiff 1.45. The latest version is available from http://tools.ietf.org/tools/rfcdiff/