This submodule contains a collection of YANG definitions for Cisco IOS-XR icpe-infra package operational data. Copyright (c) 20...
Version: 2019-04-05
submodule Cisco-IOS-XR-icpe-infra-oper-sub4 { yang-version 1; belongs-to Cisco-IOS-XR-icpe-infra-oper { prefix Cisco-IOS-XR-icpe-infra-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 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-oper-multichassis-redundancy { type enumeration { enum "icpe-oper-multi-chassis-redundancy-not-redundant" { value 0; description "Not redundant"; } enum "icpe-oper-multi-chassis-redundancy-active" { value 1; description "Active"; } enum "icpe-oper-multi-chassis-redundancy-standby" { value 2; description "Standby"; } } description "Icpe oper multichassis redundancy"; } typedef Icpe-oper-discd-link-state { type enumeration { enum "icpe-oper-discd-link-state-stopped" { value 0; description "Stopped"; } enum "icpe-oper-discd-link-state-probing" { value 1; description "Probing"; } enum "icpe-oper-discd-link-state-configuring" { value 2; description "Configuring"; } enum "icpe-oper-discd-link-state-ready" { value 3; description "Ready"; } } description "Icpe oper discd link state"; } typedef Icpe-oper-port { type enumeration { enum "icpe-oper-port-unknown" { value 0; description "Unknown"; } enum "icpe-oper-port-gigabit-ethernet" { value 1; description "Gigabit ethernet"; } enum "icpe-oper-port-ten-gig-e" { value 2; description "Ten gig e"; } } description "Icpe oper port"; } typedef Icpe-oper-install-state { type enumeration { enum "icpe-oper-install-state-stable" { value 0; description "Stable"; } enum "icpe-oper-install-state-transferring" { value 1; description "Transferring"; } enum "icpe-oper-install-state-transferred" { value 2; description "Transferred"; } enum "icpe-oper-install-state-installing" { value 3; description "Installing"; } enum "icpe-oper-install-state-in-progress" { value 4; description "In progress"; } } description "Icpe oper install state"; } typedef Icpe-gco-oper-control-reason { type enumeration { enum "icpe-gco-oper-control-reason-unknown-error" { value 0; description "Unknown error"; } enum "icpe-gco-oper-control-reason-wrong-chassis-type" { value 1; description "Wrong chassis type"; } enum "icpe-gco-oper-control-reason-wrong-chassis-serial" { value 2; description "Wrong chassis serial"; } enum "icpe-gco-oper-control-reason-needs-to-upgrade" { value 3; description "Needs to upgrade"; } enum "icpe-gco-oper-control-reason-none" { value 4; description "None"; } } description "Icpe gco oper control reason"; } typedef Icpe-oper-sdacp-sess-state { type enumeration { enum "icpe-oper-sdacp-sess-state-not-created" { value 0; description "Not created"; } enum "icpe-oper-sdacp-sess-state-created" { value 1; description "Created"; } enum "icpe-oper-sdacp-sess-state-authentication-not-ok" { value 2; description "Authentication not OK"; } enum "icpe-oper-sdacp-sess-state-authentication-ok" { value 3; description "Authentication OK"; } enum "icpe-oper-sdacp-sess-state-version-not-ok" { value 4; description "Version not OK"; } enum "icpe-oper-sdacp-sess-state-up" { value 5; description "Up"; } enum "icpe-oper-sdacp-sess-state-issu" { value 6; description "ISSU"; } } description "Icpe oper sdacp sess state"; } typedef Icpe-oper-conflict { type enumeration { enum "icpe-oper-conflict-not-calculated" { value 0; description "Not calculated"; } enum "icpe-oper-conflict-no-conflict" { value 1; description "No conflict"; } enum "icpe-oper-conflict-satellite-not-configured" { value 2; description "Satellite not configured"; } enum "icpe-oper-conflict-satellite-no-type" { value 3; description "Satellite no type"; } enum "icpe-oper-conflict-satellite-id-invalid" { value 4; description "Satellite id invalid"; } enum "icpe-oper-conflict-satellite-no-ipv4-addr" { value 5; description "Satellite no ipv4 addr"; } enum "icpe-oper-conflict-satellite-conflicting-ipv4-addr" { value 6; description "Satellite conflicting ipv4 addr"; } enum "icpe-oper-conflict-no-configured-links" { value 7; description "No configured links"; } enum "icpe-oper-conflict-no-discovered-links" { value 8; description "No discovered links"; } enum "icpe-oper-conflict-invalid-ports" { value 9; description "Invalid ports"; } enum "icpe-oper-conflict-ports-overlap" { value 10; description "Ports overlap"; } enum "icpe-oper-conflict-waiting-for-ipv4-addr" { value 11; description "Waiting for ipv4 addr"; } enum "icpe-oper-conflict-waiting-for-vrf" { value 12; description "Waiting for VRF"; } enum "icpe-oper-conflict-different-ipv4-addr" { value 13; description "Different ipv4 addr"; } enum "icpe-oper-conflict-different-vrf" { value 14; description "Different VRF"; } enum "icpe-oper-conflict-satellite-link-ipv4-overlap" { value 15; description "Satellite link ipv4 overlap"; } enum "icpe-oper-conflict-waiting-for-ident" { value 16; description "Waiting for ident"; } enum "icpe-oper-conflict-multiple-ids" { value 17; description "Multiple ids"; } enum "icpe-oper-conflict-multiple-satellites" { value 18; description "Multiple satellites"; } enum "icpe-oper-conflict-ident-rejected" { value 19; description "Ident rejected"; } enum "icpe-oper-conflict-interface-down" { value 20; description "Interface down"; } enum "icpe-oper-conflict-auto-ip-unavailable" { value 21; description "Auto IP unavailable"; } enum "icpe-oper-conflict-satellite-auto-ip-link-manual-ip" { value 22; description "Satellite auto IP link manual IP"; } enum "icpe-oper-conflict-link-auto-ip-satellite-manual-ip" { value 23; description "Link auto IP satellite manual IP"; } enum "icpe-oper-conflict-serial-num-mismatch" { value 24; description "Serial num mismatch"; } enum "icpe-oper-conflict-satellite-not-identified" { value 25; description "Satellite not identified"; } enum "icpe-oper-conflict-satellite-unsupported-type" { value 26; description "Satellite unsupported type"; } enum "icpe-oper-conflict-satellite-partition-unsupported" { value 27; description "Satellite partition unsupported"; } enum "icpe-oper-conflict-satellite-no-serial-number" { value 28; description "Satellite no serial number"; } enum "icpe-oper-conflict-satellite-conflicting-serial-number" { value 29; description "Satellite conflicting serial number"; } enum "icpe-oper-conflict-satellite-link-waiting-for-arp" { value 30; description "Satellite link waiting for arp"; } enum "icpe-oper-conflict-host-pe-isolated-split-brain" { value 31; description "Host PE isolated split brain"; } enum "icpe-oper-conflict-fabric-iccp-group-inconsistent" { value 32; description "Fabric ICCP group inconsistent"; } enum "icpe-oper-conflict-invalid-iccp-group" { value 33; description "Invalid ICCP group"; } enum "icpe-oper-conflict-port-rejected" { value 34; description "Port rejected"; } enum "icpe-oper-conflict-satellite-icl-not-supported" { value 35; description "Satellite ICL not supported"; } enum "icpe-oper-conflict-multiple-serial-number" { value 36; description "Multiple serial number"; } enum "icpe-oper-conflict-multiple-mac-address" { value 37; description "Multiple MAC address"; } } description "Icpe oper conflict"; } typedef Icpe-oper-reload-level { type enumeration { enum "icpe-oper-reload-level-unknown" { value 0; description "Unknown"; } enum "icpe-oper-reload-level-system" { value 1; description "System"; } enum "icpe-oper-reload-level-container" { value 2; description "Container"; } } description "Icpe oper reload level"; } typedef Icpe-optical-sync-state { type enumeration { enum "icpe-optical-sync-state-unknown" { value 0; description "Unknown"; } enum "icpe-optical-sync-state-syncing" { value 1; description "Syncing"; } enum "icpe-optical-sync-state-synced" { value 2; description "Synced"; } enum "icpe-optical-sync-state-not-connected" { value 3; description "Not connected"; } } description "Icpe optical sync state"; } typedef Icpe-oper-ver-check-state { type enumeration { enum "icpe-oper-ver-check-state-unknown" { value 0; description "Unknown"; } enum "icpe-oper-ver-check-state-not-compatible" { value 1; description "Not compatible"; } enum "icpe-oper-ver-check-state-current-version" { value 2; description "Current version"; } enum "icpe-oper-ver-check-state-compatible-older" { value 3; description "Compatible older"; } enum "icpe-oper-ver-check-state-compatible-newer" { value 4; description "Compatible newer"; } } description "Icpe oper ver check state"; } typedef Icpe-oper-fabric-port { type enumeration { enum "icpe-oper-fabric-port-unknown" { value 0; description "Unknown"; } enum "icpe-oper-fabric-port-n-v-fabric-gig-e" { value 1; description "n v fabric- gig e"; } enum "icpe-oper-fabric-port-n-v-fabric-ten-gig-e" { value 2; description "n v fabric- ten gig e"; } enum "icpe-oper-fabric-port-n-v-fabric-forty-gig-e" { value 3; description "n v fabric- forty gig e"; } enum "icpe-oper-fabric-port-n-v-fabric-hundred-gig-e" { value 4; description "n v fabric- hundred gig e"; } } description "Icpe oper fabric port"; } typedef Icpe-oper-ref-type { type enumeration { enum "icpe-oper-ref-type-invalid" { value 0; description "Invalid"; } enum "icpe-oper-ref-type-smu" { value 1; description "SMU"; } enum "icpe-oper-ref-type-base-image" { value 2; description "Base image"; } } description "Icpe oper ref type"; } typedef Xr-yang-string { type string; description "Xr yang string"; } grouping ICPE-OPER-PACKAGE-ITEM-TYPE { description "ICPE OPER PACKAGE ITEM TYPE"; leaf name { type Xr-yang-string; description "Name"; } leaf version { type Xr-yang-string; description "Version of this package on the Satellite"; } leaf is-base-image { type boolean; description "Is base image"; } } // grouping ICPE-OPER-PACKAGE-ITEM-TYPE grouping ICPE-OPER-PACKAGE-LIST-TYPE { description "ICPE OPER PACKAGE LIST TYPE"; list package { description "A package on this Satellite table"; uses ICPE-OPER-PACKAGE-ITEM-TYPE; } // list package } // grouping ICPE-OPER-PACKAGE-LIST-TYPE grouping ICPE-OPER-PACKAGE-INFO-TYPE { description "ICPE OPER PACKAGE INFO TYPE"; container active-packages { description "Active Packages running on this Satellite"; uses ICPE-OPER-PACKAGE-LIST-TYPE; } // container active-packages container inactive-packages { description "Inactive Packages on this Satellite"; uses ICPE-OPER-PACKAGE-LIST-TYPE; } // container inactive-packages container committed-packages { description "Committed Packages running on this Satellite"; uses ICPE-OPER-PACKAGE-LIST-TYPE; } // container committed-packages } // grouping ICPE-OPER-PACKAGE-INFO-TYPE grouping ICPE-OPER-DISCD-LINK-TYPE { description "ICPE OPER DISCD LINK TYPE"; leaf interface-handle { type xr:Interface-name; description "Handle for the Discovered Link on this Satellite"; } leaf state { type Icpe-oper-discd-link-state; description "State"; } leaf conflict-reason { type Icpe-oper-conflict; description "Conflict reason"; } leaf conflict-context { type Xr-yang-string; description "Conflict context"; } } // grouping ICPE-OPER-DISCD-LINK-TYPE grouping ICPE-OPER-PORT-RANGE-TYPE { description "ICPE OPER PORT RANGE TYPE"; leaf slot { type uint32; description "Slot"; } leaf subslot { type uint32; description "Subslot"; } leaf low-port { type uint32; description "Low port"; } leaf high-port { type uint32; description "High port"; } leaf port-type { type Icpe-oper-port; description "Port type"; } leaf conflict-reason { type Icpe-oper-conflict; description "Conflict reason"; } leaf conflict-context { type Xr-yang-string; description "Conflict context"; } } // grouping ICPE-OPER-PORT-RANGE-TYPE grouping ICPE-OPER-CFGD-LINK-TYPE { description "ICPE OPER CFGD LINK TYPE"; leaf interface-handle { type xr:Interface-name; description "Handle for the Configured Link on this Satellite"; } leaf ip-address { type inet:ipv4-address; description "IP address"; } leaf ip-address-auto { type boolean; description "IP address auto"; } leaf vrf-id-present { type boolean; description "VRF ID present"; } leaf vrf-id { type uint32; description "VRF ID"; } leaf minimum-preferred-links { type uint32; description "Minimum preferred links"; } leaf number-active-links { type uint32; description "Number active links"; } leaf min-links-satisfied { type boolean; description "Min links satisfied"; } leaf minimum-required-links { type uint32; description "Minimum required links"; } leaf required-min-links-satisfied { type boolean; description "Required min links satisfied"; } leaf conflict-reason { type Icpe-oper-conflict; description "Conflict reason"; } leaf conflict-context { type Xr-yang-string; description "Conflict context"; } list port-range { description "Port ranges table"; uses ICPE-OPER-PORT-RANGE-TYPE; } // list port-range list discovered-link { description "Discovered Links table"; uses ICPE-OPER-DISCD-LINK-TYPE; } // list discovered-link } // grouping ICPE-OPER-CFGD-LINK-TYPE grouping ICPE-OPER-RELOAD-DATA-TYPE { description "ICPE OPER RELOAD DATA TYPE"; leaf level { type Icpe-oper-reload-level; description "Level"; } leaf time { type uint64; description "Time"; } leaf info { type Xr-yang-string; description "Info"; } } // grouping ICPE-OPER-RELOAD-DATA-TYPE grouping ICPE-OPTICAL-APPLICATION-STATE-TYPE { description "ICPE OPTICAL APPLICATION STATE TYPE"; leaf name { type Xr-yang-string; description "Name"; } leaf sync-state { type Icpe-optical-sync-state; description "Sync state"; } } // grouping ICPE-OPTICAL-APPLICATION-STATE-TYPE grouping ICPE-OPTICAL-STATUS-TYPE { description "ICPE OPTICAL STATUS TYPE"; leaf chassis-sync-state { type Icpe-optical-sync-state; description "Chassis sync state"; } list application { description "Application State table"; uses ICPE-OPTICAL-APPLICATION-STATE-TYPE; } // list application } // grouping ICPE-OPTICAL-STATUS-TYPE grouping ICPE-OPER-CAND-FAB-PORTS-CURR-TYPE { description "ICPE OPER CAND FAB PORTS CURR TYPE"; leaf port-type { type Icpe-oper-fabric-port; description "Port type"; } leaf slot { type uint16; description "Slot"; } leaf subslot { type uint16; description "Subslot"; } leaf port { type uint16; description "Port"; } leaf permanent { type boolean; description "Permanent"; } leaf requested { type boolean; description "Requested"; } } // grouping ICPE-OPER-CAND-FAB-PORTS-CURR-TYPE grouping ICPE-OPER-CAND-FAB-PORTS-CFGD-TYPE { description "ICPE OPER CAND FAB PORTS CFGD TYPE"; leaf port-type { type Icpe-oper-fabric-port; description "Port type"; } leaf slot { type uint16; description "Slot"; } leaf subslot { type uint16; description "Subslot"; } leaf port { type uint16; description "Port"; } leaf valid { type boolean; description "Valid"; } } // grouping ICPE-OPER-CAND-FAB-PORTS-CFGD-TYPE grouping ICPE-OPER-CAND-FAB-PORTS-TYPE { description "ICPE OPER CAND FAB PORTS TYPE"; leaf channel-up { type boolean; description "Channel up"; } leaf out-of-sync { type boolean; description "Out of sync"; } leaf error-string { type Xr-yang-string; description "Error string"; } list configured-port { description "Configured Candidate Fabric Ports table"; uses ICPE-OPER-CAND-FAB-PORTS-CFGD-TYPE; } // list configured-port list current-port { description "Current Candidate Fabric Ports on this Satellite table"; uses ICPE-OPER-CAND-FAB-PORTS-CURR-TYPE; } // list current-port } // grouping ICPE-OPER-CAND-FAB-PORTS-TYPE grouping ICPE-OPER-SAT-STATUS { description "Satellite status information"; container candidate-fabric-ports { description "Candidate Fabric Ports on this Satellite"; uses ICPE-OPER-CAND-FAB-PORTS-TYPE; } // container candidate-fabric-ports container optical-status { description "Optical Satellite Status"; uses ICPE-OPTICAL-STATUS-TYPE; } // container optical-status container redundancy-out-of-sync-timestamp { description "Timestamp"; uses ICPE-TIMESTAMP-TYPE; } // container redundancy-out-of-sync-timestamp leaf satellite-id-xr { type uint16; description "Satellite ID"; } leaf version-check-state { type Icpe-oper-ver-check-state; description "Version check state"; } leaf remote-version-present { type boolean; description "Remote version present"; } leaf type { type Xr-yang-string; description "Type"; } leaf ethernet-fabric-supported { type boolean; description "Ethernet fabric supported"; } leaf optical-supported { type boolean; description "Optical supported"; } leaf ip-address { type inet:ipv4-address; description "IP address"; } leaf ip-address-present { type boolean; description "IP address present"; } leaf ip-address-auto { type boolean; description "IP address auto"; } leaf ipv6-address { type inet:ipv6-address; description "IPV6 address"; } leaf ipv6-address-present { type boolean; description "IPV6 address present"; } leaf vrf-name { type Xr-yang-string; description "VRF name"; } leaf vrfid { type uint32; description "VRFID"; } leaf description { type Xr-yang-string; description "Description"; } leaf description-present { type boolean; description "Description present"; } leaf mac-address { type yang:mac-address; description "MAC address"; } leaf mac-address-present { type boolean; description "MAC address present"; } leaf configured-serial-number { type Xr-yang-string; description "Configured serial number"; } leaf configured-serial-number-present { type boolean; description "Configured serial number present"; } leaf received-serial-number { type Xr-yang-string; description "Received serial number"; } leaf received-serial-number-present { type boolean; description "Received serial number present"; } leaf password { type Xr-yang-string; description "Password"; } leaf password-error { type Xr-yang-string; description "Password error"; } leaf received-host-name { type Xr-yang-string; description "Received hostname"; } leaf cfgd-timeout { type uint32; description "Cfgd timeout"; } leaf timeout-warning { type uint32; description "Timeout warning"; } leaf conflict-reason { type Icpe-oper-conflict; description "Conflict reason"; } leaf conflict-context { type Xr-yang-string; description "Conflict context"; } leaf redundancy-iccp-group { type uint32; description "Redundancy ICCP group"; } leaf recovery-delay-time-left { type uint16; description "Recovery delay time left"; } leaf host-treating-as-active { type boolean; description "Host treating as active"; } leaf satellite-treating-as-active { type boolean; description "Satellite treating as active"; } leaf sdacp-session-state { type Icpe-oper-sdacp-sess-state; description "SDACP session state"; } leaf sdacp-session-failure-reason { type Icpe-gco-oper-control-reason; description "SDACP session failure reason"; } leaf install-state { type Icpe-oper-install-state; description "Install state"; } leaf-list remote-version { type Xr-yang-string; description "Remote version"; } list reload-data { description "Reload Information table"; uses ICPE-OPER-RELOAD-DATA-TYPE; } // list reload-data list configured-link { description "Configured Links on this Satellite table"; uses ICPE-OPER-CFGD-LINK-TYPE; } // list configured-link } // grouping ICPE-OPER-SAT-STATUS grouping ICPE-TIMESTAMP-TYPE { description "ICPE TIMESTAMP TYPE"; leaf seconds { type uint32; units "second"; description "Seconds"; } leaf nanoseconds { type uint32; units "nanosecond"; description "Nanoseconds"; } } // grouping ICPE-TIMESTAMP-TYPE } // submodule Cisco-IOS-XR-icpe-infra-oper-sub4
© 2023 YumaWorks, Inc. All rights reserved.