This submodule contains a collection of YANG definitions for Cisco IOS-XR ipv6-ma package operational data. Copyright (c) 2013-...
Version: 2020-09-03
submodule Cisco-IOS-XR-ipv6-ma-oper-sub1 { yang-version 1; belongs-to Cisco-IOS-XR-ipv6-ma-oper { prefix Cisco-IOS-XR-ipv6-ma-oper; } import ietf-inet-types { prefix inet; } import cisco-semver { prefix semver; } 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 submodule contains a collection of YANG definitions for Cisco IOS-XR ipv6-ma package 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"; typedef Im-state-enum { type enumeration { enum "im-state-not-ready" { value 0; description "im state not ready"; } enum "im-state-admin-down" { value 1; description "im state admin down"; } enum "im-state-down" { value 2; description "im state down"; } enum "im-state-up" { value 3; description "im state up"; } enum "im-state-shutdown" { value 4; description "im state shutdown"; } enum "im-state-err-disable" { value 5; description "im state err disable"; } enum "im-state-down-immediate" { value 6; description "im state down immediate"; } enum "im-state-down-immediate-admin" { value 7; description "im state down immediate admin"; } enum "im-state-down-graceful" { value 8; description "im state down graceful"; } enum "im-state-begin-shutdown" { value 9; description "im state begin shutdown"; } enum "im-state-end-shutdown" { value 10; description "im state end shutdown"; } enum "im-state-begin-error-disable" { value 11; description "im state begin error disable"; } enum "im-state-end-error-disable" { value 12; description "im state end error disable"; } enum "im-state-begin-down-graceful" { value 13; description "im state begin down graceful"; } enum "im-state-reset" { value 14; description "im state reset"; } enum "im-state-operational" { value 15; description "im state operational"; } enum "im-state-not-operational" { value 16; description "im state not operational"; } enum "im-state-unknown" { value 17; description "im state unknown"; } enum "im-state-last" { value 18; description "im state last"; } } description "Im state enum"; } typedef Str { type string; description "Str"; } typedef Ipv6-ma-oper-state { type enumeration { enum "oper-up" { value 1; description "Interface oper state is up"; } enum "oper-down" { value 2; description "Interface oper state is down"; } } description "Interface oper states"; } typedef Ipv6-ma-if-addr-state { type enumeration { enum "active" { value 1; description "This is an active address that can appear as the destination or source address of a packet"; } enum "deprecated" { value 2; description "This is a valid but deprecated address that should no longer be used as a source address in new communications"; } enum "duplicate" { value 3; description "This is a duplicate (invalid) address because of conflict"; } enum "inaccessible" { value 4; description "This is not accessible because the interface to which this address is assigned is not operational"; } enum "tentative" { value 5; description "Status can not be determined for some reason"; } } description "Interface address states"; } typedef Ipv6-ma-if-line-state { type enumeration { enum "down" { value 1; description "Interface state is down"; } enum "up" { value 2; description "Interface state is up"; } enum "unknown" { value 3; description "Interface state is unknown"; } enum "error" { value 4; description "Interface state is incorrect"; } } description "Interface line states"; } grouping IF-SUMMARY { description "Count of assigned/unnumbered interfaces"; 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"; } } // grouping IF-SUMMARY grouping IPV6-IF-SUMMARY { description "Summary info of IPv6 interfaces"; container if-up-up { description "Number of interfaces (up,up)"; uses IF-SUMMARY; } // container if-up-up container if-up-down { description "Number of interfaces (up,down)"; uses IF-SUMMARY; } // container if-up-down container if-down-down { description "Number of interfaces (down,down)"; uses IF-SUMMARY; } // container if-down-down container if-shutdown-down { description "Number of interfaces (shutdown,down)"; uses IF-SUMMARY; } // container if-shutdown-down leaf if-up-down-basecaps-up { type uint32; description "Number of interfaces (up,down) with basecaps up"; } } // grouping IPV6-IF-SUMMARY grouping BGP-PA-DIR { description "BGP PA config for ingress/egress direction"; 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"; } } // grouping BGP-PA-DIR grouping BGP-PA-CONFIG { description "BGP PA config information"; container input { description "BGP PA input config"; uses BGP-PA-DIR; } // container input container output { description "BGP PA output config"; uses BGP-PA-DIR; } // container output } // grouping BGP-PA-CONFIG grouping RPF-CONFIG { description "RPF config information"; 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)"; } } // grouping RPF-CONFIG grouping IPV6-MULTI-ACL-CONFIG { description "IPV6 MULTI ACL CONFIG"; 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 } // grouping IPV6-MULTI-ACL-CONFIG grouping IPV6-ACL-CONFIG { description "IPV6 ACL CONFIG"; 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"; } } // grouping IPV6-ACL-CONFIG grouping IPV6-MCAST-GROUP { description "MCast Group "; leaf address { type inet:ipv6-address; description "IPv6 Address of Multicast Group"; } } // grouping IPV6-MCAST-GROUP grouping IPV6-IF-DETAIL { description "Detailed Info of IPv6 Interface"; container link-local-address { description "IPv6 Address which is local to link"; uses IPV6-ADDR-NODE; } // container link-local-address container access-control-list { description "IPv6 Access Control List"; uses IPV6-ACL-CONFIG; } // container access-control-list container multi-access-control-list { description "Multi IPv6 Access Control List"; uses IPV6-MULTI-ACL-CONFIG; } // container multi-access-control-list container rpf { description "RPF config on the interface"; uses RPF-CONFIG; } // container rpf container bgp-pa { description "BGP PA config on the interface"; uses BGP-PA-CONFIG; } // 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"; uses IPV6-MCAST-GROUP; } // list multicast-group list address { description "Address List"; uses IPV6-ADDR-NODE; } // list address list client-multicast-group { description "IPv6 Client Multicast Group"; uses IPV6-MCAST-GROUP; } // list client-multicast-group } // grouping IPV6-IF-DETAIL grouping IPV6-ADDR-NODE { description "List of IPv6 Addresses "; 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"; } } // grouping IPV6-ADDR-NODE grouping IPV6-IF-BRIEF { description "Brief Summary of IPv6 Interface"; container link-local-address { description "IPv6 Address which is local to link"; uses IPV6-ADDR-NODE; } // 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"; uses IPV6-ADDR-NODE; } // list address } // grouping IPV6-IF-BRIEF } // submodule Cisco-IOS-XR-ipv6-ma-oper-sub1
© 2023 YumaWorks, Inc. All rights reserved.