Interface SystemDnsConfig
-
- All Superinterfaces:
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 dataThis 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; } }The schema path to identify an instance is openconfig-systemsystem-dns-config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<DomainName>getSearch()Return search, ornullif it is not present.Class<? extends SystemDnsConfig>implementedInterface()default @NonNull List<DomainName>requireSearch()Return search, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends SystemDnsConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
default @NonNull List<DomainName> 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
-
-