This submodule contains a collection of YANG definitions for Cisco IOS-XR smart-license-platform package operational data. Copy...
Version: 2020-09-15
submodule Cisco-IOS-XR-smart-license-platform-oper-sub1 { yang-version 1; belongs-to Cisco-IOS-XR-smart-license-platform-oper { prefix Cisco-IOS-XR-smart-license-platform-oper; } 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 smart-license-platform package operational data. Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-09-15" { description "Structured the yang response for show CLIs."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.0"; typedef Ft-feature-name-enum { type enumeration { enum "essential" { value 0; description "essential"; } enum "l3vpn-advantage" { value 1; description "l3vpn advantage"; } enum "macsec-advantage" { value 2; description "macsec advantage"; } enum "peering-scale-advantage" { value 3; description "peering scale advantage"; } enum "traffic-engineering-advantage" { value 4; description "traffic engineering advantage"; } enum "flex-algo-advantage" { value 5; description "flex algo advantage"; } enum "service-layer-advantage" { value 6; description "service layer advantage"; } enum "evpn-advantage" { value 7; description "evpn advantage"; } enum "vpls-advantage" { value 8; description "vpls advantage"; } enum "iccp-advantage" { value 9; description "iccp advantage"; } enum "l2vpn-advantage" { value 10; description "l2vpn advantage"; } } description "Feature Name in the feature table"; } typedef Feature-status-enum { type enumeration { enum "active" { value 0; description "active"; } enum "inactive" { value 1; description "inactive"; } } description "Feature Name"; } typedef Feature-name-enum { type enumeration { enum "fcm" { value 0; description "fcm"; } enum "system" { value 1; description "system"; } } description "Feature Name"; } typedef Bool-state { type enumeration { enum "no" { value 0; description "No"; } enum "yes" { value 1; description "Yes"; } } description "Boolean State "; } typedef Sia-status-enum { type enumeration { enum "incompliance" { value 0; description "incompliance"; } enum "out-of-compliance" { value 1; description "out of compliance"; } } description "SIA Status"; } grouping FEATURE-LIST { description "FEATURE LIST"; container count { description "Count"; uses PLAT-ENTITLEMENT; } // container count leaf feature-area { type Feature-name-enum; description "Feature Name"; } leaf entitlement { type string; description "Entitlement"; } } // grouping FEATURE-LIST grouping PLAT-SL-SUMMARY { description "SL Summary"; container collection { description "Last and Next collection times"; uses PLAT-INTERVALS; } // container collection container reporting { description "Last and Next reporting times"; uses PLAT-INTERVALS; } // container reporting container sia-status { description "SIA Status"; uses PLAT-SIA-STATUS; } // container sia-status container upgrade-license-status { description "Upgrade License Status"; uses PLAT-UPGRADE-LICENSE-STATUS; } // container upgrade-license-status list license { description "List of licenses consumed"; uses FEATURE-LIST; } // list license } // grouping PLAT-SL-SUMMARY grouping PLAT-ENTITLEMENT { description "PLAT ENTITLEMENT"; leaf last { type uint32; description "Last count"; } leaf next { type uint32; description "Next count"; } } // grouping PLAT-ENTITLEMENT grouping PLAT-ENTITLEMENT-LIST { description "PLAT ENTITLEMENT LIST"; container count { description "Count"; uses PLAT-ENTITLEMENT; } // container count leaf name { type string; description "Entitlement Name"; } leaf entitlement-tag { type string; description "Entitlement Tag"; } } // grouping PLAT-ENTITLEMENT-LIST grouping PLAT-FEATURE-TABLE { description "PLAT FEATURE TABLE"; leaf feature { type Ft-feature-name-enum; description "Feature Name"; } leaf location { type string; description "Location"; } leaf interface-list { type string; description "Interface List"; } } // grouping PLAT-FEATURE-TABLE grouping PLAT-DETAIL-FLAGS { description "PLAT DETAIL FLAGS"; leaf need-running-config { type Bool-state; description "Is running config needed"; } leaf need-throughput { type Bool-state; description "Is throughput needed"; } } // grouping PLAT-DETAIL-FLAGS grouping FEATURE-DETAILS { description "FEATURE DETAILS"; container flags { description "Flags for is running config and is throughput"; uses PLAT-DETAIL-FLAGS; } // container flags leaf name { type Feature-name-enum; description "Feature Name"; } leaf status { type Feature-status-enum; description "Status"; } list feature-table { description "Feature Table"; uses PLAT-FEATURE-TABLE; } // list feature-table list entitlement { description "List of entitlements"; uses PLAT-ENTITLEMENT-LIST; } // list entitlement } // grouping FEATURE-DETAILS grouping PLAT-PARAMETERS { description "PLAT PARAMETERS"; leaf collection-interval { type int32; units "minute"; description "Collection Interval in minutes"; } leaf reporting-interval { type int32; units "minute"; description "Reporting Interval minutes"; } leaf throughput-guage { type int32; units "kbit/s"; description "Throughput Guage in Kbps"; } } // grouping PLAT-PARAMETERS grouping PLAT-UPGRADE-LICENSE-STATUS { description "PLAT UPGRADE LICENSE STATUS"; container grace-period-remaining { description "Remaining grace period"; uses PLAT-GRACE-PERIOD; } // container grace-period-remaining leaf upgrade-license-state { type Sia-status-enum; description "Upgrade License status enum"; } leaf grace-period-expired { type Bool-state; description "Has grace period expired"; } leaf ooc-reason { type string; description "Reason for Upgrade License ooc"; } } // grouping PLAT-UPGRADE-LICENSE-STATUS grouping PLAT-GRACE-PERIOD { description "PLAT GRACE PERIOD"; leaf days { type int32; units "day"; description "Number of days remaining in grace period"; } leaf hours { type int32; units "hour"; description "Number of hours remaining in grace period"; } } // grouping PLAT-GRACE-PERIOD grouping PLAT-SIA-STATUS { description "PLAT SIA STATUS"; container grace-period-remaining { description "Remaining grace period"; uses PLAT-GRACE-PERIOD; } // container grace-period-remaining leaf sia-state { type Sia-status-enum; description "SIA status enum"; } leaf grace-period-expired { type Bool-state; description "Has grace period expired"; } leaf ooc-reason { type string; description "Reason for SIA ooc"; } } // grouping PLAT-SIA-STATUS grouping PLAT-INTERVALS { description "PLAT INTERVALS"; leaf last { type string; description "Last collection or reporting interval"; } leaf next { type string; description "Next collection or reporting interval"; } } // grouping PLAT-INTERVALS grouping PLAT-SL-DETAIL { description "SL Detail"; container collection { description "Last and Next collection times"; uses PLAT-INTERVALS; } // container collection container reporting { description "Last and Next reporting times"; uses PLAT-INTERVALS; } // container reporting container sia-status { description "SIA Status"; uses PLAT-SIA-STATUS; } // container sia-status container upgrade-license-status { description "Upgrade License Status"; uses PLAT-UPGRADE-LICENSE-STATUS; } // container upgrade-license-status container parameters { description "Parameters"; uses PLAT-PARAMETERS; } // container parameters container feature-details { description "Feature Details"; uses FEATURE-DETAILS; } // container feature-details } // grouping PLAT-SL-DETAIL } // submodule Cisco-IOS-XR-smart-license-platform-oper-sub1
© 2023 YumaWorks, Inc. All rights reserved.