Add method getNextFlowEntryId() which is used internally to generate
the FlowEntryIDs. Currently, for simplicity the upper 32 bits are
randomly generated, while the lower 32 bits are sequential.
If all lower 32 bits are used, the upper 32 bits are regenerated.

In the future, we should use a better mechanism (e.g., use
Zookeeper to generate the upper 32 bits in semi-sequential fashion,
and to guarantee they are unique).
1 file changed