All Superinterfaces:
org.opendaylight.yangtools.yang.binding.DataRoot

@Generated("mdsal-binding-generator") public interface PacketProcessingData extends org.opendaylight.yangtools.yang.binding.DataRoot
Packet processing - sending and receiving.

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

 module packet-processing {
   namespace urn:opendaylight:packet:service;
   prefix flow;
   import opendaylight-inventory {
     prefix inv;
     revision-date 2013-08-19;
   }
   import ietf-yang-types {
     prefix yang;
     revision-date 2013-07-15;
   }
   import opendaylight-match-types {
     prefix match-type;
     revision-date 2013-10-26;
   }
   import opendaylight-table-types {
     prefix table-type;
     revision-date 2013-10-26;
   }
   import opendaylight-action-types {
     prefix action-type;
     revision-date 2013-11-12;
   }
   import opendaylight-flow-types {
     prefix flow-type;
     revision-date 2013-10-26;
   }
   import openflow-protocol {
     prefix ofproto;
     revision-date 2013-07-31;
   }
   revision 2013-07-09 {
   }
   typedef connection-cookie {
     type uint32;
   }
   grouping raw-packet {
     leaf ingress {
       type inv:node-connector-ref;
     }
     leaf payload {
       type binary;
     }
   }
   grouping packet-in {
     leaf connection-cookie {
       type connection-cookie;
     }
     leaf flow-cookie {
       type flow-type:flow-cookie;
     }
     leaf table-id {
       type table-type:table-id;
     }
     leaf packet-in-reason {
       type identityref {
         base packet-in-reason;
       }
     }
     uses raw-packet;
   }
   grouping ethernet-packet {
     leaf source {
       type yang:mac-address;
     }
     leaf destination {
       type yang:mac-address;
     }
   }
   identity packet-in-reason {
   }
   identity no-match {
     base packet-in-reason;
   }
   identity send-to-controller {
     base packet-in-reason;
   }
   identity invalid-ttl {
     base packet-in-reason;
   }
   notification packet-received {
     uses packet-in;
     container match {
       uses match-type:match;
     }
   }
   rpc transmit-packet {
     input input {
       uses inv:node-context-ref;
       leaf connection-cookie {
         type connection-cookie;
       }
       leaf egress {
         type inv:node-connector-ref;
       }
       leaf buffer-id {
         type uint32;
       }
       uses raw-packet;
       uses action-type:action-list;
     }
   }
   container packet-in-message {
     uses packet-in;
     uses ofproto:ofHeader;
     container match {
       uses match-type:match;
     }
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return packetInMessage, or null if it is not present.
  • Method Details

    • getPacketInMessage

      PacketInMessage getPacketInMessage()
      Return packetInMessage, or null if it is not present.
      Returns:
      PacketInMessage packetInMessage, or null if it is not present.