This module contains a collection of YANG definitions for Cisco IOS-XR segment-routing-ms package operational data. This module...
Version: 2019-07-19
module Cisco-IOS-XR-segment-routing-ms-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-ms-oper"; prefix segment-routing-ms-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-segment-routing-ms-oper-sub3 { revision-date "2019-07-19"; } include Cisco-IOS-XR-segment-routing-ms-oper-sub2 { revision-date "2019-07-19"; } include Cisco-IOS-XR-segment-routing-ms-oper-sub1 { revision-date "2019-07-19"; } 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-ms package operational data. This module contains definitions for the following management objects: standby-srms: Standby Segment Routing Mapping Server operational data srms: Active Segment Routing Mapping Server operational data srlb: Segment Routing Local Block operational data Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-07-19" { description "Additional items added to operational model."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "2.0.0"; semver:module-version "1.0.0"; typedef Sid-type-enum { type enumeration { enum "absolute" { value 1; description "Absolute SID"; } enum "index" { value 2; description "Index SID"; } } description "Sid type enum"; } grouping MAPPING-MI { description "Common node of mapping-ipv4, mapping-ipv6"; list mapping-mi { description "IP prefix to SID mapping item. It's not possible to list all of the IP prefix to SID mappings, as the set of valid prefixes could be very large. Instead, SID map information must be retrieved individually for each prefix of interest."; leaf ip { type xr:Cisco-ios-xr-string; description "IP"; } leaf prefixlen { type uint32 { range "1..128"; } description "Prefixlen"; } uses SRMS-MI-T-B; } // list mapping-mi } // grouping MAPPING-MI grouping SID-RECORD-TABLE { description "Common node of l2-adjacency, ipv4, ipv6, all-afi"; container sid-records { description "SID directory"; list sid-record { description "SID record"; leaf sid-type { type Sid-type-enum; description "SID type"; } leaf sid-value { type uint32 { range "0..1048575"; } description "SID value"; } uses SRMS-L2-ADJ-T-B; } // list sid-record } // container sid-records } // grouping SID-RECORD-TABLE grouping POLICY-MI { description "Common node of policy-ipv4-active, policy-ipv4-backup, policy-ipv6-active, policy-ipv6-backup"; list policy-mi { key "mi-id"; description "Mapping Item"; leaf mi-id { type xr:Cisco-ios-xr-string; description "Mapping Item ID (0, 1, 2, ...)"; } uses SRMS-MI-T-B; } // list policy-mi } // grouping POLICY-MI grouping POLICY { description "Common node of srms, standby-srms"; container policy { description "Policy operational data"; container policy-ipv4 { description "IPv4 policy operational data"; container policy-ipv4-backup { description "IPv4 backup policy operational data"; uses POLICY-MI; } // container policy-ipv4-backup container policy-ipv4-active { description "IPv4 active policy operational data"; uses POLICY-MI; } // container policy-ipv4-active } // container policy-ipv4 container policy-ipv6 { description "IPv6 policy operational data"; container policy-ipv6-backup { description "IPv6 backup policy operational data"; uses POLICY-MI; } // container policy-ipv6-backup container policy-ipv6-active { description "IPv6 active policy operational data"; uses POLICY-MI; } // container policy-ipv6-active } // container policy-ipv6 } // container policy } // grouping POLICY grouping MAPPING { description "Common node of srms, standby-srms"; container mapping { description "IP prefix to SID mappings"; container mapping-ipv4 { description "IPv4 prefix to SID mappings"; uses MAPPING-MI; } // container mapping-ipv4 container mapping-ipv6 { description "IPv6 prefix to SID mappings"; uses MAPPING-MI; } // container mapping-ipv6 } // container mapping } // grouping MAPPING container standby-srms { config false; description "Standby Segment Routing Mapping Server operational data"; uses MAPPING; uses POLICY; } // container standby-srms container srms { config false; description "Active Segment Routing Mapping Server operational data"; container adjacency-sid { description "Adjacency SID"; container l2-adjacency { description "L2 Adjacency Option"; container interfaces { description "Interface directory"; list interface { key "interface-name"; description "Segment Routing Adjacency SID Interface"; container address-family { description "address family container"; container all-afi { description "both IPv4 and IPv6"; uses SID-RECORD-TABLE; } // container all-afi container ipv4 { description "IP version 4"; uses SID-RECORD-TABLE; } // container ipv4 container ipv6 { description "IP version 6"; uses SID-RECORD-TABLE; } // container ipv6 } // container address-family leaf interface-name { type xr:Interface-name; description "Interface name"; } } // list interface } // container interfaces uses SID-RECORD-TABLE; } // container l2-adjacency } // container adjacency-sid uses MAPPING; uses POLICY; } // container srms container srlb { config false; description "Segment Routing Local Block operational data"; container srlb-inconsistency { description "SRLB Inconsistencies"; uses MPLS-LSD-SRLB-INCONSISTENCY; } // container srlb-inconsistency } // container srlb } // module Cisco-IOS-XR-segment-routing-ms-oper
© 2023 YumaWorks, Inc. All rights reserved.