Interface Bgp

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Bgp>, BgpAfConfig, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Unicast>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, SlowPeerConfig

    public interface Bgp
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Unicast>, org.opendaylight.yangtools.yang.binding.Augmentable<Bgp>, BgpAfConfig
    BGP specific commands for ipv4-unicast address family/sub-addess family combination.

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

     container bgp {
       uses bgp-af-config;
       leaf always-compare-med {
         type boolean;
         default false;
       }
       leaf enforce-first-as {
         type boolean;
         default true;
       }
       leaf fast-external-fallover {
         type boolean;
         default true;
       }
       leaf suppress-inactive {
         type boolean;
       }
       leaf asnotation {
         type enumeration {
           enum asplain;
           enum dot;
         }
       }
       leaf enable-client-to-client-reflection {
         type boolean;
         default true;
       }
       leaf cluster-id {
         type string;
       }
       container confederation {
         leaf identifier {
           type string;
         }
         list peers {
           key as-name;
           leaf as-name {
             type string;
           }
         }
       }
       container consistency-checker {
         leaf enable {
           type boolean;
         }
         leaf interval {
           type uint16 {
             range 5..1440;
           }
         }
         choice inconsistency-action {
           case error-message {
             leaf generate-error-message-only {
               type boolean;
             }
           }
           case autorepair {
             leaf perform-autorepair {
               type boolean;
             }
           }
         }
       }
       leaf deterministic-med {
         type boolean;
       }
       container graceful-restart {
         leaf enable {
           type boolean;
         }
         leaf restart-time {
           type uint16 {
             range 1..3600;
           }
           default 120;
         }
         leaf stalepath-time {
           type uint16 {
             range 5..3600;
           }
           default 360;
         }
       }
       container listener-congfig {
         leaf enable {
           type boolean;
         }
         leaf limit {
           type uint16 {
             range 1..5000;
           }
           default 100;
         }
         leaf range {
           type uint16 {
             range 0..32;
           }
         }
         leaf peer-group {
           type string;
         }
       }
       leaf log-neighbor-changes {
         type boolean;
       }
       leaf max-as-limit {
         type uint16 {
           range 1..254;
         }
       }
       container router-id {
         leaf enable {
           type boolean;
         }
         choice config-type {
           case static {
             leaf ip-address {
               type boolean;
             }
           }
           case auto-config {
             leaf enable-auto-config {
               type boolean;
             }
           }
         }
       }
       container transport {
         leaf enable-path-mtu-discovery {
           type boolean;
           default true;
         }
       }
     }
     
    The schema path to identify an instance is bgp/bgp-router/af-configuration/ipv4/unicast/bgp

    To create instances of this class use BgpBuilder.

    See Also:
    BgpBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<Bgp> implementedInterface()
        Specified by:
        implementedInterface in interface BgpAfConfig
        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
      • isAlwaysCompareMed

        @Nullable java.lang.Boolean isAlwaysCompareMed()
        Allow comparing MED from different neighbors.
        Returns:
        java.lang.Boolean alwaysCompareMed, or null if not present
      • isEnforceFirstAs

        @Nullable java.lang.Boolean isEnforceFirstAs()
        Enforce the first AS for EBGP routes(default).
        Returns:
        java.lang.Boolean enforceFirstAs, or null if not present
      • isFastExternalFallover

        @Nullable java.lang.Boolean isFastExternalFallover()
        Immediately reset session if a link to a directly connected external peer goes down.
        Returns:
        java.lang.Boolean fastExternalFallover, or null if not present
      • isSuppressInactive

        @Nullable java.lang.Boolean isSuppressInactive()
        Suppress routes that are not in the routing table.
        Returns:
        java.lang.Boolean suppressInactive, or null if not present
      • getAsnotation

        @Nullable Bgp.Asnotation getAsnotation()
        Sets the default asplain notation.
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.Bgp.Asnotation asnotation, or null if not present
      • isEnableClientToClientReflection

        @Nullable java.lang.Boolean isEnableClientToClientReflection()
        Manages client to client route reflection.
        Returns:
        java.lang.Boolean enableClientToClientReflection, or null if not present
      • getClusterId

        @Nullable java.lang.String getClusterId()
        Configure Route-Reflector Cluster-id.
        Returns:
        java.lang.String clusterId, or null if not present
      • getConfederation

        @Nullable Confederation getConfederation()
        AS confederation parameters.
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.Confederation confederation, or null if not present
      • getConsistencyChecker

        @Nullable ConsistencyChecker getConsistencyChecker()
        Consistency-checker configuration.
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.ConsistencyChecker consistencyChecker, or null if not present
      • isDeterministicMed

        @Nullable java.lang.Boolean isDeterministicMed()
        If enabled it enforce the deterministic comparison of the MED value between all paths received from within the same autonomous system.
        Returns:
        java.lang.Boolean deterministicMed, or null if not present
      • getGracefulRestart

        @Nullable GracefulRestart getGracefulRestart()
        Controls the BGP graceful restart capability.
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.GracefulRestart gracefulRestart, or null if not present
      • getListenerCongfig

        @Nullable ListenerCongfig getListenerCongfig()
        Associates a subnet range with a BGP peer group and activate the BGP dynamic neighbors feature.
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.ListenerCongfig listenerCongfig, or null if not present
      • isLogNeighborChanges

        @Nullable java.lang.Boolean isLogNeighborChanges()
        Log neighbor up/down and reset reason.
        Returns:
        java.lang.Boolean logNeighborChanges, or null if not present
      • getMaxAsLimit

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getMaxAsLimit()
        Configures BGP to discard routes that have a number of autonomous system numbers in AS-path that exceed the specified value.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 maxAsLimit, or null if not present
      • getRouterId

        @Nullable RouterId getRouterId()
        Configures a fixed router ID for the local BGP routing process.
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.RouterId routerId, or null if not present
      • getTransport

        @Nullable Transport getTransport()
        Manages transport session parameters.
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.Transport transport, or null if not present