Cisco-IOS-XR-icpe-infra-oper-sub11

This submodule contains a collection of YANG definitions for Cisco IOS-XR icpe-infra package operational data. Copyright (c) 20...

  • Version: 2019-04-05

    Cisco-IOS-XR-icpe-infra-oper-sub11@2019-04-05


    
      submodule Cisco-IOS-XR-icpe-infra-oper-sub11 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-icpe-infra-oper {
            prefix
              Cisco-IOS-XR-icpe-infra-oper;
        }
    
        import ietf-yang-types {
          prefix yang;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-icpe-infra-oper-sub4 {
          revision-date "2019-04-05";
        }
    
        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 icpe-infra 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 Icpe-opm-resync-fsm-state {
          type enumeration {
            enum
              "icpe-opm-resync-fsm-state-not-open" {
              value 0;
              description "Not open";
            }
            enum
              "icpe-opm-resync-fsm-state-stable" {
              value 1;
              description "Stable";
            }
            enum
              "icpe-opm-resync-fsm-state-in-resync" {
              value 2;
              description "In resync";
            }
            enum
              "icpe-opm-resync-fsm-state-queued" {
              value 3;
              description "Queued";
            }
            enum
              "icpe-opm-resync-fsm-state-resync-req" {
              value 4;
              description "Resync req";
            }
          }
          description
            "Icpe opm resync fsm state";
        }
    
        typedef Icpe-opm-chan-fsm-state {
          type enumeration {
            enum "icpe-opm-chan-fsm-state-down" {
              value 0;
              description "Down";
            }
            enum
              "icpe-opm-chan-fsm-state-closed" {
              value 1;
              description "Closed";
            }
            enum
              "icpe-opm-chan-fsm-state-opening" {
              value 2;
              description "Opening";
            }
            enum
              "icpe-opm-chan-fsm-state-opened" {
              value 3;
              description "Opened";
            }
            enum "icpe-opm-chan-fsm-state-open" {
              value 4;
              description "Open";
            }
          }
          description "Icpe opm chan fsm state";
        }
    
        typedef Icpe-opm-controller {
          type enumeration {
            enum "icpe-opm-controller-unknown" {
              value 0;
              description "Unknown";
            }
            enum "icpe-opm-controller-primary" {
              value 1;
              description "Primary";
            }
            enum "icpe-opm-controller-secondary" {
              value 2;
              description "Secondary";
            }
          }
          description "Icpe opm controller";
        }
    
        typedef Icpe-opm-sync-fsm-state {
          type enumeration {
            enum
              "icpe-opm-sync-fsm-state-split-brain" {
              value 0;
              description "Split brain";
            }
            enum
              "icpe-opm-sync-fsm-state-waiting" {
              value 1;
              description "Waiting";
            }
            enum
              "icpe-opm-sync-fsm-state-whole-brain" {
              value 2;
              description "Whole brain";
            }
          }
          description "Icpe opm sync fsm state";
        }
    
        typedef Icpe-opm-arbitration-fsm-state {
          type enumeration {
            enum
              "icpe-opm-arbitration-fsm-state-unarbitrated" {
              value 0;
              description "Unarbitrated";
            }
            enum
              "icpe-opm-arbitration-fsm-state-waiting" {
              value 1;
              description "Waiting";
            }
            enum
              "icpe-opm-arbitration-fsm-state-arbitrating" {
              value 2;
              description "Arbitrating";
            }
            enum
              "icpe-opm-arbitration-fsm-state-arbitrated" {
              value 3;
              description "Arbitrated";
            }
          }
          description
            "Icpe opm arbitration fsm state";
        }
    
        typedef Icpe-opm-auth-fsm-state {
          type enumeration {
            enum
              "icpe-opm-auth-fsm-state-unauth" {
              value 0;
              description "Unauth";
            }
            enum
              "icpe-opm-auth-fsm-state-waiting" {
              value 1;
              description "Waiting";
            }
            enum
              "icpe-opm-auth-fsm-state-waiting-for-auth" {
              value 2;
              description "Waiting for auth";
            }
            enum
              "icpe-opm-auth-fsm-state-waiting-for-reply" {
              value 3;
              description "Waiting for reply";
            }
            enum
              "icpe-opm-auth-fsm-state-authed" {
              value 4;
              description "Authed";
            }
          }
          description "Icpe opm auth fsm state";
        }
    
        typedef Icpe-opm-transport-state {
          type enumeration {
            enum
              "icpe-opm-transport-state-disconnected" {
              value 0;
              description "Disconnected";
            }
            enum
              "icpe-opm-transport-state-iccp-unavailable" {
              value 1;
              description "ICCP unavailable";
            }
            enum
              "icpe-opm-transport-state-no-member-present" {
              value 2;
              description "No member present";
            }
            enum
              "icpe-opm-transport-state-member-down" {
              value 3;
              description "Member down";
            }
            enum
              "icpe-opm-transport-state-member-not-reachable" {
              value 4;
              description "Member not reachable";
            }
            enum
              "icpe-opm-transport-state-waiting-for-app-connect" {
              value 5;
              description
                "Waiting for app connect";
            }
            enum
              "icpe-opm-transport-state-waiting-for-app-connect-response" {
              value 6;
              description
                "Waiting for app connect response";
            }
            enum
              "icpe-opm-transport-state-connected" {
              value 7;
              description "Connected";
            }
          }
          description "Icpe opm transport state";
        }
    
        typedef Icpe-opm-sess-state {
          type enumeration {
            enum
              "icpe-opm-sess-state-disconnected" {
              value 0;
              description "Disconnected";
            }
            enum
              "icpe-opm-sess-state-connecting" {
              value 1;
              description "Connecting";
            }
            enum
              "icpe-opm-sess-state-authenticating" {
              value 2;
              description "Authenticating";
            }
            enum
              "icpe-opm-sess-state-arbitrating" {
              value 3;
              description "Arbitrating";
            }
            enum
              "icpe-opm-sess-state-waiting-for-resyncs" {
              value 4;
              description "Waiting for resyncs";
            }
            enum "icpe-opm-sess-state-connected" {
              value 5;
              description "Connected";
            }
          }
          description "Icpe opm sess state";
        }
    
        grouping ICPE-REDUNDANCY-CHAN-TYPE {
          description
            "ICPE REDUNDANCY CHAN TYPE";
          container channel-state-timestamp {
            description "Timestamp";
            uses ICPE-TIMESTAMP-TYPE;
          }  // container channel-state-timestamp
    
          container resync-state-timestamp {
            description "Timestamp";
            uses ICPE-TIMESTAMP-TYPE;
          }  // container resync-state-timestamp
    
          leaf channel-id {
            type uint32;
            description "Channel ID";
          }
    
          leaf chan-state {
            type Icpe-opm-chan-fsm-state;
            description "Chan state";
          }
    
          leaf resync-state {
            type Icpe-opm-resync-fsm-state;
            description "Resync state";
          }
    
          leaf control-messages-sent {
            type uint64;
            description "Control messages sent";
          }
    
          leaf normal-messages-sent {
            type uint64;
            description "Normal messages sent";
          }
    
          leaf control-messages-received {
            type uint64;
            description
              "Control messages received";
          }
    
          leaf normal-messages-received {
            type uint64;
            description
              "Normal messages received";
          }
        }  // grouping ICPE-REDUNDANCY-CHAN-TYPE
    
        grouping ICPE-REDUNDANCY-SESSION {
          description
            "nV Satellite Redundancy Protocol Information";
          container protocol-state-timestamp {
            description "Timestamp";
            uses ICPE-TIMESTAMP-TYPE;
          }  // container protocol-state-timestamp
    
          leaf iccp-group-xr {
            type uint32;
            description "ICCP group";
          }
    
          leaf protocol-state {
            type Icpe-opm-sess-state;
            description "Protocol state";
          }
    
          leaf transport-state {
            type Icpe-opm-transport-state;
            description "Transport state";
          }
    
          leaf authentication-state {
            type Icpe-opm-auth-fsm-state;
            description "Authentication state";
          }
    
          leaf arbitration-state {
            type Icpe-opm-arbitration-fsm-state;
            description "Arbitration state";
          }
    
          leaf synchronization-state {
            type Icpe-opm-sync-fsm-state;
            description "Synchronization state";
          }
    
          leaf primacy {
            type Icpe-opm-controller;
            description "Primacy";
          }
    
          leaf system-mac {
            type yang:mac-address;
            description "System MAC";
          }
    
          leaf isolated {
            type boolean;
            description "Isolated";
          }
    
          list channel {
            description
              "Channels on this session table";
            uses ICPE-REDUNDANCY-CHAN-TYPE;
          }  // list channel
        }  // grouping ICPE-REDUNDANCY-SESSION
      }  // submodule Cisco-IOS-XR-icpe-infra-oper-sub11
    

© 2023 YumaWorks, Inc. All rights reserved.