Interface L3vpnData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface L3vpnData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This YANG module defines the generic configuration data for L3VPN service. and Acronyms BGP (bgp): Border Gateway Protocol IPv4 (ipv4):Internet Protocol Version 4 IPv6 (ipv6): Internet Protocol Version 6

    This class represents the following YANG schema fragment defined in module l3vpn

     module l3vpn {
       namespace urn:huawei:params:xml:ns:yang:l3vpn;
       prefix l3vpn;
       import bgp {
         prefix bgp;
       }
       import ietf-interfaces {
         prefix if;
       }
       import ietf-inet-types {
         prefix inet;
         revision-date 2013-07-15;
       }
       import ietf-yang-types {
         prefix yang;
       }
       import neutronvpn {
         prefix nvpn;
         revision-date 2015-06-02;
       }
       revision 2014-08-15 {
       }
       grouping augment-bgp-af-vpn-config {
         leaf apply-label-per-nexthop {
           type boolean;
           default false;
         }
         leaf upeEnable {
           type boolean;
           default false;
         }
       }
       grouping bgp-af-vpn-instance-config {
         container router-id {
           leaf enable {
             type boolean;
           }
           choice config-type {
             case static {
               leaf ip-address {
                 type inet:ip-address;
               }
             }
             case auto-select {
               leaf enable-auto-select {
                 type boolean;
               }
             }
           }
         }
         leaf auto-frr {
           type boolean;
           default false;
         }
         container bgpPeers {
           list bgpPeer {
             key peerAddr;
             leaf peerAddr {
               type inet:ip-address;
             }
             leaf groupName {
               type string {
                 length 1..47;
               }
             }
             leaf remoteAs {
               type string {
                 length 1..11;
               }
             }
             leaf description {
               type string {
                 length 1..80;
                 pattern ([^?]*);
               }
             }
             leaf soo {
               type string {
                 length 3..21;
               }
             }
             leaf substituteAsEnable {
               type boolean;
               default false;
             }
           }
         }
       }
       container vrfInfo {
         leaf vrfCreateTime {
           config false;
           type yang:timestamp;
         }
         leaf vrfUpTime {
           config false;
           type yang:timeticks;
         }
         leaf label {
           config false;
           type uint32 {
             range 16..1048574;
           }
         }
         leaf vrfStatus {
           config false;
           type enumeration {
             enum up {
               value 0;
             }
             enum down {
               value 1;
             }
           }
         }
       }
       augment /bgp:bgp-router/bgp:vpnv4/bgp:unicast {
         uses augment-bgp-af-vpn-config;
       }
       augment /bgp:bgp-router/bgp:vpnv6/bgp:unicast {
         uses augment-bgp-af-vpn-config;
       }
       augment /bgp:bgp-router {
         container bgp-af-ipv4-vpn-instances {
           list bgp-af-ipv4-vpn-instance {
             key vpn-instance-name;
             leaf vpn-instance-name {
               type string;
             }
             uses bgp-af-vpn-instance-config;
           }
         }
         container bgp-af-ipv6-vpn-instances {
           list bgp-af-ipv6-vpn-instance {
             key vpn-instance-name;
             leaf vpn-instance-name {
               type string;
             }
             uses bgp-af-vpn-instance-config;
           }
         }
       }
     }
     
    • Method Detail

      • getVrfInfo

        VrfInfo getVrfInfo()
        Return vrfInfo, or null if it is not present.
             
                 Display the information of the vrf. It is intended that this container may be
                 augmented by vendors to reflect the vendor-specific operational state
                 parameters.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.VrfInfo vrfInfo, or null if it is not present.