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/configsTo create instances of this class use
ConfigsBuilder
.- See Also:
ConfigsBuilder
,ConfigsKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable java.lang.String
getDefaultDomain()
default domain-name.@Nullable java.lang.Integer
getLeaseDuration()
default lease duration for dhcp lease.default java.lang.Class<Configs>
implementedInterface()
ConfigsKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<Configs> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.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
, ornull
if not present
-
getDefaultDomain
@Nullable java.lang.String getDefaultDomain()
default domain-name. used in dhcp reply- Returns:
java.lang.String
defaultDomain
, ornull
if not present
-
key
ConfigsKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<ConfigsKey>
-
-