blob: 4cb03c7e7723748b2138430ee1c0d8935d1170b6 [file] [log] [blame]
Toshio Koideb8cea262014-08-12 18:45:46 -07001package net.onrc.onos.api.flowmanager;
2
3/**
4 * Represents the state of the Flow object.
5 */
6public 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}