This module contains a collection of YANG definitions for Cisco IOS-XR lpts-pre-ifib package operational data. This module cont...
Version: 2020-12-03
module Cisco-IOS-XR-lpts-pre-ifib-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-lpts-pre-ifib-oper"; prefix lpts-pre-ifib-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-lpts-pre-ifib-oper-sub1 { revision-date "2020-12-03"; } 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 module contains a collection of YANG definitions for Cisco IOS-XR lpts-pre-ifib package operational data. This module contains definitions for the following management objects: lpts-pifib: lpts pre-ifib data Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-12-03" { description "LPTS HW FLow Policer Support."; } revision "2020-06-24" { description "added task-name to LptsPifib class. 2019-11-06 LPTS Punt Policer Support. 2019-10-23 LPTS Punt Policer Support."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-11-26" { description "LPTS Domains Support."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2016-11-22" { description "Initial revision for pre-ifib oper yang."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.2.0"; semver:module-version "1.1.0"; semver:module-version "1.0.0"; typedef Lpts-pifib { type enumeration { enum "isis" { value 0; description "ISIS packets"; } enum "ipv4-frag" { value 1; description "IPv4 fragmented packets"; } enum "ipv4-echo" { value 2; description "IPv4 ICMP Echo packets"; } enum "ipv4-any" { value 3; description "All IPv4 packets"; } enum "ipv6-frag" { value 4; description "IPv6 fragmented packets"; } enum "ipv6-echo" { value 5; description "IPv6 ICMP Echo packets"; } enum "ipv6-nd" { value 6; description "IPv6 ND packets"; } enum "ipv6-any" { value 7; description "All IPv6 packets"; } enum "bfd-any" { value 8; description "BFD packets"; } enum "all" { value 9; description "All packets"; } } description "Lpts pifib"; } container lpts-pifib { config false; description "lpts pre-ifib data"; container nodes { description "List of Pre-ifib Nodes"; list node { key "node-name"; description "Pre-ifib data for particular node"; container shadow-entries { description "Pre-IFIB Shadow Entries (PI)"; list entry { key "entry"; description "Data for single pre-ifib entry"; leaf entry { type xr:Cisco-ios-xr-string; description "Single Pre-ifib entry"; } leaf vrf-name { type string; description "VRF Name"; } leaf vid { type uint32; description "VRF ID"; } leaf l3protocol { type uint32; description "Layer 3 Protocol"; } leaf l4protocol { type uint32; description "Layer 4 Protocol"; } leaf intf-name { type string; description "Interface Name"; } leaf intf-handle { type uint32; description "Interface Handle"; } leaf destination-addr { type string; description "Destination IP Address"; } leaf source-addr { type string; description "Source IP Address"; } leaf destination-type { type string; description "Destination Key Type"; } leaf destination-value { type string; description "Destination Port/ICMP Type/IGMP Type"; } leaf source-port { type string; description "Source port"; } leaf is-frag { type uint8; description "Is Fragment"; } leaf is-syn { type uint8; description "Is SYN"; } leaf opcode { type string; description "Opcode"; } leaf flow-type { type string; description "Flow type"; } leaf listener-tag { type string; description "Listener Tag"; } leaf local-flag { type uint8; description "Local Flag"; } leaf is-fgid { type uint8; description "Is FGID or not"; } leaf deliver-list-short { type string; description "Deliver List Short Format"; } leaf deliver-list-long { type string; description "Deliver List Long Format"; } leaf min-ttl { type uint8; description "Minimum TTL"; } leaf accepts { type uint64; description "Packets matched to accept"; } leaf drops { type uint64; description "Packets matched for drop"; } leaf stale { type uint8; description "Is Stale"; } leaf pifib-type { type uint8; description "sub Pre-IFIB type"; } leaf pifib-program-time { type string; description "Creation or Update Time"; } leaf domain-idx { type uint8; description "Domain Index"; } leaf domain-name { type string; description "Domain Name"; } } // list entry } // container shadow-entries container type-values { description "Type specific"; list type-value { key "pifib-type"; description "pifib types"; leaf pifib-type { type Lpts-pifib; description "Type value"; } list entry { key "entry"; description "Data for single pre-ifib entry"; leaf entry { type xr:Cisco-ios-xr-string; description "Single Pre-ifib entry"; } leaf vrf-name { type string; description "VRF Name"; } leaf vid { type uint32; description "VRF ID"; } leaf l3protocol { type uint32; description "Layer 3 Protocol"; } leaf l4protocol { type uint32; description "Layer 4 Protocol"; } leaf intf-name { type string; description "Interface Name"; } leaf intf-handle { type uint32; description "Interface Handle"; } leaf destination-addr { type string; description "Destination IP Address"; } leaf source-addr { type string; description "Source IP Address"; } leaf destination-type { type string; description "Destination Key Type"; } leaf destination-value { type string; description "Destination Port/ICMP Type/IGMP Type"; } leaf source-port { type string; description "Source port"; } leaf is-frag { type uint8; description "Is Fragment"; } leaf is-syn { type uint8; description "Is SYN"; } leaf opcode { type string; description "Opcode"; } leaf flow-type { type string; description "Flow type"; } leaf listener-tag { type string; description "Listener Tag"; } leaf local-flag { type uint8; description "Local Flag"; } leaf is-fgid { type uint8; description "Is FGID or not"; } leaf deliver-list-short { type string; description "Deliver List Short Format"; } leaf deliver-list-long { type string; description "Deliver List Long Format"; } leaf min-ttl { type uint8; description "Minimum TTL"; } leaf accepts { type uint64; description "Packets matched to accept"; } leaf drops { type uint64; description "Packets matched for drop"; } leaf stale { type uint8; description "Is Stale"; } leaf pifib-type { type uint8; description "sub Pre-IFIB type"; } leaf pifib-program-time { type string; description "Creation or Update Time"; } leaf domain-idx { type uint8; description "Domain Index"; } leaf domain-name { type string; description "Domain Name"; } } // list entry } // list type-value } // container type-values container domains { description "data for pre-ifib domains"; container config-data { description "Domain Config Data"; leaf number-of-active-domains { type uint8; description "Number of Active Domains"; } list domains-info { description "Domains Info"; leaf domain-name { type string; description "Domain Name"; } leaf domain-index { type uint8; description "Domain Index"; } leaf number-of-interfaces { type uint32; description "Number of Interfaces"; } list interface { description "Interface List"; leaf interface-handle { type xr:Interface-name; description "Interface Handle"; } leaf interface-name { type string; description "Interface Name"; } leaf virtual-interface { type boolean; description "Interface is Virtual"; } } // list interface } // list domains-info } // container config-data leaf domains-enabled { type boolean; description "Domains Enabled"; } leaf number-of-supported-domains { type uint32; description "Number of Supported Domains"; } } // container domains container dynamic-flows-stats { description "Dynamic Flows Statistics"; leaf dynamic-flows-enabled { type boolean; description "Dynamic Flows Enabled"; } leaf platform-supported-max { type uint32; description "Platform Max"; } leaf platform-configured-max { type uint32; description "Platform Config Limit"; } leaf platform-total-configured { type uint32; description "Platform Total Configured"; } leaf total-hw-entries { type uint32; description "Total HW Entries"; } leaf total-sw-entries { type uint32; description "Total SW Entries"; } list flow { description "Flow Datalist"; leaf flow-name { type string; description "Flow Name"; } leaf configurable { type boolean; description "Is Configurable"; } leaf configured { type boolean; description "Is Configured"; } leaf default-max { type uint32; description "Default Max"; } leaf configured-max { type string; description "Configured Max"; } leaf active-max { type uint32; description "Active Max"; } leaf hardware-count { type uint32; description "Hardware Count"; } leaf software-count { type uint32; description "Software Count"; } leaf pending-software-entries { type boolean; description "Pending Software Entries"; } } // list flow } // container dynamic-flows-stats container punt-policer-stats { description "Punt Policer Statistics"; container config-data { description "Punt Policer Config Data"; leaf has-config { type boolean; description "config presence"; } leaf number-of-interfaces { type uint32; description "Number of Interfaces"; } leaf number-of-domains { type uint32; description "Number of Domains"; } list interface { description "Interface List"; leaf interface-handle { type xr:Interface-name; description "Interface Handle"; } leaf interface-name { type string; description "Interface Name"; } leaf virtual-interface { type boolean; description "Interface is Virtual"; } leaf number-of-punt-types { type uint32; description "Number of Punt types"; } list punt-type { description "Punt type List"; leaf punt-name { type string; description "Punt Name"; } leaf configured { type boolean; description "Is Configured"; } leaf active-cfg-state { type string; description "Active Cfg State"; } leaf enabled { type boolean; description "Is Enabled"; } leaf pending { type boolean; description "Is Pending"; } leaf configured-rate { type uint32; description "Configured Policer Rate"; } leaf operational-rate { type uint32; description "Operational Policer Rate"; } leaf operational-burst { type uint32; description "Operational Burst size"; } leaf domain-name { type string; description "Domain Name"; } leaf domain-index { type uint8; description "Domain Index"; } leaf accepted { type uint64; description "Packets matched to accept"; } leaf dropped { type uint64; description "Packets matched for drop"; } } // list punt-type list applied-config { description "Applied Policer Data"; leaf interface-handle { type xr:Interface-name; description "Interface Handle"; } leaf virtual-interface { type boolean; description "Interface is Virtual"; } leaf punt-name { type string; description "Punt Name"; } leaf enabled { type boolean; description "Is Enabled"; } leaf configured-rate { type uint32; description "Configured Policer Rate"; } leaf domain-index { type uint8; description "Domain Index"; } leaf punt-police-program-time { type string; description "Creation or Update Time"; } } // list applied-config } // list interface list domain { description "Domain List"; leaf domain-index { type uint8; description "Domain Index"; } leaf domain-name { type string; description "Domain Name"; } leaf valid { type boolean; description "Domain is Valid"; } leaf number-of-punt-types { type uint32; description "Number of Punt types"; } list punt-type { description "Punt type List"; leaf punt-name { type string; description "Punt Name"; } leaf configured { type boolean; description "Is Configured"; } leaf active-cfg-state { type string; description "Active Cfg State"; } leaf enabled { type boolean; description "Is Enabled"; } leaf pending { type boolean; description "Is Pending"; } leaf configured-rate { type uint32; description "Configured Policer Rate"; } leaf operational-rate { type uint32; description "Operational Policer Rate"; } leaf operational-burst { type uint32; description "Operational Burst size"; } leaf domain-name { type string; description "Domain Name"; } leaf domain-index { type uint8; description "Domain Index"; } leaf accepted { type uint64; description "Packets matched to accept"; } leaf dropped { type uint64; description "Packets matched for drop"; } } // list punt-type list applied-config { description "Applied Policer Data"; leaf interface-handle { type xr:Interface-name; description "Interface Handle"; } leaf virtual-interface { type boolean; description "Interface is Virtual"; } leaf punt-name { type string; description "Punt Name"; } leaf enabled { type boolean; description "Is Enabled"; } leaf configured-rate { type uint32; description "Configured Policer Rate"; } leaf domain-index { type uint8; description "Domain Index"; } leaf punt-police-program-time { type string; description "Creation or Update Time"; } } // list applied-config } // list domain } // container config-data leaf punt-policer-supported { type boolean; description "Punt Policer Supported"; } } // container punt-policer-stats container pifib-hw-flow-policer-stats { description "Pifib HW Flow policer Stats"; list police-info { description "Per flow type police info"; leaf flow-type { type uint8; description "flow type"; } leaf flow-name { type string; description "flow name"; } leaf type { type uint8; description "type"; } leaf type-name { type string; description "type name"; } leaf domain-id { type uint8; description "domain id"; } leaf domain-name { type string; description "domain name"; } leaf npu-id { type uint8; description "npu id"; } leaf policer-rate { type uint32; description "policer rate"; } leaf burst-size { type uint32; description "burst size"; } leaf accepted { type uint64; description "accepted"; } leaf dropped { type uint64; description "dropped"; } } // list police-info } // container pifib-hw-flow-policer-stats leaf node-name { type xr:Node-id; description "The node name"; } } // list node } // container nodes } // container lpts-pifib } // module Cisco-IOS-XR-lpts-pre-ifib-oper
© 2023 YumaWorks, Inc. All rights reserved.