This submodule contains a collection of YANG definitions for Cisco IOS-XR infra-xtc-agent package operational data. Copyright (...
Version: 2021-05-21
submodule Cisco-IOS-XR-infra-xtc-agent-oper-sub1 { yang-version 1; belongs-to Cisco-IOS-XR-infra-xtc-agent-oper { prefix Cisco-IOS-XR-infra-xtc-agent-oper; } import ietf-inet-types { prefix inet; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-infra-xtc-agent-oper-sub2 { revision-date "2021-05-21"; } 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 infra-xtc-agent package operational data. Copyright (c) 2013-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-05-21" { description "Added path invalidation drop flag in policy bag. 2021-04-22 Added TE metric field for Flex-algo ASLA. 2021-02-18 Remove deprecated performance-measurement oper bag and renamed pm config field name in xtc_pm_lsp_info. Added performance-measurement config data bag in lsp bag. 2021-02-08 Added performance-measurement config data bag in lsp bag. 2020-12-13 Added performance-measurement liveness-detection oper schema. 2020-10-27 Added A flag set field in show command to support A flag sent from PM side 2020-09-16 Adding operational nodes for new features path invalidation drop protected and unprotected path 2020-09-04 Modified the Extended-Affinities and ASLA-Extended-Affinities to be list instead of a leaf-list 2020-05-12 Add SRv6TE policy operational data 2020-05-05 changes related to treat SRv6 and SID as well-known when parsing XML for yang"; } revision "2020-01-16" { description "Removed event buffer from SR-TE policy model. Implement new statistic info for policy performance-measurement session. Added support for per-flow policy output. Added additional filter for policy type i.e. per-flow and per-destination."; } revision "2019-09-09" { description "PCE/SRTE topology should display P-flag set for OSPF prefix-SID with explicit-null"; } revision "2019-05-01" { description "Added operational models for interface database."; } revision "2019-04-15" { description "Hierarchical changes to policy forwarding model to organize the paths under the proper segment lists and LSPs."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-11-28" { description "Various modifications to policy-related models for better compatibility with the IETF policy draft."; } revision "2017-09-11" { description "Initial version"; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "4.0.0"; semver:module-version "3.0.0"; semver:module-version "2.0.0"; semver:module-version "1.0.0"; typedef Cmn-ha-case { type enumeration { enum "ha-case-migration" { value 0; description "HA Case Migration"; } enum "ha-case-restart" { value 1; description "HA Case Restart"; } enum "ha-case-switchover" { value 2; description "HA Case Switchover"; } enum "ha-case-startup" { value 3; description "HA Case Startup"; } enum "ha-case-invalid" { value 4; description "HA Case Invalid"; } } description "Various HA cases"; } typedef Xtc-sid1 { type enumeration { enum "sr-protected-adj-sid" { value 1; description "Protected Adjacency SID"; } enum "sr-unprotected-adj-sid" { value 2; description "Unprotected Adjacency SID"; } enum "sr-bgp-egress-peer-engineering-sid" { value 3; description "BGP egress peer engineering SID"; } enum "sr-reqular-prefix-sid" { value 4; description "Regular prefix SID"; } enum "sr-strict-prefix-sid" { value 5; description "Strict prefix SID"; } enum "sr-flex-algo-prefix-sid" { value 6; description "Flex-algo prefix SID"; } } description "XTC SID Types"; } typedef Xtc-regist-entry { type enumeration { enum "color" { value 0; description "Color"; } enum "color-endpoint" { value 1; description "Color Endpoint"; } enum "policy-name" { value 2; description "PolicyName"; } } description "Xtc regist entry"; } typedef Xtc-igp-info-id { type enumeration { enum "isis" { value 1; description "ISIS"; } enum "ospf" { value 2; description "OSPF"; } enum "bgp" { value 3; description "BGP"; } } description "IGP IDs"; } typedef Xtc-disjointness { type enumeration { enum "no-disjointness" { value 0; description "No Disjointness"; } enum "link-disjointness" { value 1; description "Link disjointness"; } enum "node-disjointness" { value 2; description "Node disjointness"; } enum "srlg-disjointness" { value 3; description "SRLG disjointness"; } enum "srlg-node-disjointness" { value 4; description "SRLG-Node disjointness"; } } description "XTC policy path type"; } typedef Mgmt-srv6-sid-fmt { type enumeration { enum "none" { value 0; description "No format"; } enum "base" { value 1; description "Base Format"; } enum "f3216" { value 2; description "Micro-segment F3216 Format"; } } description "SRv6 SID Format Type"; } typedef Mgmt-srv6-endpoint { type enumeration { enum "unknown" { value 0; description "Unknown Endpoint type"; } enum "end" { value 1; description "End (no PSP/USP)"; } enum "end-with-psp" { value 2; description "End with PSP"; } enum "end-with-usp" { value 3; description "End with USP"; } enum "end-with-psp-usp" { value 4; description "End with PSP/USP"; } enum "end-x" { value 5; description "End.X (no PSP/USP)"; } enum "end-x-with-psp" { value 6; description "End.X with PSP"; } enum "end-x-with-usp" { value 7; description "End.X with USP"; } enum "end-x-with-psp-usp" { value 8; description "End.X with PSP/USP"; } enum "end-tbl" { value 9; description "End.T (no PSP/USP)"; } enum "end-tbl-with-psp" { value 10; description "End.T with PSP"; } enum "end-tbl-with-usp" { value 11; description "End.T with USP"; } enum "end-tbl-with-psp-usp" { value 12; description "End.T with PSP/USP"; } enum "end-b6-insert" { value 13; description "End.B6.Insert"; } enum "end-b6-encaps" { value 14; description "End.B6.Encaps"; } enum "end-bm" { value 15; description "End.BM"; } enum "end-dx6" { value 16; description "End.DX6"; } enum "end-dx4" { value 17; description "End.DX4"; } enum "end-dt6" { value 18; description "End.DT6"; } enum "end-dt4" { value 19; description "End.DT4"; } enum "end-dt46" { value 20; description "End.DT46"; } enum "end-dx2" { value 21; description "End.DX2"; } enum "end-dx2v" { value 22; description "End.DX2V"; } enum "end-dt2u" { value 23; description "End.DT2U"; } enum "end-dt2m" { value 24; description "End.DT2M"; } enum "end-s" { value 25; description "End.S"; } enum "end-b6-insert-red" { value 26; description "End.B6.Insert.Reduced"; } enum "end-b6-encaps-red" { value 27; description "End.B6.Encaps.Reduced"; } enum "end-with-usd" { value 28; description "End with USD"; } enum "end-with-psp-usd" { value 29; description "End with PSP/USD"; } enum "end-with-usp-usd" { value 30; description "End with USP/USD"; } enum "end-with-psp-usp-usd" { value 31; description "End with PSP/USP/USD"; } enum "end-x-with-usd" { value 32; description "End.X with USD"; } enum "end-x-with-psp-usd" { value 33; description "End.X with PSP/USD"; } enum "end-x-with-usp-usd" { value 34; description "End.X with USP/USD"; } enum "end-x-with-psp-usp-usd" { value 35; description "End.X with PSP/USP/USD"; } enum "end-tbl-with-usd" { value 36; description "End.T with USD"; } enum "end-tbl-with-psp-usd" { value 37; description "End.T with PSP/USD"; } enum "end-tbl-with-usp-usd" { value 38; description "End.T with USP/USD"; } enum "end-tbl-with-psp-usp-usd" { value 39; description "End.T with PSP/USP/USD"; } enum "end-op" { value 40; description "End.OP"; } enum "end-otp" { value 41; description "End.OTP"; } enum "un-shift-only" { value 42; description "uN Shift-only"; } enum "un" { value 43; description "uN"; } enum "un-psp" { value 44; description "uN with PSP"; } enum "un-usp" { value 45; description "uN with USP"; } enum "un-psp-usp" { value 46; description "uN with PSP-USP"; } enum "un-usd" { value 47; description "uN with USD"; } enum "un-psp-usd" { value 48; description "uN with PSP-USD"; } enum "un-usp-usd" { value 49; description "uN with USP-USD"; } enum "un-psp-usp-usd" { value 50; description "uN with PSP_USP-USD"; } enum "ua-shift-only" { value 51; description "uA Shift-only"; } enum "ua" { value 52; description "uA"; } enum "ua-psp" { value 53; description "uA with PSP"; } enum "ua-usp" { value 54; description "uA with USP"; } enum "ua-psp-usp" { value 55; description "uA with PSP-USP"; } enum "ua-usd" { value 56; description "uA with USD"; } enum "ua-psp-usd" { value 57; description "uA with PSP-USD"; } enum "ua-usp-usd" { value 58; description "uA with USP-USD"; } enum "ua-psp-usp-usd" { value 59; description "uA with PSP_USP-USD"; } enum "udx6" { value 60; description "uDX6"; } enum "udx4" { value 61; description "uDX4"; } enum "udt6" { value 62; description "uDT6"; } enum "udt4" { value 63; description "uDT4"; } enum "udt46" { value 64; description "uDT46"; } enum "udx2" { value 65; description "uDX2"; } enum "udx2v" { value 66; description "uDX2V"; } enum "udt2u" { value 67; description "uDT2U"; } enum "udt2m" { value 68; description "uDT2M"; } enum "ub6-insert" { value 69; description "uB6 Insert"; } enum "ub6-encaps" { value 70; description "uB6 Encaps"; } enum "ub6-insert-red" { value 71; description "uB6 Insert.Red"; } enum "ub6-encaps-red" { value 72; description "uB6 Encaps.Red"; } enum "ubm" { value 73; description "uBM"; } } description "SRv6 Endpoint Behavior Type"; } typedef Xtc-treesid-role { type enumeration { enum "none" { value 0; description "No role"; } enum "ingress" { value 1; description "Ingress"; } enum "transit" { value 2; description "Transit"; } enum "egress" { value 3; description "Egress"; } enum "bud-node" { value 4; description "BudNode"; } } description "XTC TreeSID role"; } typedef Xtc-pfp-state { type enumeration { enum "initialized" { value 0; description "Initialized"; } enum "bsid-rewrite-pending" { value 1; description "Waiting for BSID rewrite result"; } enum "up" { value 2; description "Up"; } enum "bsid-reoptimizing" { value 3; description "Waiting for reoptimized BSID rewrite result"; } } description "XTC Per-flow Policy FSM states"; } typedef Xtc-pm-live-session-state { type enumeration { enum "unknown" { value 0; description "Unknown"; } enum "down" { value 1; description "Down"; } enum "up" { value 2; description "Up"; } } description "Xtc pm live session state"; } typedef Xtc-bfd-session-state { type enumeration { enum "unknown" { value 0; description "Unknown"; } enum "down" { value 1; description "Down"; } enum "up" { value 2; description "Up"; } } description "Xtc bfd session state"; } typedef Xtc-policy-lsp-sm-state { type enumeration { enum "unknown" { value 0; description "Unknown"; } enum "initialized" { value 1; description "Initialized"; } enum "deleted" { value 2; description "Deleted"; } enum "programmed" { value 3; description "Programmed; all forwarding rewrites created"; } enum "egress-paths-pending" { value 4; description "Waiting for egress paths"; } enum "out-of-resources-pending" { value 5; description "Waiting for resources to become available"; } enum "label-allocation-pending" { value 6; description "Waiting for label allocation result"; } enum "label-allocation-cleanup-pending" { value 7; description "Waiting for label free result"; } enum "label-rewrite-pending" { value 8; description "Waiting for label rewrite create result"; } enum "label-rewrite-cleanup-pending" { value 9; description "Waiting for label rewrite delete result"; } enum "bsid-allocation-pending" { value 10; description "Waiting for BSID label allocation result"; } enum "bsid-allocation-cleanup-pending" { value 11; description "Waiting for BSID label free result"; } enum "bsid-rewrite-pending" { value 12; description "Waiting for BSID rewrite create result"; } enum "bsid-rewrite-cleanup-pending" { value 13; description "Waiting for BSID rewrite delete result"; } enum "tunnel-rewrite-pending" { value 14; description "Waiting for tunnel rewrite create result"; } enum "tunnel-rewrite-cleanup-pending" { value 15; description "Waiting for tunnel rewrite delete result"; } enum "install-timer-pending" { value 16; description "Waiting for install timer to expire"; } enum "cleanup-timer-pending" { value 17; description "Waiting for cleanup timer to expire"; } enum "bfd-session-pending" { value 18; description "Waiting for BFD session to come up"; } enum "pm-liveness-session-pending" { value 19; description "Waiting for PM liveness session to come up"; } enum "invalidated-traffic-dropped" { value 20; description "Path invalidated, policy remains up but traffic dropped"; } } description "XTC policy LSP FSM states"; } typedef Xtc-pm-live-invalidation-action { type enumeration { enum "none" { value 0; description "None"; } enum "down" { value 1; description "Down"; } } description "Xtc pm live invalidation action"; } typedef Xtc-bfd-invalidation-action { type enumeration { enum "none" { value 0; description "None"; } enum "down" { value 1; description "Down"; } } description "Xtc bfd invalidation action"; } typedef Xtc-path-protection { type enumeration { enum "protected-preferred" { value 0; description "Protected Preferred"; } enum "unprotected-only" { value 1; description "Unprotected Only"; } enum "protected-only" { value 2; description "Protected Only"; } enum "unprotected-preferred" { value 3; description "Unprotected Preferred"; } } description "XTC path protection type"; } typedef Xtc-sr-sid { type enumeration { enum "ipv4-node-sid" { value 0; description "IPv4 Node SID"; } enum "ipv4-adjacency-sid" { value 1; description "IPv4 Adjacency SID"; } enum "ipv4-unnumbered-adjacency-sid" { value 2; description "IPv4 Unnumbered Adjacency SID"; } enum "ipv6-node-sid" { value 3; description "IPv6 Node SID"; } enum "ipv6-adjacency-sid" { value 4; description "IPv6 Adjacency SID"; } enum "srv6usid" { value 5; description "SRv6 USID"; } enum "ipv6-link-local-adjacency-sid" { value 6; description "IPv6 Link Local Adjacency SID"; } enum "unknown-sid" { value 7; description "Unknown SID"; } } description "XTC SR SID type"; } typedef Xtc-policy-path { type enumeration { enum "explicit" { value 0; description "Explicit path"; } enum "dynamic" { value 1; description "Dynamic path"; } enum "dynamic-pce" { value 2; description "Dynamic PCE-based path"; } } description "XTC policy path type"; } typedef Xtc-policy-cpath-proto-origin { type enumeration { enum "unknown" { value 0; description "unknown"; } enum "xtc" { value 5; description "xtc"; } enum "pcep" { value 10; description "pcep"; } enum "bgp" { value 20; description "bgp"; } enum "configuration" { value 30; description "configuration"; } } description "Policy candidate path protocol origin"; } typedef Cmn-metric { type enumeration { enum "metric-type-none" { value 0; description "Metric Type None"; } enum "metric-type-igp" { value 1; description "Metric Type IGP"; } enum "metric-type-te" { value 2; description "Metric Type TE"; } enum "metric-type-hop-count" { value 3; description "Metric Type hop count"; } enum "metric-type-msd" { value 11; description "Metric Type MSD"; } enum "metric-type-latency" { value 12; description "Metric Type latency"; } } description "PCE Metric Type"; } typedef Xtc-af-id { type enumeration { enum "none" { value 0; description "None"; } enum "ipv4" { value 1; description "IPv4"; } enum "ipv6" { value 2; description "IPv6"; } } description "Xtc af id"; } } // submodule Cisco-IOS-XR-infra-xtc-agent-oper-sub1
© 2023 YumaWorks, Inc. All rights reserved.