ieee802-types

This module contains a collection of generally useful derived data types for IEEE YANG models.

  • Version: 2020-10-23

    ieee802-types@2020-10-23


    
      module ieee802-types {
    
        yang-version 1;
    
        namespace
          'urn:ieee:std:802.1Q:yang:ieee802-types';
    
        prefix ieee;
    
        organization "IEEE 802.1 Working Group";
    
        contact
          "WG-URL: http://www.ieee802.org/1/
        WG-EMail: stds-802-1-L@ieee.org
        
        Contact: IEEE 802.1 Working Group Chair
        Postal: C/O IEEE 802.1 Working Group
                IEEE Standards Association
                445 Hoes Lane
                P.O. Box 1331
                Piscataway
                NJ 08854
                USA
        
        E-mail: STDS-802-1-L@IEEE.ORG";
    
        description
          "This module contains a collection of generally useful derived
        data types for IEEE YANG models.";
    
        revision "2020-10-23" {
          description
            "New revision date because Qcx project finished.";
          reference
            "6.3.3.4 of IEEE Std 802.1AS-2020";
    
        }
    
        revision "2019-03-07" {
          description
            "Adding types to define rational numbers and PTP time.";
          reference
            "6.3.3.4 of IEEE Std 802.1AS-2020";
    
        }
    
        revision "2018-03-07" {
          description
            "Published as part of IEEE Std 802.1Q-2018. Initial version.";
          reference
            "IEEE Std 802.1Q-2018, Bridges and Bridged Networks.";
    
        }
    
    
        typedef mac-address {
          type string {
            pattern
              "[0-9a-fA-F]{2}(-[0-9a-fA-F]{2}){5}";
          }
          description
            "The mac-address type represents a MAC address in the canonical
          format and hexadecimal format specified by IEEE Std 802. The
          hexidecimal representation uses uppercase characters.";
          reference
            "3.1 of IEEE Std 802-2014
            8.1 of IEEE Std 802-2014";
    
        }
      }  // module ieee802-types
    

© 2023 YumaWorks, Inc. All rights reserved.