@@ -1 +1,69 @@
-
+framework:
+ workflows:
+ olt_workflow:
+ type: state_machine
+ marking_store:
+ type: single_state
+ arguments:
+ - currentState
+ supports:
+ - FTTHBundle\Entity\OLT
+ initial_place: disabled
+ places:
+ - enabled
+ - disabled
+ transitions:
+ disable:
+ from: enabled
+ to: disabled
+ enable:
+ from: disabled
+ to: enabled
+ onu_workflow:
+ - FTTHBundle\Entity\ONU
+ initial_place: active
+ - active
+ - disable
+ add_config:
+ from: active
+ to: active
+ to: disable
+ active:
+ from: disable
+ nose:
+ initial_place: state_two
+ - state_one
+ - state_two
+ - state_three
+ one_to_two:
+ from: state_one
+ to: state_two
+ two_to_three:
+ from: state_two
+ to: state_three
+ two_to_one:
+ to: state_one
+ three_to_one:
+ from: state_three