This module contains a collection of YANG definitions for Cisco IOS-XR if vrf package configuration. This YANG module augments ...
Version: 2019-10-10
module Cisco-IOS-XR-um-if-vrf-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-if-vrf-cfg"; prefix um-if-vrf-cfg; import cisco-semver { prefix semver; } import Cisco-IOS-XR-types { prefix xr; } import Cisco-IOS-XR-um-interface-cfg { prefix a1; } import tailf-common { prefix tailf; } 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 if vrf package configuration. This YANG module augments the modules with configuration data. Copyright (c) 2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-10-10" { description "Initial version"; } semver:module-version "1.0.0"; grouping GROUP-IFSUB { leaf vrf { tailf:dependency "../a1:interface-name"; when "../a1:interface-name[not(starts-with(text(),'tunnel-'))] and ../a1:interface-name[not(starts-with(text(),'cem'))] and ../a1:interface-name[not(starts-with(text(),'nve'))]"; type xr:Cisco-ios-xr-string { length "1..32"; } description "Set VRF in which the interface operates"; } container address-family { tailf:dependency "../a1:interface-name"; when "../a1:interface-name[not(starts-with(text(),'pw-ether'))] and ../a1:interface-name[not(starts-with(text(),'pw-iw'))] and ../a1:interface-name[not(starts-with(text(),'cem'))]"; description "AFI/SAFI configuration"; container ipv4 { description "IPv4 address family"; container multicast { presence "Indicates a multicast node is configured."; description "Multicast topology"; container default-topology { presence "Indicates a default-topology node is configured."; description "Multicast default topology"; } // container default-topology container topologies { description "Specify a non-default topology"; list topology { key "topology-name"; description "Specify a non-default topology"; leaf topology-name { type xr:Cisco-ios-xr-string { length "1..32"; } description "Specify a non-default topology"; } } // list topology } // container topologies } // container multicast } // container ipv4 container ipv6 { description "IPv6 address family"; container multicast { presence "Indicates a multicast node is configured."; description "Multicast topology"; container default-topology { presence "Indicates a default-topology node is configured."; description "Multicast default topology"; } // container default-topology container topologies { description "Specify a non-default topology"; list topology { key "topology-name"; description "Specify a non-default topology"; leaf topology-name { type string { length "1..32"; } description "Specify a non-default topology"; } } // list topology } // container topologies } // container multicast } // container ipv6 } // container address-family } // grouping GROUP-IFSUB augment /a1:interfaces/a1:interface { uses GROUP-IFSUB; } augment /a1:interfaces/a1:interface-preconfigure { uses GROUP-IFSUB; } } // module Cisco-IOS-XR-um-if-vrf-cfg
© 2023 YumaWorks, Inc. All rights reserved.