Pavlin Radoslavov | 5363c2a | 2013-02-18 09:55:42 -0800 | [diff] [blame] | 1 | package net.floodlightcontroller.util; |
| 2 | |
Pavlin Radoslavov | ad008e0 | 2013-02-21 18:42:42 -0800 | [diff] [blame] | 3 | import net.floodlightcontroller.util.serializers.FlowEntryActionsSerializer; |
| 4 | |
| 5 | import org.codehaus.jackson.annotate.JsonProperty; |
| 6 | import org.codehaus.jackson.map.annotate.JsonSerialize; |
| 7 | |
Pavlin Radoslavov | 5363c2a | 2013-02-18 09:55:42 -0800 | [diff] [blame] | 8 | /** |
| 9 | * The class representing the Flow Entry set of actions. |
| 10 | * |
| 11 | * The Flow Entry set of actions need to be applied to each packet. |
| 12 | * |
| 13 | * NOTE: This is just an empty placeholder (for now). The implied action is |
| 14 | * forwarding on a single port. |
| 15 | */ |
Pavlin Radoslavov | ad008e0 | 2013-02-21 18:42:42 -0800 | [diff] [blame] | 16 | @JsonSerialize(using=FlowEntryActionsSerializer.class) |
Pavlin Radoslavov | 5363c2a | 2013-02-18 09:55:42 -0800 | [diff] [blame] | 17 | public class FlowEntryActions { |
| 18 | |
| 19 | /** |
| 20 | * Default constructor. |
| 21 | */ |
| 22 | public FlowEntryActions() { |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Convert the set of actions to a string. |
| 27 | * |
| 28 | * @return the set of actions as a string. |
| 29 | */ |
| 30 | @Override |
| 31 | public String toString() { |
| 32 | String ret = ""; |
| 33 | // TODO: Implement it! |
| 34 | return ret; |
| 35 | } |
| 36 | } |