Interface Metadata

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

    @Generated("mdsal-binding-generator")
    public interface Metadata
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Fields associated with a packet whick are not in the header.

    This class represents the following YANG schema fragment defined in module ietf-packet-fields

     grouping metadata {
       leaf input-interface {
         type if:interface-ref {
           require-instance false;
         }
       }
     }
     
    The schema path to identify an instance is ietf-packet-fields/metadata
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends Metadata> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getInputInterface

        java.lang.String getInputInterface()
        Return inputInterface, or null if it is not present.
             
                 Packet was received on this interface.
             
         
        Returns:
        java.lang.String inputInterface, or null if it is not present.