>> Changed project name from plasma to valence in docs.
>> Fixed docstring indentation.
>> Added features docs.
>> Added driver docs.
>> Hidden licence headers from html files.
Depends-On: Ia02bc00ad168b3c3d01ef6ca9696d43996091070
Change-Id: I1fa382d566165f5e76c84ad864024c0f546ef74c
This patch enabled check for "name" field in request body before
node composition, raise BadRequest exception if if don't exits.
Changed "description" to optional, and will set it to empty string
if it don't exist.
Change-Id: Ib3624ad85e12823c5f6fd6321d3161b88a7b6ecf
Closes-Bug: #1677046
This commit implements the ability for an admin to manage
existing RSD composed nodes with Valence. In the event that
an RSD pod manager contains composed nodes that were created
without Valence, it's possible to use this function to
add those nodes to the Valence database.
Change-Id: I13e8076fb718ebd356cb7b4839cfb4b83c798672
Implements-blueprint: manage-node
This commit adds API and corresponding controller functions
for viewing rack resources.
Change-Id: I66fd2f9cfe30b7a87ee4ea16a9f8027c34d1d0e6
Closes-bug: #1633443
Added three missed attributions: "uuid", "created_at" and
"updated_at". And renamed it to keep similar naming convention.
Change-Id: I426b367c538922cc5825c65d9f4e943438d2cb28
Closes-Bug: #1677088
Current valence support two ways to specify required hardware
resource.
* Specify every details in "properties" attribution
* Specify node flavor via "flavor_id"
Added example to show how to compose through flavor.
Change-Id: Ieab02fe2f2a46fa8cd28285fb88bc5fba8e5b6ff
Closes-Bug: #1677080
This patch will allow a user to compose a node
based on requirements specified in a flavor by including
the flavor_id in the composition request. It also changes
the contents of the request requirements in the API to be
included in a "properties" key.
Change-Id: I3052e1d5877e63d4a217ecdcdaee32bdb21cb8ed
This patch allow user to set boot source of composed node. Two
parameters are needed in request body,
"Target" - the boot source to be used at next boot
"Enabled" - options "Once" and "Continuous" are supported, which
indicate whether this action is only one time change
Partially-Implements blueprint node-action
Change-Id: I46342c884e3cb8f00069e7e2c10c878582a2b185
Added api entry v1/node/<uuid>/action to allow user to post reset
action to composed node. The available reset type contains
Power On/Off, Force Shutdown/Restart, etc, which may vary because of
different podm.
Partially-Implements blueprint node-action
Closes-Bug: #1659932
Change-Id: Idb23bdde02318c70e046e92dd1d474cba54c645e
1. Return briefly info of node after composed node
2. Fixed hardcode fields in node details, like ip addr, mac, etc.
Added more fields according to valence api spec.
Change-Id: I9291b1245895fd7693f5e960559e9f29a314b712
Closes-Bug: #1636826
This patch implements flavors, allowing users to save composition
requirements to the database to be used at any time. Parameters
included are the flavor's name, RAM, number of CPU cores, and
processor model.
Change-Id: I356ca9162559598bf1415d2c3b151596f111ac0c
Implements: blueprint flavor
Add a new entry point of pod_manager info and add how to Delete,
Create, Patch entry point of pod_manager, also show a mockup json
example of pod_manager resources for implementation reference.
Change-Id: I25c983bdcb379583587db7a8b2b6272ef1b05b95
This commit updates the UI to get systems info from the
valence /v1/systems endpoint, and includes a few minor
updates to the redfish controller including the addition
of returning a system's health.
Change-Id: I141220768033df4f8a7d3440b8c743e8a8c002f6
Partial-bug: #1642026
When you do GET /v1
it returns the list of supported APIs with their links.
ie.
"flavors" : [
{
"href" : "http://127.0.0.1:8181/v1/flavors/",
"rel" : "self"
},
{
"rel" : "bookmark",
"href" : "http://127.0.0.1:8181/flavors/"
}
but actually,
flavor apis are implemented at /flavor than /flavors.
Now /flavor has been renamed to /flavors.
This closes bug #1642801
Change-Id: I28297234561b06c22b6b083452368e3ba5c74e98
Add pooled resources, compute system , composed node and flavor API.
Remove extra space with end of line and fix literal block warning.
Change-Id: Ib7f00617e48e7ecc6fe30091d79ef6b47ae4c5af