This module contains a collection of YANG definitions for Cisco IOS-XR infra-xtc package operational data. This module contains...
Version: 2021-04-22
module Cisco-IOS-XR-infra-xtc-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-xtc-oper"; prefix infra-xtc-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-oper-sub1 { revision-date "2021-04-22"; } 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 infra-xtc package operational data. This module contains definitions for the following management objects: pce-lsp-data: PCE LSP's data pce-peer: PCE peer data pce-topology: PCE topology data pce: PCE operational data Copyright (c) 2013-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-04-22" { description "Added TE metric field for Flex-algo ASLA. 2021-04-08 Change protection type from integer to enum. 2021-03-31 Added new enumeration Api-peer-stats-info-oper. Changed type of type in API-PEER-STATS-INFO to use Api-peer-stats-info-oper. This is a non backward compatible change. 2021-03-04 Added MSD list per topology link. Added SRLB list per topology node. 2021-01-29 Updated SRv6 Endpoint function from int to enum. 2020-09-16 Adding operational nodes for new features path invalidation drop protected and unprotected path Operational nodes for PCE segment-routing traffic-eng policy 2020-09-01 Added uB6SID field in the LSP object 2020-08-18 Added SRv6 LSP details fields in the LSP object 2020-07-13 Added NodeID fields in the uN SID object in the IPv6 topology. 2020-04-20 Added fields in the PCE IPv6 link object."; } revision "2020-03-17" { description "Add flex-algo related operational nodes. Updated description of statistics-nodes. Add SR-PAG related operational nodes. Add PCE authentication related operational nodes. 2020-02-03 Added TCP AuthenticationOption related operational model. Implemented show pce authentication. Added classes AuthenticationKeyTable and AuthenticationKey. 2019-11-07 Adding leaf preference, leaf interface-name, and leaf profile-id to support a new HTTP API bindpoint for sibling PCEs. 2019-10-09 Adding enum sr-flex-algo-prefix-sid, enum pce-cspf-flex-algo-definition-mistmatch, leaf flex-algo-prefix-sids, list sr-flex-algo, and container flex-algos to support Flex-algo info."; } revision "2019-10-02" { description "Added REST peer statistic information. 2019-09-27 Implement new show pce lsp and show pce initiated tunnels commands for Optima"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2017-08-24" { description "Added C flag to pcep flags."; } revision "2017-06-26" { description "Change identifiers to be more readable."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2016-05-31" { description "Revision description string."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "3.0.0"; semver:module-version "2.0.0"; semver:module-version "1.1.0"; semver:module-version "1.0.0"; typedef Pceigp-protocol { type enumeration { enum "unknown" { value 0; description "Unknown protocol"; } enum "isis" { value 1; description "ISIS protocol"; } enum "ospf" { value 2; description "OSPF protocol"; } enum "bgp" { value 3; description "BGP protocol"; } enum "te" { value 4; description "TE protocol"; } } description "Pceigp protocol"; } typedef Pce-asso { type enumeration { enum "unknown" { value 0; description "Unknown type"; } enum "link" { value 1; description "LINK"; } enum "node" { value 2; description "NODE"; } enum "srlg" { value 3; description "SRLG"; } } description "Pce asso"; } typedef Xtc-adj-sid-protection { type enumeration { enum "protected-preferred" { value 0; description "Protected adj SID preferred"; } enum "unprotected-only" { value 1; description "Unprotected adj SID only"; } enum "protected-only" { value 2; description "Protected adj SID only"; } enum "unprotected-preferred" { value 3; description "Unprotected adj SID preferred"; } } description "Xtc adj sid protection"; } typedef Pce-address-family { type enumeration { enum "ipv4" { value 1; description "IPv4 address family"; } enum "ipv6" { value 2; description "IPv6 address family"; } } description "Pce address family"; } grouping PEER-TABLE { description "Common node of pce, pce-peer"; container peer-infos { description "Peers database in XTC"; list peer-info { key "peer-address"; description "PCE peer information"; leaf peer-address { type inet:ip-address-no-zone; description "Peer Address"; } uses PCE-PEER-BAG; } // list peer-info } // container peer-infos } // grouping PEER-TABLE grouping PEER-DETAIL-TABLE { description "Common node of pce, pce-peer"; container peer-detail-infos { description "Detailed peers database in XTC"; list peer-detail-info { key "peer-address"; description "Detailed PCE peer information"; leaf peer-address { type inet:ip-address-no-zone; description "Peer Address"; } uses PCE-PEER-DETAIL-BAG; } // list peer-detail-info } // container peer-detail-infos } // grouping PEER-DETAIL-TABLE grouping PREFIX-TABLE { description "Common node of pce, pce-topology"; container prefix-infos { description "Prefixes database in XTC"; list prefix-info { key "node-identifier"; description "PCE prefix information"; leaf node-identifier { type uint32; description "Node ID"; } uses PCE-PFX-BAG; } // list prefix-info } // container prefix-infos } // grouping PREFIX-TABLE grouping TUNNEL-TABLE { description "Common node of pce, pce-lsp-data"; container tunnel-infos { description "Tunnel database in XTC"; list tunnel-info { key "peer-address plsp-id tunnel-name"; description "Tunnel information"; leaf peer-address { type inet:ip-address-no-zone; description "Peer Address"; } leaf plsp-id { type uint32; description "PCEP LSP ID"; } leaf tunnel-name { type string; description "Tunnel name"; } uses PCE-TUN-BAG; } // list tunnel-info } // container tunnel-infos } // grouping TUNNEL-TABLE grouping REMOTE-PREFIX-TABLE { description "Common node of pce, pce-topology"; container remote-prefixes { description "Remote Prefixes database in PCE"; list remote-prefix { key "remote-pce-id"; description "PCE remote prefix information"; leaf remote-pce-id { type uint32; description "Remote PCE ID"; } uses PCE-REMOTE-PFX-BAG; } // list remote-prefix } // container remote-prefixes } // grouping REMOTE-PREFIX-TABLE grouping LSP-SUMMARY { description "Common node of pce, pce-lsp-data"; container lsp-summary { description "LSP summary database in XTC"; uses PCE-LSP-SUMMARY-BAG; } // container lsp-summary } // grouping LSP-SUMMARY grouping TOPOLOGY-SUMMARY-TABLE { description "Common node of pce, pce-topology"; container topology-summaries { description "Node summary database in XTC"; list topology-summary { description "Node summary database in XTC"; leaf af { type Pce-address-family; description "Only show data related to the specified address family"; } leaf protocol { type Pceigp-protocol; description "Match nodes from the specified IGP protocol"; } uses PCE-NODE-SUMMARY-BAG; } // list topology-summary } // container topology-summaries } // grouping TOPOLOGY-SUMMARY-TABLE grouping TOPOLOGY-NODE-TABLE { description "Common node of pce, pce-topology"; container topology-nodes { description "Node database in XTC"; list topology-node { key "node-identifier"; description "Node information"; leaf node-identifier { type uint32; description "Node Identifier"; } uses PCE-XTC-NODE-BAG; } // list topology-node } // container topology-nodes } // grouping TOPOLOGY-NODE-TABLE grouping TUNNEL-DETAIL-TABLE { description "Common node of pce, pce-lsp-data"; container tunnel-detail-infos { description "Detailed tunnel database in XTC"; list tunnel-detail-info { key "peer-address plsp-id tunnel-name"; description "Detailed tunnel information"; leaf peer-address { type inet:ip-address-no-zone; description "Peer Address"; } leaf plsp-id { type uint32; description "PCEP LSP ID"; } leaf tunnel-name { type string; description "Tunnel name"; } uses PCE-TUN-DETAIL-BAG; } // list tunnel-detail-info } // container tunnel-detail-infos } // grouping TUNNEL-DETAIL-TABLE container pce-lsp-data { config false; description "PCE LSP's data"; uses TUNNEL-TABLE; uses LSP-SUMMARY; uses TUNNEL-DETAIL-TABLE; } // container pce-lsp-data container pce-peer { config false; description "PCE peer data"; uses PEER-DETAIL-TABLE; uses PEER-TABLE; } // container pce-peer container pce-topology { config false; description "PCE topology data"; uses REMOTE-PREFIX-TABLE; uses TOPOLOGY-NODE-TABLE; uses TOPOLOGY-SUMMARY-TABLE; uses PREFIX-TABLE; } // container pce-topology container pce { config false; description "PCE operational data"; container authentication-keys { description "Authentication keys"; list authentication-key { key "ip-address"; description "PCE peer IP address"; leaf ip-address { type inet:ip-address-no-zone; description "IP address"; } uses PCE-PEER-AUTH-OPTION-BAG; } // list authentication-key } // container authentication-keys container cspf-sr-mpls { description "CSPF for SR MPLS path info"; container cspf-sr-mpls-paths { description "This table models the path calculation capabilities in XTC.A GET operation for the complete table will return no entries."; list cspf-sr-mpls-path { description "A GET operation on this class returns the path ."; leaf af { type uint32; description "Address Family"; } leaf source1 { type inet:ip-address-no-zone; description "Source of path 1"; } leaf destination1 { type inet:ip-address-no-zone; description "Destination of path 1"; } leaf metric-type { type uint32; description "Metric type"; } leaf source2 { type inet:ip-address-no-zone; description "Source of path 2"; } leaf destination2 { type inet:ip-address-no-zone; description "Destination of path 2"; } leaf disjoint-level { type uint32; description "Disjointness level"; } leaf disjoint-strict { type uint32; description "Strict disjointness required"; } leaf shortest-path { type uint32; description "Whether path 1 or 2 should be shortest"; } leaf msd1 { type uint32; description "MSD for path 1"; } leaf msd2 { type uint32; description "MSD for path 2"; } leaf relative-margin { type uint32; description "Relative Margin"; } leaf absolute-margin { type uint32; description "Absolute Margin"; } leaf affinity-include-all { type uint32; description "Affinity include-all constraint"; } leaf affinity-include-any { type uint32; description "Affinity include-any constraint"; } leaf affinity-exclude-any { type uint32; description "Affinity exclude-any constraint"; } leaf protection-type1 { type Xtc-adj-sid-protection; description "Protection type for path 1"; } leaf protection-type2 { type Xtc-adj-sid-protection; description "Protection type for path 2"; } leaf flex-algo { type uint32; description "Flex Algo number"; } leaf anycast-include { type boolean; description "Perform anycast SID inclusion"; } uses PCE-SR-MPLS-PATH-LIST-BAG; } // list cspf-sr-mpls-path } // container cspf-sr-mpls-paths } // container cspf-sr-mpls container segment-routing { description "Segment-Routing related data"; container traffic-engineering { description "Traffic-engineering related data"; container policies { description "PCE policies"; list policy { description "PCE policy"; leaf pcc-address { type inet:ip-address-no-zone; description "PCC Address"; } leaf policy-name { type xr:Cisco-ios-xr-string; description "Policy Name"; } uses PCE-POLICY-BAG; } // list policy } // container policies } // container traffic-engineering } // container segment-routing container verification-events { description "PCE Verification events in XTC"; list verification-event { key "event-idx"; description "PCE single verification event"; leaf event-idx { type uint32; description "Index of an event"; } uses PCE-EVENT-INFO; } // list verification-event } // container verification-events container api { description "PCE API details"; container sibling { description "PCE sibling"; container synced-lsps { description "Synced LSP table"; list synced-lsp { description "Synced LSP details"; leaf pcc-address { type inet:ip-address-no-zone; description "PCC Address"; } leaf lsp-name { type string; description "Name of the synced LSP"; } leaf remote-flag { type boolean; description "Flag to indicate lsp data is remote"; } uses PCE-SIBLING-SYNCED-LSP-BAG; } // list synced-lsp } // container synced-lsps container connection { description "Connection information"; uses PCE-SIBLING-CONN-BAG; } // container connection } // container sibling } // container api container p2mp-policies { description "P2MP policy database in SR-PCE"; list p2mp-policy { key "name"; description "Policy information"; leaf name { type xr:Cisco-ios-xr-string; description "Policy name"; } uses PCE-TREESID-BAG; } // list p2mp-policy } // container p2mp-policies container peer-summaries { description "Detailed PCE peer information"; list peer-summary { key "af"; description "Summary PCE peer information"; leaf af { type Pce-address-family; description "Only show data related to the specified address family"; } uses PCE-PEER-SUMMARY-BAG; } // list peer-summary } // container peer-summaries container flex-algos { description "FlexAlgo database in PCE"; list flex-algo { description "FlexAlgo Definition"; leaf igp-type { type Pceigp-protocol; description "Match nodes from the specified IGP protocol"; } leaf domain-id { type uint32; description "Domain ID"; } leaf area-id { type uint32; description "Area ID"; } uses PCE-FLEX-ALGO-AREA; } // list flex-algo } // container flex-algos container work-nodes { description "Work node database"; list work-node { key "index"; description "Path work node information"; leaf index { type uint32; description "Position in work list"; } uses PATH-WORK-NODE; } // list work-node } // container work-nodes container trace-buffer-summaries { description "Summary of all trace buffers"; list trace-buffer-summary { key "name"; description "Summary of specific trace buffer"; leaf name { type xr:Cisco-ios-xr-string; description "Trace buffer name"; } uses CMN-TRACE-BUFFER-SUMMARY-BAG; } // list trace-buffer-summary } // container trace-buffer-summaries container association-infos { description "Associaition database in XTC"; list association-info { key "group-id"; description "PCE Association information"; leaf group-id { type uint32; description "Group ID"; } leaf type { type Pce-asso; description "Type"; } leaf sub-id { type inet:ip-address-no-zone; description "Sub ID"; } uses PCE-ASSO-BAG; } // list association-info } // container association-infos container work-groups { description "Work group database"; list work-group { key "algo"; description "Path work group information"; leaf algo { type uint32; description "Algorithm"; } leaf metric-type { type uint32; description "Metric Type"; } leaf msd { type uint32; description "Max SID Depth"; } leaf inc-all { type uint32; description "Include-All affinity"; } leaf exc-any { type uint32; description "Exclude-Any affinity"; } leaf inc-any { type uint32; description "Include-Any affinity"; } leaf source { type inet:ip-address-no-zone; description "Source"; } uses PATH-WORK-GROUP; } // list work-group } // container work-groups container paths { description "This table models the path calculation capabilities in XTC.A GET operation for the complete table will return no entries."; list path { key "af source destination"; description "A GET operation on this class returns the path."; leaf af { type uint32; description "Address Family"; } leaf source { type inet:ip-address-no-zone; description "Source of path"; } leaf destination { type inet:ip-address-no-zone; description "Destination of path"; } uses PCE-PATH-BAG; } // list path } // container paths container p2mp-policy-infos { description "P2MP policy database indexed by Root address in XTC"; list p2mp-policy-info { key "root-address tree-id"; description "P2MP Policy information"; leaf root-address { type inet:ip-address-no-zone; description "Root Address"; } leaf tree-id { type uint32; description "P2MP Policy Tree-ID"; } uses PCE-TREESID-BAG; } // list p2mp-policy-info } // container p2mp-policy-infos container cspf { description "CSPF path info"; container cspf-paths { description "This table models the path calculation capabilities in XTC.A GET operation for the complete table will return no entries."; list cspf-path { description "A GET operation on this class returns the path ."; leaf af { type uint32; description "Address Family"; } leaf source1 { type inet:ip-address-no-zone; description "Source of path 1"; } leaf destination1 { type inet:ip-address-no-zone; description "Destination of path 1"; } leaf metric-type { type uint32; description "Metric type"; } leaf source2 { type inet:ip-address-no-zone; description "Source of path 2"; } leaf destination2 { type inet:ip-address-no-zone; description "Destination of path 2"; } leaf disjoint-level { type uint32; description "Disjointness level"; } leaf disjoint-strict { type uint32; description "Strict disjointness required"; } leaf shortest-path { type uint32; description "Whether path 1 or 2 should be shortest"; } uses PCE-PATH-LIST-BAG; } // list cspf-path } // container cspf-paths } // container cspf container statistics-nodes { description "PCE API peer statistics"; list statistics-node { key "ip"; description "PCE API peer statistics information"; leaf ip { type inet:ip-address-no-zone; description "Specify IPv4 or v6 Address"; } uses API-PEER-STATS-BAG; } // list statistics-node } // container statistics-nodes uses REMOTE-PREFIX-TABLE; uses TUNNEL-TABLE; uses PEER-DETAIL-TABLE; uses TOPOLOGY-NODE-TABLE; uses TOPOLOGY-SUMMARY-TABLE; uses PREFIX-TABLE; uses LSP-SUMMARY; uses PEER-TABLE; uses TUNNEL-DETAIL-TABLE; } // container pce } // module Cisco-IOS-XR-infra-xtc-oper
© 2023 YumaWorks, Inc. All rights reserved.