This module contains a collection of YANG definitions for Cisco IOS-XR ipv6-ma package operational data. This module contains d...
Version: 2020-09-03
module Cisco-IOS-XR-ipv6-ma-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-ma-oper"; prefix ipv6-ma-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-ipv6-ma-oper-sub1 { revision-date "2020-09-03"; } 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 ipv6-ma package operational data. This module contains definitions for the following management objects: ipv6-network: IPv6 network operational data Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-09-03" { description "Removed event-telemetry annotation from leaves address and prefix-length of grouping IPV6-ADDR-NODE"; } revision "2019-09-30" { description "Added brief and detail containers specific to interfaces."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-08-01" { description "Removed empty groupings."; } revision "2018-07-02" { description "IPV6 MA added new fields to bag."; } revision "2018-05-16" { description "IPV6 MA added new fields to bag."; } revision "2017-08-09" { description "IPV6 MA schema file has all the latest changes."; } revision "2015-01-07" { description "IOS XR 5.3.1 revision."; } semver:module-version "1.2.0"; semver:module-version "1.1.0"; semver:module-version "1.0.1"; container ipv6-network { config false; description "IPv6 network operational data"; container nodes { description "Node-specific IPv6 network operational data"; list node { key "node-name"; description "IPv6 network operational data for a particular node"; container interface-data { description "IPv6 network operational interface data"; container vrfs { description "VRF specific IPv6 network operational interface data"; list vrf { key "vrf-name"; description "VRF ID of an interface belong to"; container briefs { description "Brief interface IPv6 network operational data for a node"; list brief { key "interface-name"; description "Brief interface IPv6 network operational data for an interface"; leaf interface-name { type xr:Interface-name; description "The name of the interface"; } container link-local-address { description "IPv6 Address which is local to link"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // container link-local-address leaf line-state { type Ipv6-ma-if-line-state; description "State of Interface Line"; } leaf vrf-name { type string { length "0..32"; } description "VRF Name"; } list address { description "Address List"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // list address } // list brief } // container briefs container global-details { description "Detail interface IPv4 network operational data for global data"; list global-detail { key "interface-name"; description "Detail interface IPv6 network operational data for an interface"; leaf interface-name { type xr:Interface-name; description "The name of the interface"; } container link-local-address { description "IPv6 Address which is local to link"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // container link-local-address container access-control-list { description "IPv6 Access Control List"; leaf in-bound { type string; description "ACL applied to incoming packets"; } leaf out-bound { type string; description "ACL applied to outgoing packets"; } leaf common-in-bound { type string; description "Common ACL applied to incoming packets"; } leaf common-out-bound { type string; description "Common ACL applied to outgoing packets"; } } // container access-control-list container multi-access-control-list { description "Multi IPv6 Access Control List"; list inbound { max-elements 5; description "Inbound ACLs"; leaf entry { type Str; description "Inbound ACLs"; } } // list inbound list outbound { max-elements 5; description "Outbound ACLs"; leaf entry { type Str; description "Outbound ACLs"; } } // list outbound list common { max-elements 5; description "Common ACLs"; leaf entry { type Str; description "Common ACLs"; } } // list common } // container multi-access-control-list container rpf { description "RPF config on the interface"; leaf enable { type boolean; description "Enable RPF config"; } leaf allow-default-route { type boolean; description "Flag to allow the default route"; } leaf allow-self-ping { type boolean; description "Allow Self Ping"; } leaf mode { type uint32; description "RPF Mode (loose/strict)"; } } // container rpf container bgp-pa { description "BGP PA config on the interface"; container input { description "BGP PA input config"; leaf enable { type uint32; description "Enable BGP PA for ingress/egress"; } leaf source { type boolean; description "Enable source accouting"; } leaf destination { type boolean; description "Enable destination accouting"; } } // container input container output { description "BGP PA output config"; leaf enable { type uint32; description "Enable BGP PA for ingress/egress"; } leaf source { type boolean; description "Enable source accouting"; } leaf destination { type boolean; description "Enable destination accouting"; } } // container output } // container bgp-pa leaf line-state { type Ipv6-ma-if-line-state; description "State of Interface Line"; } leaf mtu { type uint32; description "IPv6 MTU"; } leaf operation-state { type Ipv6-ma-oper-state; description "IPv6 Operation State"; } leaf ipv6-config-flag { type uint32; description "Interface Configured Flags"; } leaf ipv6-oper-flag { type uint32; description "Interface Operational Flags"; } leaf vrf-name { type string { length "0..32"; } description "VRF Name"; } leaf is-icmp-unreach-enabled { type boolean; description "ICMP unreach Enable"; } leaf rg-id-exists { type boolean; description "Does ICCP RG ID exist on the interface?"; } leaf mlacp-active { type boolean; description "Is mLACP state Active (valid if RG ID exists)"; } leaf flow-tag-src { type boolean; description "Is BGP Flow Tag Source is enable"; } leaf flow-tag-dst { type boolean; description "Is BGP Flow Tag Destination is enable"; } leaf im-or-state-rcvd { type Im-state-enum; description "Rcvd OR IM state type"; } leaf im-or-state-constraint { type Im-state-enum; description "Rcvd OR IM state constraint type"; } leaf im-notified-state { type Im-state-enum; description "Rcvd IM state"; } leaf idb-pointer { type uint64; description "idb pointer value"; } list multicast-group { description "IPv6 Multicast Group"; leaf address { type inet:ipv6-address; description "IPv6 Address of Multicast Group"; } } // list multicast-group list address { description "Address List"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // list address list client-multicast-group { description "IPv6 Client Multicast Group"; leaf address { type inet:ipv6-address; description "IPv6 Address of Multicast Group"; } } // list client-multicast-group } // list global-detail } // container global-details container global-briefs { description "Brief interface IPv6 network operational data from global data"; list global-brief { key "interface-name"; description "Brief interface IPv6 network operational data for an interface"; leaf interface-name { type xr:Interface-name; description "The name of the interface"; } container link-local-address { description "IPv6 Address which is local to link"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // container link-local-address leaf line-state { type Ipv6-ma-if-line-state; description "State of Interface Line"; } leaf vrf-name { type string { length "0..32"; } description "VRF Name"; } list address { description "Address List"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // list address } // list global-brief } // container global-briefs container details { description "Detail interface IPv4 network operational data for a node"; list detail { key "interface-name"; description "Detail interface IPv6 network operational data for an interface"; leaf interface-name { type xr:Interface-name; description "The name of the interface"; } container link-local-address { description "IPv6 Address which is local to link"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // container link-local-address container access-control-list { description "IPv6 Access Control List"; leaf in-bound { type string; description "ACL applied to incoming packets"; } leaf out-bound { type string; description "ACL applied to outgoing packets"; } leaf common-in-bound { type string; description "Common ACL applied to incoming packets"; } leaf common-out-bound { type string; description "Common ACL applied to outgoing packets"; } } // container access-control-list container multi-access-control-list { description "Multi IPv6 Access Control List"; list inbound { max-elements 5; description "Inbound ACLs"; leaf entry { type Str; description "Inbound ACLs"; } } // list inbound list outbound { max-elements 5; description "Outbound ACLs"; leaf entry { type Str; description "Outbound ACLs"; } } // list outbound list common { max-elements 5; description "Common ACLs"; leaf entry { type Str; description "Common ACLs"; } } // list common } // container multi-access-control-list container rpf { description "RPF config on the interface"; leaf enable { type boolean; description "Enable RPF config"; } leaf allow-default-route { type boolean; description "Flag to allow the default route"; } leaf allow-self-ping { type boolean; description "Allow Self Ping"; } leaf mode { type uint32; description "RPF Mode (loose/strict)"; } } // container rpf container bgp-pa { description "BGP PA config on the interface"; container input { description "BGP PA input config"; leaf enable { type uint32; description "Enable BGP PA for ingress/egress"; } leaf source { type boolean; description "Enable source accouting"; } leaf destination { type boolean; description "Enable destination accouting"; } } // container input container output { description "BGP PA output config"; leaf enable { type uint32; description "Enable BGP PA for ingress/egress"; } leaf source { type boolean; description "Enable source accouting"; } leaf destination { type boolean; description "Enable destination accouting"; } } // container output } // container bgp-pa leaf line-state { type Ipv6-ma-if-line-state; description "State of Interface Line"; } leaf mtu { type uint32; description "IPv6 MTU"; } leaf operation-state { type Ipv6-ma-oper-state; description "IPv6 Operation State"; } leaf ipv6-config-flag { type uint32; description "Interface Configured Flags"; } leaf ipv6-oper-flag { type uint32; description "Interface Operational Flags"; } leaf vrf-name { type string { length "0..32"; } description "VRF Name"; } leaf is-icmp-unreach-enabled { type boolean; description "ICMP unreach Enable"; } leaf rg-id-exists { type boolean; description "Does ICCP RG ID exist on the interface?"; } leaf mlacp-active { type boolean; description "Is mLACP state Active (valid if RG ID exists)"; } leaf flow-tag-src { type boolean; description "Is BGP Flow Tag Source is enable"; } leaf flow-tag-dst { type boolean; description "Is BGP Flow Tag Destination is enable"; } leaf im-or-state-rcvd { type Im-state-enum; description "Rcvd OR IM state type"; } leaf im-or-state-constraint { type Im-state-enum; description "Rcvd OR IM state constraint type"; } leaf im-notified-state { type Im-state-enum; description "Rcvd IM state"; } leaf idb-pointer { type uint64; description "idb pointer value"; } list multicast-group { description "IPv6 Multicast Group"; leaf address { type inet:ipv6-address; description "IPv6 Address of Multicast Group"; } } // list multicast-group list address { description "Address List"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // list address list client-multicast-group { description "IPv6 Client Multicast Group"; leaf address { type inet:ipv6-address; description "IPv6 Address of Multicast Group"; } } // list client-multicast-group } // list detail } // container details leaf vrf-name { type xr:Cisco-ios-xr-string; description "The VRF name"; } } // list vrf } // container vrfs container summary { description "Summary of IPv6 network operational interface data on a node"; container if-up-up { description "Number of interfaces (up,up)"; leaf ip-assigned { type uint32; description "Number of interfaces with explicit addresses"; } leaf ip-unnumbered { type uint32; description "Number of unnumbered interfaces with explicit addresses"; } leaf ip-unassigned { type uint32; description "Number of unassigned interfaces without explicit address"; } } // container if-up-up container if-up-down { description "Number of interfaces (up,down)"; leaf ip-assigned { type uint32; description "Number of interfaces with explicit addresses"; } leaf ip-unnumbered { type uint32; description "Number of unnumbered interfaces with explicit addresses"; } leaf ip-unassigned { type uint32; description "Number of unassigned interfaces without explicit address"; } } // container if-up-down container if-down-down { description "Number of interfaces (down,down)"; leaf ip-assigned { type uint32; description "Number of interfaces with explicit addresses"; } leaf ip-unnumbered { type uint32; description "Number of unnumbered interfaces with explicit addresses"; } leaf ip-unassigned { type uint32; description "Number of unassigned interfaces without explicit address"; } } // container if-down-down container if-shutdown-down { description "Number of interfaces (shutdown,down)"; leaf ip-assigned { type uint32; description "Number of interfaces with explicit addresses"; } leaf ip-unnumbered { type uint32; description "Number of unnumbered interfaces with explicit addresses"; } leaf ip-unassigned { type uint32; description "Number of unassigned interfaces without explicit address"; } } // container if-shutdown-down leaf if-up-down-basecaps-up { type uint32; description "Number of interfaces (up,down) with basecaps up"; } } // container summary } // container interface-data leaf node-name { type xr:Node-id; description "The node name"; } } // list node } // container nodes container interfaces { description "IPv6 network operational interface data"; list interface { key "interface-name"; description "Interface names with VRF"; container vrf-names { description "List of VRF on the interface"; list vrf-name { key "vrf-name"; description "VRF information on the interface"; container detail-data { description "Detail IPv6 network operational data for an interface"; container link-local-address { description "IPv6 Address which is local to link"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // container link-local-address container access-control-list { description "IPv6 Access Control List"; leaf in-bound { type string; description "ACL applied to incoming packets"; } leaf out-bound { type string; description "ACL applied to outgoing packets"; } leaf common-in-bound { type string; description "Common ACL applied to incoming packets"; } leaf common-out-bound { type string; description "Common ACL applied to outgoing packets"; } } // container access-control-list container multi-access-control-list { description "Multi IPv6 Access Control List"; list inbound { max-elements 5; description "Inbound ACLs"; leaf entry { type Str; description "Inbound ACLs"; } } // list inbound list outbound { max-elements 5; description "Outbound ACLs"; leaf entry { type Str; description "Outbound ACLs"; } } // list outbound list common { max-elements 5; description "Common ACLs"; leaf entry { type Str; description "Common ACLs"; } } // list common } // container multi-access-control-list container rpf { description "RPF config on the interface"; leaf enable { type boolean; description "Enable RPF config"; } leaf allow-default-route { type boolean; description "Flag to allow the default route"; } leaf allow-self-ping { type boolean; description "Allow Self Ping"; } leaf mode { type uint32; description "RPF Mode (loose/strict)"; } } // container rpf container bgp-pa { description "BGP PA config on the interface"; container input { description "BGP PA input config"; leaf enable { type uint32; description "Enable BGP PA for ingress/egress"; } leaf source { type boolean; description "Enable source accouting"; } leaf destination { type boolean; description "Enable destination accouting"; } } // container input container output { description "BGP PA output config"; leaf enable { type uint32; description "Enable BGP PA for ingress/egress"; } leaf source { type boolean; description "Enable source accouting"; } leaf destination { type boolean; description "Enable destination accouting"; } } // container output } // container bgp-pa leaf line-state { type Ipv6-ma-if-line-state; description "State of Interface Line"; } leaf mtu { type uint32; description "IPv6 MTU"; } leaf operation-state { type Ipv6-ma-oper-state; description "IPv6 Operation State"; } leaf ipv6-config-flag { type uint32; description "Interface Configured Flags"; } leaf ipv6-oper-flag { type uint32; description "Interface Operational Flags"; } leaf vrf-name { type string { length "0..32"; } description "VRF Name"; } leaf is-icmp-unreach-enabled { type boolean; description "ICMP unreach Enable"; } leaf rg-id-exists { type boolean; description "Does ICCP RG ID exist on the interface?"; } leaf mlacp-active { type boolean; description "Is mLACP state Active (valid if RG ID exists)"; } leaf flow-tag-src { type boolean; description "Is BGP Flow Tag Source is enable"; } leaf flow-tag-dst { type boolean; description "Is BGP Flow Tag Destination is enable"; } leaf im-or-state-rcvd { type Im-state-enum; description "Rcvd OR IM state type"; } leaf im-or-state-constraint { type Im-state-enum; description "Rcvd OR IM state constraint type"; } leaf im-notified-state { type Im-state-enum; description "Rcvd IM state"; } leaf idb-pointer { type uint64; description "idb pointer value"; } list multicast-group { description "IPv6 Multicast Group"; leaf address { type inet:ipv6-address; description "IPv6 Address of Multicast Group"; } } // list multicast-group list address { description "Address List"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // list address list client-multicast-group { description "IPv6 Client Multicast Group"; leaf address { type inet:ipv6-address; description "IPv6 Address of Multicast Group"; } } // list client-multicast-group } // container detail-data container brief-data { description "Brief IPv6 network operational data for an interface"; container link-local-address { description "IPv6 Address which is local to link"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // container link-local-address leaf line-state { type Ipv6-ma-if-line-state; description "State of Interface Line"; } leaf vrf-name { type string { length "0..32"; } description "VRF Name"; } list address { description "Address List"; leaf address { type inet:ipv6-address; description "IPv6 Address"; } leaf prefix-length { type uint32; description "Prefix Length of IPv6 Address"; } leaf address-state { type Ipv6-ma-if-addr-state; description "State of Address"; } leaf is-anycast { type boolean; description "Anycast address"; } leaf route-tag { type uint32; description "Route-tag of the Address"; } leaf arm-flags { type uint32; description "Bitmap for ARM flags"; } } // list address } // container brief-data leaf vrf-name { type xr:Cisco-ios-xr-string; description "The VRF name"; } } // list vrf-name } // container vrf-names leaf interface-name { type xr:Interface-name; description "The name of the interface"; } } // list interface } // container interfaces } // container ipv6-network } // module Cisco-IOS-XR-ipv6-ma-oper
© 2023 YumaWorks, Inc. All rights reserved.