Interface EthernetTop

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

    @Generated("mdsal-binding-generator")
    public interface EthernetTop
    extends org.opendaylight.yangtools.yang.binding.DataObject
    top-level Ethernet config and state containers

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

     grouping ethernet-top {
       container ethernet {
         container config {
           uses ethernet-interface-config;
         }
         container state {
           config false;
           uses ethernet-interface-config;
           uses ethernet-interface-state;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-if-ethernetethernet-top
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

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

        Ethernet getEthernet()
        Return ethernet, or null if it is not present.
             
                 Top-level container for ethernet configuration and state
             
         
        Returns:
        Ethernet ethernet, or null if it is not present.