- // Structures
-
- grouping goto-table {
- description " Setup the next table in the lookup pipeline";
- leaf table {
- type oft:table-id; //
- }
- }
- grouping write-metadata {
- description " Setup the metadata field for use later in pipeline";
- leaf metadata {
- type oft:metadata;
- }
- leaf mask {
- type oft:metadata;
- }
- }
- grouping actions {
- leaf type {
- type enumeration {
- enum write {
- description " Write the action(s) onto the datapath action set";
- }
- enum apply {
- description " Applies the action(s) immediately";
- }
- enum clear {
- description " Clears all actions from the datapath action set";
- }
- }
- }
- list action {
- // TBD
- }
- }
-
- grouping meter {
- description " Apply meter (rate limiter)";
- leaf meter-id {
- type oft:meter-id;
- }
- }
-
- container instruction {