This submodule contains a collection of YANG definitions for Cisco IOS-XR lib-mpp package operational data. Copyright (c) 2013-...
Version: 2019-04-05
submodule Cisco-IOS-XR-lib-mpp-oper-sub1 { yang-version 1; belongs-to Cisco-IOS-XR-lib-mpp-oper { prefix Cisco-IOS-XR-lib-mpp-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 lib-mpp package operational data. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2015-01-07" { description "IOS XR 5.3.1 revision."; } semver:module-version "1.0.1"; identity Mpp-af-id-base { description "Base identity for Mpp-af-id"; } identity ipv4 { base Mpp-af-id-base; description "IPv4 address family"; } identity ipv6 { base Mpp-af-id-base; description "IPv6 address family"; } typedef Mpp-in6-addr { type inet:ipv6-address; description "Mpp in6 addr"; } typedef Mpp-in-addr { type inet:ipv4-address; description "Mpp in addr"; } typedef Mpp-af-id { type identityref { base Mpp-af-id-base; } description "MPP address family types"; } typedef Mpp-allow { type enumeration { enum "ssh" { value 0; description "SSH protocol"; } enum "telnet" { value 1; description "TELNET protocol"; } enum "snmp" { value 2; description "SNMP protocol"; } enum "tftp" { value 3; description "TFTP protocol"; } enum "http" { value 4; description "HTTP protocol"; } enum "xr-xml" { value 5; description "XML"; } enum "netconf" { value 6; description "NETCONF protocol"; } enum "all" { value 7; description "All"; } } description "MPP protocol types"; } grouping IP-ADDR-T-UNION { description "IP ADDR T UNION"; leaf af-name { type Mpp-af-id; description "AFName"; } leaf ipv4-address { when "../af-name = 'ipv4'" { description "../AFName = 'IPv4'"; } type Mpp-in-addr; description "IPv4 address"; } leaf ipv6-address { when "../af-name = 'ipv6'" { description "../AFName = 'IPv6'"; } type Mpp-in6-addr; description "IPv6 address"; } } // grouping IP-ADDR-T-UNION grouping MPP-INFO { description "MPP Information"; leaf allow { type Mpp-allow; description "MPP allow"; } leaf is-all-peers-allowed { type boolean; description "If TRUE, all peers are allowed"; } list peer-address { description "List of peer addresses"; uses IP-ADDR-T-UNION; } // list peer-address } // grouping MPP-INFO grouping MPP-PROTO { description "MPP Interface protocols"; list protocol { description "MPP Interface protocols"; uses MPP-INFO; } // list protocol } // grouping MPP-PROTO grouping VRF-INFO { description "Outband VRF name"; leaf vrf-name { type string; description "Outband VRF name"; } } // grouping VRF-INFO } // submodule Cisco-IOS-XR-lib-mpp-oper-sub1
© 2023 YumaWorks, Inc. All rights reserved.