Cisco-IOS-XR-lib-mpp-oper

This module contains a collection of YANG definitions for Cisco IOS-XR lib-mpp package operational data. This module contains d...

  • Version: 2019-04-05

    Cisco-IOS-XR-lib-mpp-oper@2019-04-05


    
      module Cisco-IOS-XR-lib-mpp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-lib-mpp-oper";
    
        prefix lib-mpp-oper;
    
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-lib-mpp-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        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 lib-mpp package operational data.
         
         This module contains definitions
         for the following management objects:
           management-plane-protection: Management Plane Protection (MPP)
             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";
    
        container management-plane-protection {
          config false;
          description
            "Management Plane Protection (MPP) operational
           data";
          container outband {
            description
              "Management Plane Protection (MPP) outband
             interface data";
            container vrf {
              description
                "Outband VRF information";
              leaf vrf-name {
                type string;
                description "Outband VRF name";
              }
            }  // container vrf
    
            container interfaces {
              description
                "List of inband/outband interfaces";
              list interface {
                key "interface-name";
                description
                  "MPP interface information";
                leaf interface-name {
                  type string;
                  description
                    "Interface name, specify 'all' for all
    interfaces";
                }
    
                list protocol {
                  description
                    "MPP Interface protocols";
                  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";
                    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";
                    }
                  }  // list peer-address
                }  // list protocol
              }  // list interface
            }  // container interfaces
          }  // container outband
    
          container inband {
            description
              "Management Plane Protection (MPP) inband
             interface data";
            container interfaces {
              description
                "List of inband/outband interfaces";
              list interface {
                key "interface-name";
                description
                  "MPP interface information";
                leaf interface-name {
                  type string;
                  description
                    "Interface name, specify 'all' for all
    interfaces";
                }
    
                list protocol {
                  description
                    "MPP Interface protocols";
                  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";
                    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";
                    }
                  }  // list peer-address
                }  // list protocol
              }  // list interface
            }  // container interfaces
          }  // container inband
        }  // container management-plane-protection
      }  // module Cisco-IOS-XR-lib-mpp-oper
    

© 2023 YumaWorks, Inc. All rights reserved.