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
All Known Subinterfaces:
Config, State

@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

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable List<DomainName>
    Return search, or null if it is not present.
     
    default @NonNull List<DomainName>
    Return search, guaranteed to be non-null.
  • Field Details

    • QNAME

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

    • implementedInterface

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

      @Nullable List<DomainName> getSearch()
      Return search, or null if it is not present.
           
               An ordered list of domains to search when resolving a host name.
           
       
      Returns:
      List<DomainName> search, or null if 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