Interface Ipv4Ipv6UnicastCommonConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config, State

    @Generated("mdsal-binding-generator")
    public interface Ipv4Ipv6UnicastCommonConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Common configuration parameters for IPv4 and IPv6 Unicast address families

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

     grouping ipv4-ipv6-unicast-common_config {
       leaf send-default-route {
         type boolean;
         default false;
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends Ipv4Ipv6UnicastCommonConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getSendDefaultRoute

        Boolean getSendDefaultRoute()
        Return sendDefaultRoute, or null if it is not present.
             
                 If set to true, send the default-route to the neighbour(s)
             
         
        Returns:
        Boolean sendDefaultRoute, or null if it is not present.
      • requireSendDefaultRoute

        default @NonNull Boolean requireSendDefaultRoute()
        Return sendDefaultRoute, guaranteed to be non-null.
             
                 If set to true, send the default-route to the neighbour(s)
             
         
        Returns:
        Boolean sendDefaultRoute, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if sendDefaultRoute is not present