Cisco-IOS-XR-cem-class-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR cem-class package configuration. This module contains de...

  • Version: 2019-04-05

    Cisco-IOS-XR-cem-class-cfg@2019-04-05


    
      module Cisco-IOS-XR-cem-class-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-cem-class-cfg";
    
        prefix cem-class-cfg;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
         for Cisco IOS-XR cem-class package configuration.
         
         This module contains definitions
         for the following management objects:
           cem: Configure CEM
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        typedef Cem-class-dummy-mode {
          type enumeration {
            enum "last-frame" {
              value 0;
              description "Last frame";
            }
            enum "user-defined" {
              value 1;
              description "User defined";
            }
          }
          description "Cem class dummy mode";
        }
    
        container cem {
          description "Configure CEM";
          container classes {
            description "Configure a CEM class";
            list class {
              key "class-name";
              description "CEM class name";
              container idle {
                description
                  "Configure idle pattern";
                leaf pattern {
                  type xr:Hex-integer;
                  description
                    "Idle pattern from 0x0 to 0xff";
                }
              }  // container idle
    
              container dummy {
                description
                  "Configure bit-pattern for filling in lost or
                 corrupted frames";
                leaf pattern {
                  type xr:Hex-integer;
                  description
                    "User defined bit pattern from 0x0 to 0xff for
                   CEM frame";
                }
    
                leaf mode {
                  type Cem-class-dummy-mode;
                  description "Configure mode";
                }
              }  // container dummy
    
              leaf payload {
                type uint32 {
                  range "32..500000";
                }
                units "byte";
                description
                  "Payload size in bytes";
              }
    
              leaf dejitter {
                type uint32 {
                  range "125..500000";
                }
                units "microsecond";
                description
                  "Dejitter buffer size in microseconds";
              }
    
              leaf class-name {
                type xr:Cisco-ios-xr-string {
                  length "1..80";
                }
                description "CEM class name";
              }
            }  // list class
          }  // container classes
        }  // container cem
      }  // module Cisco-IOS-XR-cem-class-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.