|
@@ -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:
|
|
|
+ type: state_machine
|
|
|
+ marking_store:
|
|
|
+ type: single_state
|
|
|
+ arguments:
|
|
|
+ - currentState
|
|
|
+ supports:
|
|
|
+ - FTTHBundle\Entity\ONU
|
|
|
+ initial_place: active
|
|
|
+ places:
|
|
|
+ - active
|
|
|
+ - disable
|
|
|
+ transitions:
|
|
|
+ add_config:
|
|
|
+ from: active
|
|
|
+ to: active
|
|
|
+ disable:
|
|
|
+ from: active
|
|
|
+ to: disable
|
|
|
+ active:
|
|
|
+ from: disable
|
|
|
+ to: active
|
|
|
+ nose:
|
|
|
+ type: state_machine
|
|
|
+ marking_store:
|
|
|
+ type: single_state
|
|
|
+ arguments:
|
|
|
+ - currentState
|
|
|
+ supports:
|
|
|
+ - FTTHBundle\Entity\ONU
|
|
|
+ initial_place: state_two
|
|
|
+ places:
|
|
|
+ - state_one
|
|
|
+ - state_two
|
|
|
+ - state_three
|
|
|
+ transitions:
|
|
|
+ one_to_two:
|
|
|
+ from: state_one
|
|
|
+ to: state_two
|
|
|
+ two_to_three:
|
|
|
+ from: state_two
|
|
|
+ to: state_three
|
|
|
+ two_to_one:
|
|
|
+ from: state_two
|
|
|
+ to: state_one
|
|
|
+ three_to_one:
|
|
|
+ from: state_three
|
|
|
+ to: state_one
|