Alena Prokharchyk created CLOUDSTACK-6420:
---------------------------------------------
Summary: Network implement: use network stateMachine instead of
explicitly setting the state on network object
Key: CLOUDSTACK-6420
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6420
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Affects Versions: 4.4.0
Reporter: Alena Prokharchyk
Assignee: Murali Reddy
Fix For: 4.5.0
In NetworkOrchestrator, implementNetwork code, some places use state machine
when update the network's state, some just update the network directly. Have to
eliminate the latest, and use state machine everywhere.
if (isSharedNetworkWithServices(network)) {
network.setState(Network.State.Implementing);
} else {
stateTransitTo(network, Event.ImplementNetwork);
}
--
This message was sent by Atlassian JIRA
(v6.2#6252)