ietf-packet-fields

This YANG module defines groupings that are used by the ietf-access-control-list YANG module. Their usage is not limited to iet...

  • Version: 2019-03-04

    ietf-packet-fields@2019-03-04


    
      module ietf-packet-fields {
    
        yang-version 1.1;
    
        namespace
          "urn:ietf:params:xml:ns:yang:ietf-packet-fields";
    
        prefix packet-fields;
    
        import ietf-inet-types {
          prefix inet;
          reference
            "RFC 6991 - Common YANG Data Types.";
    
    
        }
        import ietf-yang-types {
          prefix yang;
          reference
            "RFC 6991 - Common YANG Data Types.";
    
    
        }
        import ietf-ethertypes {
          prefix eth;
          reference
            "RFC 8519 - YANG Data Model for Network Access Control
            	   Lists (ACLs).";
    
    
        }
    
        organization
          "IETF NETMOD (Network Modeling) Working Group.";
    
        contact
          "WG Web:  <https://datatracker.ietf.org/wg/netmod/>
    WG List: netmod@ietf.org
    
    Editor: Mahesh Jethanandani
    	mjethanandani@gmail.com
    Editor: Lisa Huang
    	huangyi_99@yahoo.com
    Editor: Sonal Agarwal
    	sagarwal12@gmail.com
    Editor: Dana Blair
    	dana@blairhome.com";
    
        description
          "This YANG module defines groupings that are used by
    the ietf-access-control-list YANG module.  Their usage
    is not limited to ietf-access-control-list and can be
    used anywhere as applicable.
    
    Copyright (c) 2019 IETF Trust and the persons identified as
    the document authors.  All rights reserved.
    
    Redistribution and use in source and binary forms, with or
    without modification, is permitted pursuant to, and subject
    to the license terms contained in, the Simplified BSD
    License set forth in Section 4.c of the IETF Trust's Legal
    Provisions Relating to IETF Documents
    (http://trustee.ietf.org/license-info).
    
    This version of this YANG module is part of RFC 8519; see
    the RFC itself for full legal notices.";
    
        revision "2019-03-04" {
          description "Initial version.";
          reference
            "RFC 8519: YANG Data Model for Network Access Control
            	  Lists (ACLs).";
    
        }
    
    
        typedef operator {
          type enumeration {
            enum "lte" {
              value 0;
              description
                "Less than or equal to.";
            }
            enum "gte" {
              value 1;
              description
                "Greater than or equal to.";
            }
            enum "eq" {
              value 2;
              description "Equal to.";
            }
            enum "neq" {
              value 3;
              description "Not equal to.";
            }
          }
          description
            "The source and destination port range definitions
    can be further qualified using an operator.  An
    operator is needed only if the lower-port is specified
    and the upper-port is not specified.  The operator
    therefore further qualifies the lower-port only.";
        }
      }  // module ietf-packet-fields
    

© 2023 YumaWorks, Inc. All rights reserved.