Interface PacketOut

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

    public interface PacketOut
    extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader, ActionsGrouping

    This class represents the following YANG schema fragment defined in module openflow-protocol

     grouping packet-out {
       uses ofHeader;
       uses ofaction:actions-grouping;
       leaf data {
         type binary;
       }
       leaf buffer-id {
         type uint32;
       }
       leaf in-port {
         type oft:port-number;
       }
     }
     
    The schema path to identify an instance is openflow-protocol/packet-out
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends PacketOut> implementedInterface()
        Specified by:
        implementedInterface in interface ActionsGrouping
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface OfHeader
      • getData

        byte[] getData()
        Returns:
        byte[] data, or null if not present
      • getBufferId

        org.opendaylight.yangtools.yang.common.Uint32 getBufferId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 bufferId, or null if not present
      • getInPort

        PortNumber getInPort()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortNumber inPort, or null if not present