You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Murali Reddy (JIRA)" <ji...@apache.org> on 2014/09/29 22:19:34 UTC

[jira] [Updated] (CLOUDSTACK-6420) Network implement: use network stateMachine instead of explicitly setting the state on network object

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Murali Reddy updated CLOUDSTACK-6420:
-------------------------------------
    Assignee:     (was: Murali Reddy)

> 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
>             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.3.4#6332)