This module contains a collection of YANG definitions for Cisco IOS-XR pbr-vservice-ea package operational data. This module co...
Version: 2019-04-05
module Cisco-IOS-XR-pbr-vservice-ea-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-pbr-vservice-ea-oper"; prefix pbr-vservice-ea-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } import Cisco-IOS-XR-pbr-datatypes { prefix dt1; } include Cisco-IOS-XR-pbr-vservice-ea-oper-sub1 { 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 module contains a collection of YANG definitions for Cisco IOS-XR pbr-vservice-ea package operational data. This module contains definitions for the following management objects: service-function-chaining: NSH Service Function Chaining operational data Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.1"; container service-function-chaining { config false; description "NSH Service Function Chaining operational data"; container nodes { description "Node-specific NSH Service Function Chaining operational data"; list node { key "node-name"; description "NSH operational data for a particular node"; container process { description "Client Process"; container service-function-path { description "Service Function Path operational data"; container path-ids { description "Service Function Path Id "; list path-id { key "id"; description "Specific Service-Function-Path identifier "; container service-indexes { description "Service Index Belonging to Path"; list service-index { key "index"; description "Service index operational data belonging to this path"; leaf index { type dt1:Vservice-nsh-service-index-range; description "Service Index"; } container data { description "Statistics data"; container sfp { when "../type = 'vs-nsh-stats-sfp'" { description "../type = 'VS_NSH_STATS_SFP'"; } description "SFP stats"; container spi-si { description "Service index counters"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { description "Terminate counters"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term } // container sfp container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SPI SI stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term container sf { when "../type = 'vs-nsh-stats-sf'" { description "../type = 'VS_NSH_STATS_SF'"; } description "Service function stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sf container sff { when "../type = 'vs-nsh-stats-sff'" { description "../type = 'VS_NSH_STATS_SFF'"; } description "Service function forwarder stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sff container sff-local { when "../type = 'vs-nsh-stats-sff-local'" { description "../type = 'VS_NSH_STATS_SFF_LOCAL'"; } description "Local service function forwarder stats"; leaf malformed-err-pkts { type uint64; description "Number of packets with invalid NSH header"; } leaf lookup-err-pkts { type uint64; description "Number of packets with unknown spi-si"; } leaf malformed-err-bytes { type uint64; units "byte"; description "Total bytes with invalid NSH header"; } leaf lookup-err-bytes { type uint64; units "byte"; description "Total bytes with unknown spi-si"; } } // container sff-local leaf type { type Vs-nsh-stats; description "type"; } } // container data list si-arr { description "SI array in case of detail stats"; container data { description "Stats counter for this index"; container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SF/SFF stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term leaf type { type Vs-nsh-stats; description "type"; } } // container data leaf si { type uint8; description "Service index"; } } // list si-arr } // list service-index } // container service-indexes container stats { description "SFP Statistics"; container detail { description "Detail statistics per service index "; container data { description "Statistics data"; container sfp { when "../type = 'vs-nsh-stats-sfp'" { description "../type = 'VS_NSH_STATS_SFP'"; } description "SFP stats"; container spi-si { description "Service index counters"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { description "Terminate counters"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term } // container sfp container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SPI SI stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term container sf { when "../type = 'vs-nsh-stats-sf'" { description "../type = 'VS_NSH_STATS_SF'"; } description "Service function stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sf container sff { when "../type = 'vs-nsh-stats-sff'" { description "../type = 'VS_NSH_STATS_SFF'"; } description "Service function forwarder stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sff container sff-local { when "../type = 'vs-nsh-stats-sff-local'" { description "../type = 'VS_NSH_STATS_SFF_LOCAL'"; } description "Local service function forwarder stats"; leaf malformed-err-pkts { type uint64; description "Number of packets with invalid NSH header"; } leaf lookup-err-pkts { type uint64; description "Number of packets with unknown spi-si"; } leaf malformed-err-bytes { type uint64; units "byte"; description "Total bytes with invalid NSH header"; } leaf lookup-err-bytes { type uint64; units "byte"; description "Total bytes with unknown spi-si"; } } // container sff-local leaf type { type Vs-nsh-stats; description "type"; } } // container data list si-arr { description "SI array in case of detail stats"; container data { description "Stats counter for this index"; container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SF/SFF stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term leaf type { type Vs-nsh-stats; description "type"; } } // container data leaf si { type uint8; description "Service index"; } } // list si-arr } // container detail container summarized { description "Combined statistics of all service index in service functionpath"; container data { description "Statistics data"; container sfp { when "../type = 'vs-nsh-stats-sfp'" { description "../type = 'VS_NSH_STATS_SFP'"; } description "SFP stats"; container spi-si { description "Service index counters"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { description "Terminate counters"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term } // container sfp container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SPI SI stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term container sf { when "../type = 'vs-nsh-stats-sf'" { description "../type = 'VS_NSH_STATS_SF'"; } description "Service function stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sf container sff { when "../type = 'vs-nsh-stats-sff'" { description "../type = 'VS_NSH_STATS_SFF'"; } description "Service function forwarder stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sff container sff-local { when "../type = 'vs-nsh-stats-sff-local'" { description "../type = 'VS_NSH_STATS_SFF_LOCAL'"; } description "Local service function forwarder stats"; leaf malformed-err-pkts { type uint64; description "Number of packets with invalid NSH header"; } leaf lookup-err-pkts { type uint64; description "Number of packets with unknown spi-si"; } leaf malformed-err-bytes { type uint64; units "byte"; description "Total bytes with invalid NSH header"; } leaf lookup-err-bytes { type uint64; units "byte"; description "Total bytes with unknown spi-si"; } } // container sff-local leaf type { type Vs-nsh-stats; description "type"; } } // container data list si-arr { description "SI array in case of detail stats"; container data { description "Stats counter for this index"; container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SF/SFF stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term leaf type { type Vs-nsh-stats; description "type"; } } // container data leaf si { type uint8; description "Service index"; } } // list si-arr } // container summarized } // container stats leaf id { type dt1:Vservice-nsh-path-id-range; description "Specific Service-Function-Path identifier"; } } // list path-id } // container path-ids } // container service-function-path container service-function { description "Service Function operational data"; container sf-names { description "List of Service Function Names"; list sf-name { key "name"; description "Name of Service Function"; leaf name { type xr:Cisco-ios-xr-string { length "1..32"; } description "Name"; } container data { description "Statistics data"; container sfp { when "../type = 'vs-nsh-stats-sfp'" { description "../type = 'VS_NSH_STATS_SFP'"; } description "SFP stats"; container spi-si { description "Service index counters"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { description "Terminate counters"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term } // container sfp container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SPI SI stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term container sf { when "../type = 'vs-nsh-stats-sf'" { description "../type = 'VS_NSH_STATS_SF'"; } description "Service function stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sf container sff { when "../type = 'vs-nsh-stats-sff'" { description "../type = 'VS_NSH_STATS_SFF'"; } description "Service function forwarder stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sff container sff-local { when "../type = 'vs-nsh-stats-sff-local'" { description "../type = 'VS_NSH_STATS_SFF_LOCAL'"; } description "Local service function forwarder stats"; leaf malformed-err-pkts { type uint64; description "Number of packets with invalid NSH header"; } leaf lookup-err-pkts { type uint64; description "Number of packets with unknown spi-si"; } leaf malformed-err-bytes { type uint64; units "byte"; description "Total bytes with invalid NSH header"; } leaf lookup-err-bytes { type uint64; units "byte"; description "Total bytes with unknown spi-si"; } } // container sff-local leaf type { type Vs-nsh-stats; description "type"; } } // container data list si-arr { description "SI array in case of detail stats"; container data { description "Stats counter for this index"; container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SF/SFF stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term leaf type { type Vs-nsh-stats; description "type"; } } // container data leaf si { type uint8; description "Service index"; } } // list si-arr } // list sf-name } // container sf-names } // container service-function container service-function-forwarder { description "Service Function Forwarder operational data"; container local { description "Local Service Function Forwarder operational data"; container error { description "Error Statistics for local service function forwarder"; container data { description "Statistics data"; container sfp { when "../type = 'vs-nsh-stats-sfp'" { description "../type = 'VS_NSH_STATS_SFP'"; } description "SFP stats"; container spi-si { description "Service index counters"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { description "Terminate counters"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term } // container sfp container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SPI SI stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term container sf { when "../type = 'vs-nsh-stats-sf'" { description "../type = 'VS_NSH_STATS_SF'"; } description "Service function stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sf container sff { when "../type = 'vs-nsh-stats-sff'" { description "../type = 'VS_NSH_STATS_SFF'"; } description "Service function forwarder stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sff container sff-local { when "../type = 'vs-nsh-stats-sff-local'" { description "../type = 'VS_NSH_STATS_SFF_LOCAL'"; } description "Local service function forwarder stats"; leaf malformed-err-pkts { type uint64; description "Number of packets with invalid NSH header"; } leaf lookup-err-pkts { type uint64; description "Number of packets with unknown spi-si"; } leaf malformed-err-bytes { type uint64; units "byte"; description "Total bytes with invalid NSH header"; } leaf lookup-err-bytes { type uint64; units "byte"; description "Total bytes with unknown spi-si"; } } // container sff-local leaf type { type Vs-nsh-stats; description "type"; } } // container data list si-arr { description "SI array in case of detail stats"; container data { description "Stats counter for this index"; container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SF/SFF stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term leaf type { type Vs-nsh-stats; description "type"; } } // container data leaf si { type uint8; description "Service index"; } } // list si-arr } // container error } // container local container sff-names { description "List of Service Function Forwarder Names"; list sff-name { key "name"; description "Name of Service Function Forwarder"; leaf name { type xr:Cisco-ios-xr-string { length "1..32"; } description "Name"; } container data { description "Statistics data"; container sfp { when "../type = 'vs-nsh-stats-sfp'" { description "../type = 'VS_NSH_STATS_SFP'"; } description "SFP stats"; container spi-si { description "Service index counters"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { description "Terminate counters"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term } // container sfp container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SPI SI stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term container sf { when "../type = 'vs-nsh-stats-sf'" { description "../type = 'VS_NSH_STATS_SF'"; } description "Service function stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sf container sff { when "../type = 'vs-nsh-stats-sff'" { description "../type = 'VS_NSH_STATS_SFF'"; } description "Service function forwarder stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container sff container sff-local { when "../type = 'vs-nsh-stats-sff-local'" { description "../type = 'VS_NSH_STATS_SFF_LOCAL'"; } description "Local service function forwarder stats"; leaf malformed-err-pkts { type uint64; description "Number of packets with invalid NSH header"; } leaf lookup-err-pkts { type uint64; description "Number of packets with unknown spi-si"; } leaf malformed-err-bytes { type uint64; units "byte"; description "Total bytes with invalid NSH header"; } leaf lookup-err-bytes { type uint64; units "byte"; description "Total bytes with unknown spi-si"; } } // container sff-local leaf type { type Vs-nsh-stats; description "type"; } } // container data list si-arr { description "SI array in case of detail stats"; container data { description "Stats counter for this index"; container spi-si { when "../type = 'vs-nsh-stats-spi-si'" { description "../type = 'VS_NSH_STATS_SPI_SI'"; } description "SF/SFF stats"; leaf processed-pkts { type uint64; description "Number of packets processed"; } leaf processed-bytes { type uint64; units "byte"; description "Total bytes processed"; } } // container spi-si container term { when "../type = 'vs-nsh-stats-ter-min-ate'" { description "../type = 'VS_NSH_STATS_TERMINATE'"; } description "Terminate stats"; leaf terminated-pkts { type uint64; description "Number of terminated packets"; } leaf terminated-bytes { type uint64; units "byte"; description "Total bytes terminated"; } } // container term leaf type { type Vs-nsh-stats; description "type"; } } // container data leaf si { type uint8; description "Service index"; } } // list si-arr } // list sff-name } // container sff-names } // container service-function-forwarder } // container process leaf node-name { type xr:Node-id; description "Node to collect statistics from"; } } // list node } // container nodes } // container service-function-chaining } // module Cisco-IOS-XR-pbr-vservice-ea-oper
© 2023 YumaWorks, Inc. All rights reserved.