Interface Redistribute

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Multicast, Multicast, RouterAfConfig, Unicast, Unicast, Unicast

    public interface Redistribute
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Redistribute information from another routing protocol. This grouping is intended to be augmented by vendors to implement vendor-specific protocol redistribution configuration options.

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

     grouping redistribute {
       choice protocol {
         case bgp {
           leaf enable-bgp {
             type boolean;
           }
         }
         case ospf {
           leaf enable-ospf {
             type boolean;
           }
         }
         case isis {
           leaf enable-isis {
             type boolean;
           }
         }
         case connected {
           leaf enable-connected {
             type boolean;
           }
         }
         case eigrp {
           leaf enable-eigrp {
             type boolean;
           }
         }
         case mobile {
           leaf enable-mobile {
             type boolean;
           }
         }
         case static {
           leaf enable-static {
             type boolean;
           }
         }
         case rip {
           leaf enable-rip {
             type boolean;
           }
         }
       }
     }
     
    The schema path to identify an instance is bgp/redistribute
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Protocol getProtocol()
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.redistribute.Protocol protocol, or null if not present