12 Commits

Author SHA1 Message Date
Anusha Ramineni
542f3ced2f Add Validation for Node Manage/Action API's
Partially-Implements blueprint validation
Change-Id: If10e37e0036c88a4bd0b183793e4344d8c257b67
2017-05-18 11:23:14 +05:30
Jenkins
3a1b4e6d7b Merge "Implement Node Manage" 2017-04-19 20:41:07 +00:00
Nate Potter
5ce2d68ed7 Implement Node Manage
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
2017-04-06 11:10:09 -07:00
Lin Yang
cf73b435e6 Add HTTP request example for node composition via flavor
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
2017-03-28 18:20:28 -07:00
Jenkins
0db8a8e186 Merge "Allow for composition via flavor" 2017-03-25 00:42:36 +00:00
Nate Potter
9e0627f2e0 Allow for composition via flavor
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
2017-03-17 16:17:22 +00:00
Jenkins
d400a8fcd8 Merge "Support set boot source of composed node" 2017-03-13 14:54:54 +00:00
Jenkins
c22c1a2f34 Merge "This patch to update api-ref doc to include multi podm info." 2017-03-09 19:43:17 +00:00
Lin Yang
be919e10a5 Support set boot source of composed node
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
2017-02-14 10:13:47 -08:00
Andy Yan
cd503ba499 Fix typo in Valence
Fix typo in Valence

Change-Id: Ib0666ad381d2332aa7e0f1a7e9d3dca0e6207a5c
Signed-off-by: Andy Yan <yanchao3@lenovo.com>
2017-01-22 10:54:54 +08:00
chesterkuo
9543933329 This patch to update api-ref doc to include multi podm info.
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
2017-01-19 06:55:27 +00:00
chesterkuo
b121cd520b Aapi-ref doc, this is converted from Word file to RST format.
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
2016-10-27 10:44:04 -04:00