Interface SystemDnsConfig
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator")
public interface SystemDnsConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
DNS / resolver related configuration data
This class represents the following YANG schema fragment defined in module openconfig-system
grouping system-dns-config {
leaf-list search {
type oc-inet:domain-name;
ordered-by user;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<DomainName>Return search, ornullif it is not present.Class<? extends SystemDnsConfig>default @NonNull List<DomainName>Return search, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends SystemDnsConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSearch
@Nullable List<DomainName> getSearch()Return search, ornullif it is not present.An ordered list of domains to search when resolving a host name.- Returns:
List<DomainName>search, ornullif it is not present.
-
requireSearch
Return search, guaranteed to be non-null.An ordered list of domains to search when resolving a host name.- Returns:
List<DomainName>search, guaranteed to be non-null.- Throws:
NoSuchElementException- if search is not present
-