The `resource_traits` field is intended to be used to reference
the resource qualities.
Partially Implements: bp new-flavor
Change-Id: I5fa154dbf8bc96d15c3cdd3699c671e5eccc1cdd
The `resources` field is intended to be used to reference baremetal
node resource classes and also other generic resources in the cloud
tracked by placement.
Partially Implements: bp new-flavor
Change-Id: I4e8fe15aed612e62cec96d1acad236cd0924d597
* Adds metadata to server create req body
* Adds extra_specs to flavor create req body
* Adds disabled to flavor create/list/get/patch req/resp body
Change-Id: I484461303e6b49e59f4f85ed73ac57e8557772dd
This removes flavor extra specs table and related methods,
moving extra specs to flavor table to make things simple,
as we have already changed to use flavor PATCH method to
manage such things.
Change-Id: I1fb5445b7d194b50b052b77624a70e59af547911
Since we have change the node_type to resource_class to adapt the Ironic's
change. but we have missed the change in API model definition.
Change-Id: I129cefd9af02fbfdc20f1d66d382621931d709c2
Closes-Bug: #1697388
This gets rid of the flavor extraspec endpoint, and change to use
PATCH method for flavor update which also include flavor extra
specs update.
Change-Id: I86c291111ebdc1c8824031a590d3d5db4db294ed
Closes-Bug: #1696632
This addes the ability to inject files on instance launch. We follow
nova's way to use 'personality' to specify the files.
Change-Id: Ic74632b0922d2c7e2dd9b2907304e45ade7376c4
Adds lock/unlock api for mogan.
This commit finish the main flows and leave some lock state
check for another commit.
Change-Id: Ib4bb8b87384b6a3eba845b3ddcd8bd6f1d3dc6c9
Implements: bp lock-instances
1. Change to return 204 (No Content), as the POST method doesn't
result in a resource that can be identified by a URL
2. Add API docs for associate fip API.
Change-Id: I8b384dcd10c9c5f5f06ee55c3fa0a846ba7d3526
As we have changed to save power_state to instance now, no need
to call ironic for that, and for states, it should also include
instance status field
Change-Id: Ic73d5724bf50f97ac697657d90ea46160fa01ce3
Maybe this is useful for tracking power transition, but seems we
should expose task_state or something else to users instead of
just using ironic's feild, this is the first step of refactoring.
Change-Id: Ibe83f3bfd534e2600769f39045da4d2812ebf5e1
Now Mogan has his own V1 api-ref folder, but
the documents in here are not be organized
very well like other projects.
So this patch wants to improve it better.
Change-Id: Ia2cd8dd99b617c64550e50c96c49aa1e323862bd
Closes-Bug: #1653616