[ https://issues.apache.org/jira/browse/CLOUDSTACK-6420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Murali Reddy updated CLOUDSTACK-6420: ------------------------------------- Fix Version/s: (was: 4.5.0) Future > 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.) > Components: Network Controller > Affects Versions: 4.4.0 > Reporter: Alena Prokharchyk > Assignee: Murali Reddy > Fix For: Future > > > 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)