Interface EthernetMatchFields

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

    public interface EthernetMatchFields
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping ethernet-match-fields {
       container ethernet-source {
         presence "Match field is active and set";
         uses mac-address-filter;
       }
       container ethernet-destination {
         presence "Match field is active and set";
         uses mac-address-filter;
       }
       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
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable EthernetSource getEthernetSource()
        Ethernet source address.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.ethernet.match.fields.EthernetSource ethernetSource, or null if not present
      • getEthernetDestination

        @Nullable EthernetDestination getEthernetDestination()
        Ethernet destination address.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.ethernet.match.fields.EthernetDestination ethernetDestination, or null if not present
      • getEthernetType

        @Nullable EthernetType getEthernetType()
        Ethernet frame type.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.ethernet.match.fields.EthernetType ethernetType, or null if not present