Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame^] | 1 | package net.onrc.onos.api.flowmanager; |
| 2 | |
| 3 | /** |
| 4 | * Represents the state of the Flow object. |
| 5 | */ |
| 6 | public enum FlowState { |
| 7 | |
| 8 | /** |
| 9 | * The flow object is submitted, but not compiled yet. |
| 10 | */ |
| 11 | SUBMITTED, |
| 12 | |
| 13 | /** |
| 14 | * The match-action plan has been compiled from the flow object, but not |
| 15 | * installed yet. |
| 16 | */ |
| 17 | COMPILED, |
| 18 | |
| 19 | /** |
| 20 | * The compiled match-action plan has been installed successfully. |
| 21 | */ |
| 22 | INSTALLED, |
| 23 | |
| 24 | /** |
| 25 | * The installed flow is withdrawing. |
| 26 | */ |
| 27 | WITHDRAWING, |
| 28 | |
| 29 | /** |
| 30 | * The installed flow has been withdrawn successfully. |
| 31 | */ |
| 32 | WITHDRAWN, |
| 33 | |
| 34 | /** |
| 35 | * The FlowManager has failed to compile, install or withdraw the flow. |
| 36 | */ |
| 37 | FAILED, |
| 38 | } |