Cisco-IOS-XR-ethernet-link-oam-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR ethernet-link-oam package operational data. Copyright...

  • Version: 2019-04-05

    Cisco-IOS-XR-ethernet-link-oam-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-ethernet-link-oam-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-ethernet-link-oam-oper {
            prefix
              Cisco-IOS-XR-ethernet-link-oam-oper;
        }
    
        import ietf-yang-types {
          prefix yang;
        }
        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 submodule contains a collection of YANG definitions
         for Cisco IOS-XR ethernet-link-oam package operational data.
         
         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.1";
    
        typedef Log-location {
          type enumeration {
            enum "log-location-local" {
              value 1;
              description "A local event";
            }
            enum "log-location-remote" {
              value 2;
              description "A remote event";
            }
          }
          description
            "The location of the event that caused a log entry";
        }
    
        typedef Log {
          type enumeration {
            enum "log-type-symbol-event" {
              value 1;
              description
                "Log entry for an errored symbol event";
            }
            enum "log-type-period-event" {
              value 2;
              description
                "Log entry for an errored frame period event";
            }
            enum "log-type-frame-event" {
              value 3;
              description
                "Log entry for an errored frame event";
            }
            enum "log-type-secs-event" {
              value 4;
              description
                "Log entry for an errored frame seconds summary
               event";
            }
            enum "log-type-link-fault" {
              value 256;
              description
                "Log entry for a link fault";
            }
            enum "log-type-dying-gasp" {
              value 257;
              description
                "Log entry for a dying gasp";
            }
            enum "log-type-critical-event" {
              value 258;
              description
                "Log entry for a critical event";
            }
          }
          description "The type of a log entry";
        }
    
        typedef Action {
          type enumeration {
            enum "no-action" {
              value 1;
              description
                "Disabled (do nothing)";
            }
            enum "disable-interface" {
              value 2;
              description
                "Disable the interface";
            }
            enum "log" {
              value 3;
              description
                "Log the event and do nothing else";
            }
            enum "efd" {
              value 4;
              description "EFD the interface";
            }
          }
          description
            "Actions supported by an OAM interface";
        }
    
        typedef Protocol-state {
          type enumeration {
            enum "protocol-state-inactive" {
              value 0;
              description
                "The protocol is in the INACTIVE state";
            }
            enum "protocol-state-fault" {
              value 1;
              description
                "The protocol is in the FAULT state";
            }
            enum
              "protocol-state-active-send-local" {
              value 2;
              description
                "The protocol is in the ACTIVE_SEND_LOCAL state";
            }
            enum "protocol-state-passive-wait" {
              value 3;
              description
                "The protocol is in the SEND_LOCAL_REMOTE state";
            }
            enum
              "protocol-state-send-local-remote" {
              value 4;
              description
                "The protocol is in the LOCAL_REMOTE state";
            }
            enum
              "protocol-state-send-local-remote-ok" {
              value 5;
              description
                "The protocol is in the LOCAL_REMOTE_OK state";
            }
            enum "protocol-state-send-any" {
              value 6;
              description
                "The protocol is in the SEND_ANY state";
            }
          }
          description
            "The state the protocol is in";
        }
    
        typedef Mode {
          type enumeration {
            enum "passive" {
              value 0;
              description "Passive mode";
            }
            enum "active" {
              value 1;
              description "Active mode";
            }
            enum "dont-care" {
              value 2;
              description
                "Don't care what the mode is";
            }
          }
          description "Mode of an OAM interface";
        }
    
        typedef Loopback-status {
          type enumeration {
            enum "none" {
              value 1;
              description
                "Loopback is not being performed";
            }
            enum "initiating" {
              value 2;
              description
                "Initiating master loopback";
            }
            enum "master-loopback" {
              value 3;
              description
                "In master loopback mode";
            }
            enum "terminating" {
              value 4;
              description
                "Terminating master loopback mode";
            }
            enum "local-loopback" {
              value 5;
              description
                "In slave loopback mode";
            }
            enum "unknown" {
              value 6;
              description
                "Parser and multiplexer combination unexpected";
            }
          }
          description
            "The loopback mode of an OAM interface";
        }
    
        typedef Operational-state {
          type enumeration {
            enum "disabled" {
              value 1;
              description
                "802.3 OAM is disabled";
            }
            enum "link-fault" {
              value 2;
              description
                "802.3 OAM has encountered a link fault";
            }
            enum "passive-wait" {
              value 3;
              description
                "Passive OAM entity waiting to see if peer is
               OAM capable";
            }
            enum "active-send-local" {
              value 4;
              description
                "Active OAM entity trying to determine if peer
               is OAM capable";
            }
            enum "send-local-and-remote" {
              value 5;
              description
                "OAM discovered peer but still to accept or
               reject peer config";
            }
            enum "send-local-and-remote-ok" {
              value 6;
              description
                "OAM peering is allowed by local device";
            }
            enum "peering-locally-rejected" {
              value 7;
              description
                "OAM peering rejected by local device";
            }
            enum "peering-remotely-rejected" {
              value 8;
              description
                "OAM peering rejected by remote device";
            }
            enum "operational" {
              value 9;
              description
                "802.3 OAM is operational";
            }
            enum "operational-half-duplex" {
              value 10;
              description
                "802.3 OAM is operating in half-duplex mode";
            }
          }
          description
            "Operational state of an interface";
        }
      }  // submodule Cisco-IOS-XR-ethernet-link-oam-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.