Cisco-IOS-XR-ethernet-link-oam-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR ethernet-link-oam package configuration. This YANG modul...

  • Version: 2020-04-15

    Cisco-IOS-XR-ethernet-link-oam-cfg@2020-04-15


    
      module Cisco-IOS-XR-ethernet-link-oam-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-link-oam-cfg";
    
        prefix ethernet-link-oam-cfg;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-snmp-agent-cfg {
          prefix a1;
        }
        import Cisco-IOS-XR-l2-eth-infra-cfg {
          prefix a2;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a3;
        }
    
        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 ethernet-link-oam package configuration.
         
         This YANG module augments the
           Cisco-IOS-XR-snmp-agent-cfg,
           Cisco-IOS-XR-l2-eth-infra-cfg,
           Cisco-IOS-XR-ifmgr-cfg
         modules with configuration data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-04-15" {
          description
            "Fixed must conditions bug.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Ether-link-oam-threshold-window-multiplier-enum {
          type enumeration {
            enum "none" {
              value 0;
              description
                "Do not use a multiplier";
            }
            enum "thousand" {
              value 1;
              description
                "Use multiplier of 1000";
            }
            enum "million" {
              value 2;
              description
                "Use multiplier of 1,000,000";
            }
            enum "billion" {
              value 3;
              description
                "Use multiplier of 1,000,000,000";
            }
          }
          description
            "Ether link oam threshold window multiplier enum";
        }
    
        typedef Ether-link-oam-threshold-units-frames-enum {
          type enumeration {
            enum "frames" {
              value 3;
              description
                "Define threshold in frames";
            }
            enum "ppm" {
              value 4;
              description
                "Define threshold in parts per million";
            }
          }
          description
            "Ether link oam threshold units frames enum";
        }
    
        typedef Ether-link-oam-threshold-units-symbols-enum {
          type enumeration {
            enum "symbols" {
              value 2;
              description
                "Define threshold in symbols";
            }
            enum "ppm" {
              value 4;
              description
                "Define threshold in parts per million";
            }
          }
          description
            "Ether link oam threshold units symbols enum";
        }
    
        typedef Ether-link-oam-window-units-symbols-enum {
          type enumeration {
            enum "milliseconds" {
              value 1;
              description
                "Define window in milliseconds";
            }
            enum "symbols" {
              value 2;
              description
                "Define window in symbols";
            }
          }
          description
            "Ether link oam window units symbols enum";
        }
    
        typedef Ether-link-oam-window-units-frames-enum {
          type enumeration {
            enum "milliseconds" {
              value 1;
              description
                "Define window in milliseconds";
            }
            enum "frames" {
              value 3;
              description
                "Define window in frames";
            }
          }
          description
            "Ether link oam window units frames enum";
        }
    
        typedef Ether-link-oam-require-mode-enum {
          type enumeration {
            enum "passive" {
              value 0;
              description
                "Ethernet Link OAM Passive mode";
            }
            enum "active" {
              value 1;
              description
                "Ethernet Link OAM Active mode";
            }
            enum "dont-care" {
              value 2;
              description
                "Ethernet Link OAM mode not required";
            }
          }
          description
            "Ether link oam require mode enum";
        }
    
        typedef Ether-link-oam-event-action-enum-efd {
          type enumeration {
            enum "disable" {
              value 1;
              description "Perform no action";
            }
            enum "error-disable" {
              value 2;
              description
                "Disable the interface";
            }
            enum "log" {
              value 3;
              description "Log the event";
            }
            enum "efd" {
              value 4;
              description "EFD the interface";
            }
          }
          description
            "Ether link oam event action enum efd";
        }
    
        typedef Ether-link-oam-event-action-prim-enum {
          type enumeration {
            enum "disable" {
              value 1;
              description "Perform no action";
            }
            enum "log" {
              value 3;
              description "Log the event";
            }
          }
          description
            "Ether link oam event action prim enum";
        }
    
        typedef Ether-link-oam-mode-enum {
          type enumeration {
            enum "passive" {
              value 0;
              description
                "Ethernet Link OAM Passive mode";
            }
            enum "active" {
              value 1;
              description
                "Ethernet Link OAM Active mode";
            }
          }
          description "Ether link oam mode enum";
        }
    
        typedef Ether-link-oam-event-action-enum {
          type enumeration {
            enum "disable" {
              value 1;
              description "Perform no action";
            }
            enum "error-disable" {
              value 2;
              description
                "Disable the interface";
            }
            enum "log" {
              value 3;
              description "Log the event";
            }
          }
          description
            "Ether link oam event action enum";
        }
    
        typedef Ether-link-oam-hello-interval-enum {
          type enumeration {
            enum "1s" {
              value 0;
              description
                "1 s OAM hello interval";
            }
            enum "100ms" {
              value 1;
              description
                "100 ms OAM hello interval";
            }
          }
          description
            "Ether link oam hello interval enum";
        }
      }  // module Cisco-IOS-XR-ethernet-link-oam-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.