Interface RouterId

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

    public interface RouterId
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Bgp>, org.opendaylight.yangtools.yang.binding.Augmentable<RouterId>
    Configures a fixed router ID for the local BGP routing process.

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

     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;
           }
         }
       }
     }
     
    The schema path to identify an instance is bgp/bgp-router/af-configuration/ipv4/unicast/bgp/router-id

    To create instances of this class use RouterIdBuilder.

    See Also:
    RouterIdBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<RouterId> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • isEnable

        @Nullable java.lang.Boolean isEnable()
        Returns:
        java.lang.Boolean enable, or null if not present
      • getConfigType

        @Nullable ConfigType getConfigType()
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.router.id.ConfigType configType, or null if not present