cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murali Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-6420) Network implement: use network stateMachine instead of explicitly setting the state on network object
Date Mon, 29 Sep 2014 20:19:34 GMT

     [ 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)

Mime
View raw message