Interface EbgpData

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

    public interface EbgpData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    BGP configuration model for Ericsson's implementation of Opendaylight L3VPN

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

     module ebgp {
       yang-version 1;
       namespace urn:ericsson:params:xml:ns:yang:ebgp;
       prefix ericsson-bgp;
       import ietf-inet-types {
         prefix inet;
         revision-date 2013-07-15;
       }
       revision 2015-09-01;
       typedef tcp-md5-signature-password-type {
         type string {
           length 1..80;
         }
       }
       grouping tcp-security-option-grouping {
         choice tcp-security-option {
           case tcp-md5-signature-option {
             leaf tcp-md5-signature-password {
               type tcp-md5-signature-password-type;
             }
           }
         }
       }
       container bgp {
         container config-server {
           leaf host {
             type inet:ipv4-address;
           }
           leaf port {
             type uint32;
           }
         }
         container as-id {
           leaf local-as {
             type uint32;
           }
           leaf router-id {
             type inet:ip-address;
           }
           leaf stalepath-time {
             type uint32;
             default 360;
           }
           leaf announce-fbit {
             type boolean;
           }
           leaf keepalive {
             type uint32;
             default 60;
           }
           leaf holdtime {
             type uint32;
             default 180;
           }
         }
         container graceful-restart {
           leaf stalepath-time {
             type uint32;
           }
         }
         container logging {
           leaf file {
             type string;
           }
           leaf level {
             type string;
           }
         }
         container neighborsContainer {
           list neighbors {
             key address;
             leaf address {
               type inet:ipv4-address;
             }
             leaf remote-as {
               type uint32;
             }
             uses tcp-security-option-grouping;
             container ebgp-multihop {
               leaf nhops {
                 type uint32;
               }
               leaf peer-ip {
                 type leafref {
                   path /ericsson-bgp:bgp/neighborsContainer/neighbors/address;
                 }
               }
             }
             container update-source {
               leaf source-ip {
                 type inet:ipv4-address;
               }
               leaf peer-ip {
                 type leafref {
                   path /ericsson-bgp:bgp/neighborsContainer/neighbors/address;
                 }
               }
             }
             list address-families {
               key "afi safi";
               leaf afi {
                 type uint32;
               }
               leaf safi {
                 type uint32;
               }
               leaf peer-ip {
                 type leafref {
                   path /ericsson-bgp:bgp/neighborsContainer/neighbors/address;
                 }
               }
             }
           }
         }
         container networksContainer {
           list networks {
             key "rd prefix-len";
             leaf rd {
               type string;
             }
             leaf prefix-len {
               type string;
             }
             leaf afi {
               type uint32;
             }
             leaf macaddress {
               type string;
             }
             leaf bgp_control_plane_type {
               type bgp_control_plane_type;
             }
             leaf nexthop {
               type inet:ipv4-address;
             }
             leaf label {
               type uint32;
             }
             leaf ethtag {
               type uint32;
             }
             leaf esi {
               type string;
             }
             leaf encap-type {
               type encap_type;
             }
             leaf routermac {
               type string;
             }
             leaf l3vni {
               type uint32;
             }
             leaf l2vni {
               type uint32;
             }
           }
         }
         container vrfsContainer {
           list vrfs {
             key rd;
             leaf rd {
               type string;
             }
             list address-families-vrf {
               key "afi safi";
               leaf afi {
                 type uint32;
               }
               leaf safi {
                 type uint32;
               }
             }
             leaf-list import-rts {
               type string;
             }
             leaf-list export-rts {
               type string;
             }
           }
         }
         typedef layer_type {
           type enumeration {
             enum LAYER_2 {
               value 1;
             }
             enum LAYER_3 {
               value 2;
             }
           }
         }
         typedef address_family {
           type enumeration {
             enum IPV_4 {
               value 1;
             }
             enum IPV_6 {
               value 2;
             }
             enum L2VPN {
               value 3;
             }
           }
         }
         typedef encap_type {
           type enumeration {
             enum L2TPV3_OVER_IP {
               value 1;
             }
             enum GRE {
               value 2;
             }
             enum IP_IN_IP {
               value 7;
             }
             enum VXLAN {
               value 8;
             }
             enum MPLS {
               value 10;
             }
           }
         }
         typedef bgp_control_plane_type {
           type enumeration {
             enum PROTOCOL_LU {
               value 1;
             }
             enum PROTOCOL_L3VPN {
               value 2;
             }
             enum PROTOCOL_EVPN {
               value 3;
             }
             enum PROTOCOL_ANY {
               value 4;
             }
           }
         }
         leaf vpn-type {
           type enumeration {
             enum l3 {
               value 0;
             }
             enum l2 {
               value 1;
             }
           }
           default l3;
         }
         container multipathContainer {
           list multipath {
             key "afi safi";
             leaf afi {
               type uint32;
             }
             leaf safi {
               type uint32;
             }
             leaf multipath-enabled {
               type boolean;
             }
           }
         }
         container vrfMaxpathContainer {
           list vrfMaxpath {
             key rd;
             leaf rd {
               type string;
             }
             leaf maxpaths {
               type uint16;
             }
           }
         }
         container dcgw-tep-list {
           list dcgw-tep {
             key dc-gw-ip;
             leaf dc-gw-ip {
               type string;
             }
             leaf-list tep-ips {
               type string;
             }
           }
         }
       }
       rpc initiate-eor {
         input input {
           leaf neighbor-ip {
             type string;
             default ALL;
           }
         }
         output output {
           leaf retVal {
             type uint32;
           }
         }
       }
     }
     
    • Method Detail

      • getBgp

        @Nullable Bgp getBgp()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.Bgp bgp, or null if not present