Interface EthernetType

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<EthernetType>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<EthernetMatchFields>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface EthernetType
    extends org.opendaylight.yangtools.yang.binding.ChildOf<EthernetMatchFields>, org.opendaylight.yangtools.yang.binding.Augmentable<EthernetType>
    Ethernet frame type.

    This class represents the following YANG schema fragment defined in module opendaylight-match-types

     container ethernet-type {
       presence "Match field is active and set";
       leaf type {
         type l2t:ether-type;
       }
     }
     
    The schema path to identify an instance is opendaylight-match-types/ethernet-match-fields/ethernet-type

    To create instances of this class use EthernetTypeBuilder.

    See Also:
    EthernetTypeBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<EthernetType> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getType

        org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.EtherType getType()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.EtherType type, or null if not present