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:
Dns

@Generated("mdsal-binding-generator") public interface SystemDnsStaticTop extends org.opendaylight.yangtools.yang.binding.DataObject
Top-level grouping for static DNS host entries

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

 grouping system-dns-static-top {
   container host-entries {
     list host-entry {
       key hostname;
       leaf hostname {
         type leafref {
           path ../config/hostname;
         }
       }
       container config {
         uses system-dns-static-config;
       }
       container state {
         config false;
         uses system-dns-static-config;
         uses system-dns-static-state;
       }
     }
   }
 }
 
  • 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
    Return hostEntries, or null if it is not present.
     
    @NonNull HostEntries
    Return hostEntries, or an empty instance if it is not present.
  • 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 SystemDnsStaticTop> 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
    • getHostEntries

      HostEntries getHostEntries()
      Return hostEntries, or null if it is not present.
           
               Enclosing container for list of static host entries
           
       
      Returns:
      HostEntries hostEntries, or null if it is not present.
    • nonnullHostEntries

      @NonNull HostEntries nonnullHostEntries()
      Return hostEntries, or an empty instance if it is not present.
      Returns:
      HostEntries hostEntries, or an empty instance if it is not present.