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

    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
      • isActive

        @Nullable java.lang.Boolean isActive()
        Enable the address family for this neighbor.
        Returns:
        java.lang.Boolean active, or null if not present
      • getAdvertisementInterval

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getAdvertisementInterval()
        Minimum interval between sending BGP routing updates.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 advertisementInterval, or null if not present
      • isAllowasIn

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

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

        @Nullable java.lang.Boolean isNextHopSelf()
        Enable the next hop calculation for this neighbor.
        Returns:
        java.lang.Boolean nextHopSelf, or null if not present
      • isNextHopUnchanged

        @Nullable java.lang.Boolean isNextHopUnchanged()
        Propagate next hop unchanged for iBGP paths to this neighbour.
        Returns:
        java.lang.Boolean nextHopUnchanged, or null if not present
      • getRemovePrivateAs

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

        @Nullable java.lang.Boolean isRouteReflectorClient()
        Configure a neighbor as Route Reflector client.
        Returns:
        java.lang.Boolean routeReflectorClient, or null if not present
      • getSendCommunity

        @Nullable NeighbourBaseAfConfig.SendCommunity getSendCommunity()
        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 not present
      • getSoo

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

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