This module contains a collection of YANG definitions for Cisco IOS-XR segment-routing-srv6 package operational data. This modu...
Version: 2020-12-11
module Cisco-IOS-XR-segment-routing-srv6-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-srv6-oper"; prefix segment-routing-srv6-oper; import ietf-inet-types { prefix inet; } import cisco-semver { prefix semver; } import Cisco-IOS-XR-segment-routing-srv6-datatypes { prefix dt1; } include Cisco-IOS-XR-segment-routing-srv6-oper-sub1 { revision-date "2020-12-11"; } 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 segment-routing-srv6 package operational data. This module contains definitions for the following management objects: srv6: Segment Routing with IPv6 dataplane Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-12-11" { description "Update manager show command for 2 passes 2020-10-16 Rename SID count fields in SID manager summary. sids_count only includes non auto-generated SIDs. 2020-05-06 changes in def for some endpoint types and headend types 2020-04-16 Changes due to common Srv6 bag and renaming some leaf"; } revision "2019-11-20" { description "Changes for SRv6 end function 2019-04-22 Flex-Algo specific changes"; } revision "2019-04-05" { description "Establish semantic version baseline."; } 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.0.1"; grouping LOCATOR-ALL-SID-TABLE { description "Common node of active, standby"; container locator-all-sids { description "Operational container for all (Active and Stale) SIDs across all Locators"; list locator-all-sid { key "locator-name sid-opcode"; description "Operational data for given locator and SID opcode"; leaf locator-name { type dt1:Srv6-locator-name; description "Locator name"; } leaf sid-opcode { type uint32; description "Sid opcode"; } uses SRV6-SID-INFO; } // list locator-all-sid } // container locator-all-sids } // grouping LOCATOR-ALL-SID-TABLE grouping LOCATOR-TABLE { description "Common node of active, standby"; container locators { description "SRv6 locators related information"; list locator { key "name"; description "Operational data for given SRv6 locator"; container info { description "Operational data for given SRv6 locator"; uses SRV6-LOCATOR-INFO; } // container info container sids { description "SRv6 locator SID table"; list sid { key "address"; description "Operational data for given SRv6 SID"; leaf address { type inet:ip-address-no-zone; description "IPv6 address"; } uses SRV6-SID-INFO; } // list sid } // container sids leaf name { type dt1:Srv6-locator-name; description "Locator name"; } } // list locator } // container locators } // grouping LOCATOR-TABLE grouping BLOCK-TABLE { description "Common node of active, standby"; container blocks { description "SRv6 SID blocks"; list block { key "prefix prefix-len"; description "A SRv6 SID block"; container info { description "Operational data for given SRv6 SID block"; uses SRV6-IDBLOCK-INFO; } // container info leaf prefix { type inet:ip-address-no-zone; description "Prefix address"; } leaf prefix-len { type uint32 { range "16..64"; } description "Prefix mask length"; } } // list block } // container blocks } // grouping BLOCK-TABLE grouping MANAGER { description "Common node of active, standby"; container manager { description "SID Manager information"; uses SRV6-SIDMGR-INFO; } // container manager } // grouping MANAGER grouping MICRO-SEGMENT { description "Common node of active, standby"; container micro-segment { description "SRv6 Micro-segment info"; container local-sids { description "SRv6 Micro-segment local-uSIDs info"; list local-sid { key "sid-prefix sid-prefix-len"; description "SRv6 Micro-segment local-uSID info"; leaf sid-prefix { type inet:ip-address-no-zone; description "SID Prefix address"; } leaf sid-prefix-len { type uint32 { range "16..64"; } description "SID Prefix mask length"; } uses SRV6-LOCAL-SID-INFO; } // list local-sid } // container local-sids } // container micro-segment } // grouping MICRO-SEGMENT grouping LOCATOR-ALL-ACTIVE-SID-TABLE { description "Common node of active, standby"; container locator-all-active-sids { description "Operational container for Active SIDs across all Locators"; list locator-all-active-sid { key "locator-name sid-opcode"; description "Operational data for given locator and SID opcode"; leaf locator-name { type dt1:Srv6-locator-name; description "Locator name"; } leaf sid-opcode { type uint32; description "Sid opcode"; } uses SRV6-SID-INFO; } // list locator-all-active-sid } // container locator-all-active-sids } // grouping LOCATOR-ALL-ACTIVE-SID-TABLE container srv6 { config false; description "Segment Routing with IPv6 dataplane"; container active { description "Active SRv6 operational data"; container locator-all-stale-sids { description "Operational container for all Stale SIDs across all Locators"; list locator-all-stale-sid { key "locator-name sid-opcode"; description "Operational data for given locator and SID opcode"; leaf locator-name { type dt1:Srv6-locator-name; description "Locator name"; } leaf sid-opcode { type uint32; description "Sid opcode"; } uses SRV6-SID-INFO; } // list locator-all-stale-sid } // container locator-all-stale-sids uses MANAGER; uses BLOCK-TABLE; uses MICRO-SEGMENT; uses LOCATOR-TABLE; uses LOCATOR-ALL-SID-TABLE; uses LOCATOR-ALL-ACTIVE-SID-TABLE; } // container active container standby { description "Standby SRv6 operational data"; uses MANAGER; uses BLOCK-TABLE; uses MICRO-SEGMENT; uses LOCATOR-TABLE; uses LOCATOR-ALL-SID-TABLE; uses LOCATOR-ALL-ACTIVE-SID-TABLE; } // container standby } // container srv6 } // module Cisco-IOS-XR-segment-routing-srv6-oper
© 2023 YumaWorks, Inc. All rights reserved.