- base oft:action;
- }
-
- grouping output {
- description
- "Action structure for OFPAT_OUTPUT, which sends packets out 'port'.
- When the 'port' is the OFPP_CONTROLLER, 'max_len' indicates the max
- number of bytes to send. A 'max_len' of zero means no bytes of the
- packet should be sent. A 'max_len' of OFPCML_NO_BUFFER means that
- the packet is not buffered and the complete packet is to be sent to
- the controller.";
- leaf port {
- type oft:any-port-number;
- }
- leaf max-length {
- description "Maximum packet length to be send to controller.";
- type union {
- type uint16 {
- range "0..65294"; // 0..0xff0e
- }
- type enumeration {
- enum no-buffer {
- description
- "indicates that no buffering should be
- applied and the whole packet is to be
- sent to the controller";
- value 65535; //0xffff
- }
- }
- }
- }