This module contains a collection of YANG definitions for Cisco IOS-XR segment-routing-srv6 package configuration. This YANG mo...
Version: 2020-08-25
module Cisco-IOS-XR-segment-routing-srv6-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-segment-routing-srv6-cfg"; prefix segment-routing-srv6-cfg; import ietf-inet-types { prefix inet; } import cisco-semver { prefix semver; } import Cisco-IOS-XR-segment-routing-srv6-datatypes { prefix dt1; } import Cisco-IOS-XR-segment-routing-ms-cfg { prefix a1; } 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 configuration. This YANG module augments the Cisco-IOS-XR-segment-routing-ms-cfg module with configuration data. Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-08-25" { description "Added MicroSegmentGlobalParams container and MergeOverlayUnderlaySIDS leaf"; } revision "2019-11-21" { description "Support for anycast locator flag 2019-10-08 Support config knob to set traffic-class for SRv6 encap 2019-04-22 Flex-Algo support 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 "1.2.0"; semver:module-version "1.1.0"; semver:module-version "1.0.1"; augment /a1:sr { description "This augment extends the configuration data of 'Cisco-IOS-XR-segment-routing-ms-cfg'"; container srv6 { description "Segment Routing with IPv6 dataplane"; container logging { description "Enable logging"; leaf locator-status { type empty; description "Enable logging for locator status changes"; } } // container logging container micro-segment-global-params { description "Configure micro-segment related parameters"; leaf merge-overlay-underlay-sids { type empty; description "Enable merge mode for SIDs from overlay and underlay"; } } // container micro-segment-global-params container locators { description "Configure SRv6 locators parameters"; container locators { description "Configure SRv6 table of locators"; list locator { key "name"; description "Configure a SRv6 locator"; container micro-segment { description "Configure micro-segments (uSID) related parameters"; leaf behavior { type dt1:Srv6u-behavior; description "Specify Locator's behavior"; } } // container micro-segment container prefix { description "Specify locator prefix value"; leaf prefix { type inet:ip-address-no-zone; description "IPv6 Prefix"; } leaf prefix-length { type dt1:Srv6-locator-len; description "Prefix length"; } } // container prefix leaf locator-enable { type empty; description "Enable a SRv6 locator"; } leaf anycast { type empty; description "Specify locator to be anycast type"; } leaf algorithm { type dt1:Srv6-algo-value; description "Specify locator algorithm"; } leaf name { type dt1:Srv6-locator-name; description "Locator name"; } } // list locator } // container locators } // container locators container encapsulation { description "Configure encapsulation related parameters"; container traffic-class { description "Configure IPv6 header traffic-class"; leaf option { type dt1:Srv6-encapsulation-tc-option; description "Config option"; } leaf value { when "../option = 'value'" { description "../Option = Value"; } type dt1:Srv6-encapsulation-tc-value; default "0"; description "Field Value"; } } // container traffic-class container hop-limit { description "Configure IPv6 Hop-Limit options"; leaf option { type dt1:Srv6-encapsulation-hop-limit-option; description "Hop-Limit config option"; } leaf value { when "../option = 'count'" { description "../Option = Count"; } type dt1:Srv6-encapsulation-hop-limit-value; default "0"; description "Count for Hop-limit"; } } // container hop-limit leaf source-address { type inet:ip-address-no-zone; description "Configure a source address"; } } // container encapsulation leaf enable { type empty; description "Enable SRv6"; } leaf sid-holdtime { type dt1:Srv6sid-holdtime; description "Configure SID holdtime for a stale/freed SID"; } } // container srv6 } } // module Cisco-IOS-XR-segment-routing-srv6-cfg
© 2023 YumaWorks, Inc. All rights reserved.