Interface Configs

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Configs>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<DhcpConfig>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<ConfigsKey>

    public interface Configs
    extends org.opendaylight.yangtools.yang.binding.ChildOf<DhcpConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<Configs>, org.opendaylight.yangtools.yang.binding.Identifiable<ConfigsKey>

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

     list configs {
       key "lease-duration default-domain";
       leaf lease-duration {
         type int32;
       }
       leaf default-domain {
         type string;
       }
     }
     
    The schema path to identify an instance is neutronvpn/dhcp-config/configs

    To create instances of this class use ConfigsBuilder.

    See Also:
    ConfigsBuilder, ConfigsKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.lang.Integer getLeaseDuration()
        default lease duration for dhcp lease. -1 means infinite
        Returns:
        java.lang.Integer leaseDuration, or null if not present
      • getDefaultDomain

        @Nullable java.lang.String getDefaultDomain()
        default domain-name. used in dhcp reply
        Returns:
        java.lang.String defaultDomain, or null if not present
      • key

        ConfigsKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<ConfigsKey>