Cisco-IOS-XR-ipv4-hsrp-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR ipv4-hsrp package operational data. Copyright (c) 201...

  • Version: 2019-04-05

    Cisco-IOS-XR-ipv4-hsrp-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-ipv4-hsrp-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-ipv4-hsrp-oper {
            prefix Cisco-IOS-XR-ipv4-hsrp-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        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 ipv4-hsrp package operational data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-12-07" {
          description
            "Moved group numbers to a range.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        typedef Hsrp-vmac-state {
          type enumeration {
            enum "stored" {
              value 0;
              description "VMAC stored locally";
            }
            enum "reserved" {
              value 1;
              description
                "VMAC reserved in mac table";
            }
            enum "active" {
              value 2;
              description
                "VMAC active in mac table";
            }
            enum "reserving" {
              value 3;
              description
                "VMAC not yet reserved in mac table";
            }
          }
          description "Hsrp vmac state";
        }
    
        typedef Hsrp-state-change-reason {
          type enumeration {
            enum "state-change-bfd-down" {
              value 0;
              description "BFD session down";
            }
            enum "state-change-vip-learnt" {
              value 1;
              description "Virtual IP learnt";
            }
            enum "state-change-interface-ip" {
              value 2;
              description "Interface IP update";
            }
            enum "state-change-delay-timer" {
              value 3;
              description "Delay timer expired";
            }
            enum "state-change-startup" {
              value 4;
              description "Ready on startup";
            }
            enum "state-change-shutdown" {
              value 5;
              description "HSRP shut down";
            }
            enum "state-change-interface-up" {
              value 6;
              description "Interface Up update";
            }
            enum "state-change-interface-down" {
              value 7;
              description
                "Interface Down update";
            }
            enum "state-change-active-timer" {
              value 8;
              description "Active timer expired";
            }
            enum "state-change-standby-timer" {
              value 9;
              description
                "Standby timer expired";
            }
            enum "state-change-resign" {
              value 10;
              description "Resign received";
            }
            enum "state-change-coup" {
              value 11;
              description "Coup received";
            }
            enum
              "state-change-higher-priority-speak" {
              value 12;
              description
                "Higher priority speak received";
            }
            enum
              "state-change-higher-priority-standby" {
              value 13;
              description
                "Higher priority standby received";
            }
            enum
              "state-change-lower-priority-standby" {
              value 14;
              description
                "Lower priority standby received";
            }
            enum
              "state-change-higher-priority-active" {
              value 15;
              description
                "Higher priority active received";
            }
            enum
              "state-change-lower-priority-active" {
              value 16;
              description
                "Lower priority active received";
            }
            enum
              "state-change-virtual-ip-configured" {
              value 17;
              description
                "Virtual IP configured";
            }
            enum "state-change-virtual-ip-lost" {
              value 18;
              description "Virtual IP lost";
            }
            enum
              "state-change-recovered-from-checkpoint" {
              value 19;
              description
                "Recovered from checkpoint";
            }
            enum "state-change-mac-update" {
              value 20;
              description "MAC address update";
            }
            enum "state-change-admin" {
              value 21;
              description
                "Forwarder Admin state change";
            }
            enum "state-change-parent" {
              value 22;
              description "MGO parent change";
            }
            enum "state-change-chkpt-update" {
              value 23;
              description
                "Checkpoint update from Primary HSRP instance";
            }
            enum "state-change-issu-resync" {
              value 24;
              description
                "Resync following ISSU primary event";
            }
            enum "state-change-reset-to-learn" {
              value 25;
              description
                "Reset to learn parameters";
            }
            enum "state-change-max" {
              value 26;
              description
                "Maximum reason in enumeration";
            }
          }
          description "Hsrp state change reason";
        }
    
        typedef Hsrp-bfd-session-state {
          type enumeration {
            enum "bfd-state-none" {
              value 0;
              description "None";
            }
            enum "bfd-state-inactive" {
              value 1;
              description "Inactive";
            }
            enum "bfd-state-up" {
              value 2;
              description "Up";
            }
            enum "bfd-state-down" {
              value 3;
              description "Down";
            }
          }
          description "Hsrp bfd session state";
        }
    
        typedef Standby-grp-state {
          type enumeration {
            enum "state-initial" {
              value 1;
              description "Initial";
            }
            enum "state-learn" {
              value 2;
              description "Learn";
            }
            enum "state-listen" {
              value 3;
              description "Listen";
            }
            enum "state-speak" {
              value 4;
              description "Speak";
            }
            enum "state-standby" {
              value 5;
              description "Standby";
            }
            enum "state-active" {
              value 6;
              description "Active";
            }
          }
          description "Standby grp state";
        }
    
        typedef Hsrp-version {
          type uint8;
          description "Hsrp version";
        }
    
        typedef Hsrp-b-af {
          type enumeration {
            enum "ipv4" {
              value 0;
              description "IPv4 Address Family";
            }
            enum "ipv6" {
              value 1;
              description "IPv6 Address Family";
            }
            enum "count" {
              value 2;
              description
                "The number of supported address families";
            }
          }
          description "Hsrp b af";
        }
      }  // submodule Cisco-IOS-XR-ipv4-hsrp-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.