Commit Graph

13 Commits

Author SHA1 Message Date
Anusha Ramineni afcf213cb5 Add async executor
This commit adds the framework to support async execution
of functions. Will be used in syncing pooled resources
while podmanager creation.

Also, this adds periodic task support which is used to
periodically sync pooled resources after particular interval.

Partially-Implements blueprint add-device-orchestration
Change-Id: I48f2358e4a7662898796c82d6a47aa6d947495e5
2018-03-26 12:27:13 +05:30
Andreas Jaeger 4eee1a4271 Update requirements manually
The global requirments sync for this repo fails since it lists
packages that are not in the global list. Manually sync
requirements.

Failure log from requirements sync:
http://logs.openstack.org/d8/d89aad257d43fe02e42e44b2a0187dbd9f505c36/post/propose-update-requirements/15a7777/job-output.txt.gz#_2018-01-31_06_51_56_655451

Errors are:
'aniso8601' is not in global-requirements.txt or blacklist.txt
'click' is not in global-requirements.txt or blacklist.txt
'Flask-Cors' is not in global-requirements.txt or blacklist.txt
'itsdangerous' is not in global-requirements.txt or blacklist.txt
'MarkupSafe' is not in global-requirements.txt or blacklist.txt

Change-Id: I1cc19066f2127c37b7122e0068037d41f60fdaaf
2018-01-31 09:12:45 +01:00
hubian c1d0baa164 Import sushy lib and extend it as well as show its usage for mutli-podm
As we finialized that using sushy lib as our redfish driver for podm.
This patch imports sushy lib and show how to extend it as well as create
base_podm to build up the example of releations between podm and
sushy(redfish).

Change-Id: Icbd317f2a2dfe2d0daf22b79fdf4db7eadc368b1
2017-07-12 09:39:04 +08:00
Madhuri Kumari e2cfdbac2e Add node register API: /v1/nodes/{ID}/register
This API does following:

* Creates a node in Ironic of driver type `redfish`
  and details like the redfish URL, username, password,
  system URL of node.
* Creates a port for the above node in Ironic.
* Updates the field `managed_by` to `ironic` in Valence db.

Change-Id: Ia81a2eb6ecb2b48efc3a8c99183d12bbc1635702
2017-06-02 12:30:49 +05:30
Jenkins 04fc974ee3 Merge "Added support for oslo.config" 2017-04-04 04:33:40 +00:00
Jenkins 36aabb9011 Merge "Add API Validation framework for flavors" 2017-04-03 02:28:23 +00:00
Madhuri Kumari 4031a8b1de Added support for oslo.config
Currently there was no support for oslo.config in valence.
This patch does the following:
	* Add a config generator tool.
	* Added support to use oslo.config
	* Added oslo.i18n support needed for translation

Change-Id: I444b47a20a69c3e075ea36abf337f343b38549d0
Partially-Implements: blueprint director-plugin-cookiecutter
2017-03-31 05:21:15 +00:00
Anusha Ramineni 0fb61520fd Add API Validation framework for flavors
Partially-Implements blueprint validation
Change-Id: I9345b6b928353a4db936aeb1f06da9589e902f8c
2017-03-30 16:26:32 +05:30
huanghe333 71e8466bb1 Updated from global requirements
Change-Id: Ia6545ddd90369e04637e89e69194aca39845e5a6
2017-03-22 16:08:10 +08:00
hubian af61ee043a Insert DB:etcd for BP:multi-podmanager
This patch adds etcd DB for multi-podmanager as well as valence.

Change-Id: Ie1ef2554cc95a5f9f18341e768f27a02e192b588
Closes-Bug: #1646389
2016-12-19 09:12:55 -08:00
Lin Yang 48f4c30b21 Use gunicorn instead of werkzeug
Flask use werkzeug as default WSGI container, but it cannot support
production requirement and leads to crash in some cases. So use
gunicorn instead of it.

Change-Id: I2e542ab79c755c2407ae695a6de29c063233269b
Closes-Bug: #1641242
2016-11-11 21:40:51 -08:00
Seenivasan Gunabalan da241b473f Migrate to flask
This commit migrate the valence code to flask and aslo removed
rabbitmq.

Change-Id: I70234515960e7e2106c5208ced8defc760a4531e
2016-11-04 21:08:06 +05:30
Lin Yang 0ac90c5522 Initial import from external repository
External repo: https://github.com/mganguli/RSC
Commit: 49199a82045f1d6f231eb477de3dbcd59492e9d9

Change-Id: I9eaec387605a39ba5e4c571026cacb1845938231
2016-10-07 08:50:05 +08:00