commit ac236c2cd73c9d7e05ef9fbd22a4f8f099262082
Author: He Jie Xu <email address hidden>
Date: Sat Apr 12 19:30:12 2014 +0800
Check instance state before attach/detach interface
Currently there isn't any instance's status checking before
attach/detach interface, It will fail when some status didn't
support it. This patch add checking for it.
This patch allow attach/detach interface for ACTIVE, PAUSED
and STOPPED instance.
* ACTIVE: The interface is hotplug to instance.
* PAUSED: The interface can be hotpluged after instance unpaused.
It's fixed by commit: a868fcedf8e46070cae6aa8e59e61934fa23db1c
* STOPPED: In this status, the instance is destroyed. It just update
the instance configuration with new interface. When the start
instance, the instance will be recreated with new configuration.
Reviewed: https:/ /review. openstack. org/87082 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ac236c2cd73 c9d7e05ef9fbd22 a4f8f099262082
Committed: https:/
Submitter: Jenkins
Branch: master
commit ac236c2cd73c9d7 e05ef9fbd22a4f8 f099262082
Author: He Jie Xu <email address hidden>
Date: Sat Apr 12 19:30:12 2014 +0800
Check instance state before attach/detach interface
Currently there isn't any instance's status checking before
attach/detach interface, It will fail when some status didn't
support it. This patch add checking for it.
This patch allow attach/detach interface for ACTIVE, PAUSED
and STOPPED instance.
* ACTIVE: The interface is hotplug to instance. 0cae6aa8e59e619 34fa23db1c
* PAUSED: The interface can be hotpluged after instance unpaused.
It's fixed by commit: a868fcedf8e4607
* STOPPED: In this status, the instance is destroyed. It just update
the instance configuration with new interface. When the start
instance, the instance will be recreated with new configuration.
Change-Id: I3c038056085be1 f655758ed8b6a44 bcdbf70cdd5
Closes-bug: #1299333