Interface SystemDnsServersTop

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Dns

    @Generated("mdsal-binding-generator")
    public interface SystemDnsServersTop
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Top-level grouping for the list of DNS resolvers.

    This class represents the following YANG schema fragment defined in module openconfig-system

     grouping system-dns-servers-top {
       container servers {
         list server {
           key address;
           ordered-by user;
           leaf address {
             type leafref {
               path ../config/address;
             }
           }
           container config {
             uses system-dns-servers-config;
           }
           container state {
             config false;
             uses system-dns-servers-config;
             uses system-dns-servers-state;
           }
         }
       }
     }
     
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Servers getServers()
        Return servers, or null if it is not present.
             
                 Enclosing container for DNS resolver list
             
         
        Returns:
        Servers servers, or null if it is not present.