Interface Match

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

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

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

     grouping match {
       leaf in-port {
         type inv:node-connector-id;
       }
       leaf in-phy-port {
         type inv:node-connector-id;
       }
       container packet-type-match {
         uses packet-type-fields;
       }
       container metadata {
         uses of-metadata;
       }
       container tunnel {
         leaf tunnel-id {
           type uint64;
         }
         leaf tunnel-mask {
           type uint64;
         }
       }
       container ethernet-match {
         uses ethernet-match-fields;
       }
       container vlan-match {
         uses vlan-match-fields;
       }
       container ip-match {
         uses ip-match-fields;
       }
       choice layer-3-match {
         case ipv4-match {
           uses ipv4-match-fields;
         }
         case ipv4-match-arbitrary-bit-mask {
           uses mask:ipv4-match-arbitrary-bitmask-fields;
         }
         case ipv6-match {
           uses ipv6-match-fields;
         }
         case ipv6-match-arbitrary-bit-mask {
           uses ipv6-arbitrary-mask:ipv6-match-arbitrary-bitmask-fields;
         }
         case arp-match {
           uses arp-match-fields;
         }
         case tunnel-ipv4-match {
           uses tunnel-ipv4-match-fields;
         }
       }
       choice layer-4-match {
         case udp-match {
           uses udp-match-fields;
         }
         case tcp-match {
           uses tcp-match-fields;
         }
         case sctp-match {
           uses sctp-match-fields;
         }
       }
       container icmpv4-match {
         uses icmpv4-match-fields;
       }
       container icmpv6-match {
         uses icmpv6-match-fields;
       }
       container protocol-match-fields {
         uses protocol-match-fields;
       }
       container tcp-flags-match {
         uses tcp-flags-match-fields;
       }
     }
     
    The schema path to identify an instance is opendaylight-match-types/match
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId getInPort()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId inPort, or null if not present
      • getInPhyPort

        @Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId getInPhyPort()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId inPhyPort, or null if not present
      • getPacketTypeMatch

        @Nullable PacketTypeMatch getPacketTypeMatch()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.PacketTypeMatch packetTypeMatch, or null if not present
      • getMetadata

        @Nullable Metadata getMetadata()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.Metadata metadata, or null if not present
      • getTunnel

        @Nullable Tunnel getTunnel()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.Tunnel tunnel, or null if not present
      • getEthernetMatch

        @Nullable EthernetMatch getEthernetMatch()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.EthernetMatch ethernetMatch, or null if not present
      • getVlanMatch

        @Nullable VlanMatch getVlanMatch()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.VlanMatch vlanMatch, or null if not present
      • getIpMatch

        @Nullable IpMatch getIpMatch()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch ipMatch, or null if not present
      • getLayer3Match

        @Nullable Layer3Match getLayer3Match()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.Layer3Match layer3Match, or null if not present
      • getLayer4Match

        @Nullable Layer4Match getLayer4Match()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.Layer4Match layer4Match, or null if not present
      • getIcmpv4Match

        @Nullable Icmpv4Match getIcmpv4Match()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.Icmpv4Match icmpv4Match, or null if not present
      • getIcmpv6Match

        @Nullable Icmpv6Match getIcmpv6Match()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.Icmpv6Match icmpv6Match, or null if not present
      • getProtocolMatchFields

        @Nullable ProtocolMatchFields getProtocolMatchFields()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.ProtocolMatchFields protocolMatchFields, or null if not present
      • getTcpFlagsMatch

        @Nullable TcpFlagsMatch getTcpFlagsMatch()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.TcpFlagsMatch tcpFlagsMatch, or null if not present