Nova allows setting instance metadata and injecting
personality files with a server rebuild, we should
allow that too.
This also refactors some of the server update code.
Change-Id: Ic2ce21c0dc06315b9040a56bfd9e6864097ba2a7
Closes-Bug: #1650470
The params order of assertEqual is (expected, observed),
some tests in test_server.py are in wrong order.
Change-Id: I95054cac6d9c34dd978fdae2a38823273d8b867d
Update the constaint value to make it up to date. Manila support 4
kinds of access types wich are 'ip', 'user', 'cert', 'cephx', and,
'cephx' is the newer type in Manila which is supported on version '2.13'.
So update the version of Manila client to '2' incidentally.
Change-Id: I230f2bc7268e9f25f77d7b22f7a68b6ca37f6d2a
Closes-Bug: #1649217
Add ability to associate private flavors with multiple tenants.
Also updated 'test_flavor' file to reflect changes and test
functionality.
Change-Id: I841460b936ae52b3a91981029b42212ae484c3e4
Implements: blueprint nova-flavor-resource
Add default implementation for parse_live_resource_data
to reduce number of override methods in resource plugins.
Also, add separate method for resolving update_allowed
properties.
implements bp get-reality-for-resources
Change-Id: Ie7ee043d06fbf3bc910fa40dc7f8f17c2fbb4303
The DeployedServer resource is a subclass of the BaseServer base class.
It allows for creating Server resources to associate with
SoftwareDeployment's where those servers were not orchestrated via Nova.
This is a use case for TripleO so that the software configuration part
of the deployment can be orchestrated with Heat on servers that were not
provisioned with Nova/Ironic.
Partially-implements: blueprint split-stack-software-configuration
Change-Id: I07b9a053ecd3ef4411b602bbc6ef985224834cf8
Refactors the Nova Server resource class to use a new base class,
BaseServer. All of the Nova/Neutron/Glance/etc specific logic for the
Server resource remains in the Server class and not in the base class.
This allows other Server subclasses, such as the DeployedServer resource
(see followup patch) to create Server "like" resources to associate with
SoftwareDeployment resources.
Partially-implements: blueprint split-stack-software-configuration
Change-Id: I585d92dbd29198107464b92ddb0e0b15779b9999