Interface NeighbourBaseAfConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, SlowPeerConfig
    All Known Subinterfaces:
    Evpn, Mdt, Multicast, Multicast, Multicast, Multicast, Mvpn, Mvpn, NeighbourCastAfConfig, NeighbourCommonAfConfig, NeighbourIpMulticastAfConfig, NeighbourIpUnicastAfConfig, Unicast, Unicast, Unicast, Unicast, Unicast, Unicast, Vpls

    @Generated("mdsal-binding-generator")
    public interface NeighbourBaseAfConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject, SlowPeerConfig
    A set of configuration parameters that is applicable to all neighbour address families.

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

     grouping neighbour-base-af-config {
       leaf active {
         type boolean;
         default false;
       }
       leaf advertisement-interval {
         type uint32;
       }
       leaf allowas-in {
         type boolean;
         default false;
       }
       leaf maximum-prefix {
         type uint32;
       }
       leaf next-hop-self {
         type boolean;
         default true;
       }
       leaf next-hop-unchanged {
         type boolean;
         default true;
       }
       container remove-private-as {
         leaf remove-private-as-number {
           type boolean;
         }
         leaf replace-with-local-as {
           type boolean;
         }
       }
       leaf route-reflector-client {
         type boolean;
         default false;
       }
       leaf send-community {
         type enumeration {
           enum both;
           enum extended;
           enum standard;
         }
         default standard;
       }
       uses slow-peer-config;
       leaf soo {
         type string;
       }
       leaf weight {
         type uint16;
       }
     }
     
    The schema path to identify an instance is bgp/neighbour-base-af-config
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        java.lang.Class<? extends NeighbourBaseAfConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface SlowPeerConfig
      • getActive

        java.lang.Boolean getActive()
        Return active, or null if it is not present.
             
                 Enable the address family for this neighbor.
             
         
        Returns:
        java.lang.Boolean active, or null if it is not present.
      • isActive

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isActive()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getAdvertisementInterval

        org.opendaylight.yangtools.yang.common.Uint32 getAdvertisementInterval()
        Return advertisementInterval, or null if it is not present.
             
                 Minimum interval between sending BGP routing updates.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 advertisementInterval, or null if it is not present.
      • getAllowasIn

        java.lang.Boolean getAllowasIn()
        Return allowasIn, or null if it is not present.
             
                 Accept as-path with my AS present in it.
             
         
        Returns:
        java.lang.Boolean allowasIn, or null if it is not present.
      • isAllowasIn

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isAllowasIn()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getMaximumPrefix

        org.opendaylight.yangtools.yang.common.Uint32 getMaximumPrefix()
        Return maximumPrefix, or null if it is not present.
             
                 Maximum number of prefixes accepted from this peer.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 maximumPrefix, or null if it is not present.
      • getNextHopSelf

        java.lang.Boolean getNextHopSelf()
        Return nextHopSelf, or null if it is not present.
             
                 Enable the next hop calculation for this neighbor.
             
         
        Returns:
        java.lang.Boolean nextHopSelf, or null if it is not present.
      • isNextHopSelf

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isNextHopSelf()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getNextHopUnchanged

        java.lang.Boolean getNextHopUnchanged()
        Return nextHopUnchanged, or null if it is not present.
             
                 Propagate next hop unchanged for iBGP paths to this neighbour.
             
         
        Returns:
        java.lang.Boolean nextHopUnchanged, or null if it is not present.
      • isNextHopUnchanged

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isNextHopUnchanged()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getRemovePrivateAs

        RemovePrivateAs getRemovePrivateAs()
        Return removePrivateAs, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.neighbour.base.af.config.RemovePrivateAs removePrivateAs, or null if it is not present.
      • getRouteReflectorClient

        java.lang.Boolean getRouteReflectorClient()
        Return routeReflectorClient, or null if it is not present.
             
                 Configure a neighbor as Route Reflector client.
             
         
        Returns:
        java.lang.Boolean routeReflectorClient, or null if it is not present.
      • isRouteReflectorClient

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isRouteReflectorClient()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getSendCommunity

        NeighbourBaseAfConfig.SendCommunity getSendCommunity()
        Return sendCommunity, or null if it is not present.
             
                 Send Community attribute to this neighbor.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.NeighbourBaseAfConfig.SendCommunity sendCommunity, or null if it is not present.
      • getSoo

        java.lang.String getSoo()
        Return soo, or null if it is not present.
             
                 Site-of-Origin extended community. Format is ASN:nn or IP-address:nn
             
         
        Returns:
        java.lang.String soo, or null if it is not present.
      • getWeight

        org.opendaylight.yangtools.yang.common.Uint16 getWeight()
        Return weight, or null if it is not present.
             
                 Set default weight for routes from this neighbor.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 weight, or null if it is not present.