Commit Graph

309 Commits

Author SHA1 Message Date
OpenDev Sysadmins 3c083ccc88 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:08 +00:00
Zuul 369a31cc6f Merge "Change openstack-dev to openstack-discuss" 2019-01-31 09:57:59 +00:00
akhiljain23 d876f8ae8a Unblock gate
Commented test_get_members() temporarily to unblock gate.

Change-Id: I42ebdfa8204444dbbb0bce64ddf476a5139587e8
2019-01-31 09:00:27 +00:00
huang.zhiping bb5fb6a922 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I3ca9e7ceb8bf04294ce89a9ed180beba775127aa
2018-12-04 12:26:31 +00:00
98k a79dc59226 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I2a44bccab3cb130521de096b0d3f85d1bc84f2c1
2018-11-09 03:07:40 +00:00
qingszhao 3269097dcd Removed older version of python added 3.5
In setup.cfg file the python 3.5 is added

Change-Id: I5c05c5c899055e32b9b01fd8858574120f4b206b
2018-09-30 09:39:44 +08:00
huang.zhiping de7111f874 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I5d41e544683f08884315c8e2a882d15e5c24eea1
2018-06-10 00:34:44 +08:00
akhiljain23 4aca68f37c Refactoring readme doc
This commit separates valence feature highlights from project overview
doc.

Change-Id: I88fc95e444f27561842193c71707a0d868a2d3a8
2018-04-27 15:25:36 +05:30
akhiljain23 0d47b9d14e Adding Valence-0.9 relasenotes doc
This commit adds valence-0.9 relasenote which contain following
features:
>> Support for multi-vendors in Valence
>> Device Orchestration
>> ExpEther driver

Change-Id: I13c9b9e7113f432b453cb107b74928933751a9fe
2018-04-26 12:44:07 +00:00
akhiljain23 cf99ff0165 Updating docs
>> 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
2018-04-24 19:18:35 +05:30
Zuul 47777b216a Merge "Add async executor" 2018-04-04 16:28:32 +00:00
Zuul 57815490b6 Merge "Add ExpEther Driver in Valence" 2018-04-04 16:18:03 +00:00
Zuul d21701e175 Merge "Modify Ironic driver to support multi-podm arch" 2018-04-04 16:13:50 +00:00
Zuul 32541e43a7 Merge "Replace LOG.warn with LOG.warning" 2018-04-03 23:48:19 +00:00
akhiljain23 a5cc27bf41 Add ExpEther Driver in Valence
This commit adds ExpEther driver support inside valence to be able
to manage NEC's ExpEther hardware.
This would fit into valence support of multi-podm architecture.

Change-Id: Ie8eb4d50e88d52aefc3732fd07cd8ed1ad5aee6f
Implements: blueprint add-expether-driver
2018-03-28 03:54:34 +00:00
Anusha Ramineni ecd965149b Modify Ironic driver to support multi-podm arch
This commit adds support for Ironic driver to work in
multi-podm architecture

Change-Id: I09e2be5eb3a2651d6f960ac5610fca89335e5b5b
2018-03-27 10:11:53 +05:30
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
akhiljain23 0104b783ba Add device orchestration framework in valence
This commit adds following functionalities:
- While creating podmanager all associated pooled resources
  will be synced.
- It provides user with following APIs:
  - List devices: v1/devices
  - Show device: v1/devices/<resourse_id>
  - Sync devices: v1/devices/sync

Change-Id: I5db45f5a7b4ffeec4b81758d8f719eaa4b5c9767
Partially-Implements: blueprint add-device-orchestration
2018-03-13 10:14:02 +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
Zuul bd831236ac Merge "Removes unnecessary utf-8 encoding" 2017-12-06 09:16:57 +00:00
rajat29 9842a80a31 Replace LOG.warn with LOG.warning
logging.warn is deprecated in Python 3 [1].

[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: If6bde5ef67327ba52a4590697d34b4cecb6898db
2017-11-10 12:19:47 +05:30
Jenkins 7b1b261a18 Merge "Update podmanager controller to use generic interface" 2017-09-22 00:50:53 +00:00
Jenkins 64b62755fc Merge "Add new 'device' DB table to valence" 2017-09-21 18:07:42 +00:00
Jenkins c4d180bca0 Merge "Support filter while listing composed nodes" 2017-09-21 18:07:34 +00:00
Jenkins dbc1487a8e Merge "Update os-api-ref>=1.4.0" 2017-09-21 08:38:04 +00:00
Jenkins 7974b59ea6 Merge "Fix a typo" 2017-09-21 08:37:11 +00:00
Jenkins 9f166eb616 Merge "Update and replace http with https for doc links" 2017-09-21 07:02:06 +00:00
Anusha Ramineni eba2f62d6d Add new 'device' DB table to valence
This commit adds new model 'Device' to store the pooled resources
info in the DB.

Partially-Implements: blueprint add-device-orchestration

Change-Id: Ic93caaede23b3924d5897b2cb4583e27a1072938
2017-09-20 10:14:33 +05:30
Anusha Ramineni 64e5b7186e Update podmanager controller to use generic interface
This commit the podmanager controller to use generic manager
interface for podmanager creation.

Partially-Implements blueprint add-vendor-extensible-framework
Change-Id: Idee81da68f377eb487b67b0a512450f7bd6f6b62
2017-09-20 03:54:38 +00:00
chenghuiyu 4a3e007108 Update os-api-ref>=1.4.0
Change-Id: I6631eff6e45bfac67aeb00c09957ba7b2b3d4c41
2017-09-19 15:54:59 +08:00
shangxiaobj 29af091cc2 Fix a typo
Fix a typo in valence.

Change-Id: I8103aedae15a62716f3f2edf3e4d33d02d694672
2017-09-15 00:12:00 -07:00
shangxiaobj a959a0d951 Update and replace http with https for doc links
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I61252f53d3bb59d7357ef9a5898046e06fff553a
2017-09-15 00:07:23 -07:00
Anusha Ramineni 2867117b27 Support filter while listing composed nodes
This commit adds support to filter the list based on filter params
specified

Change-Id: I22f47e0c095ffd4e0eb1973dc5230afe38c56fdd
Closes-Bug:#1714903
2017-09-15 11:07:52 +05:30
Anusha Ramineni d0a5d9ad7e Update Rack and Systems controller to be generic
This commit updates the rack and systems to use controller interface
Partially-Implements blueprint add-vendor-extensible-framework

Change-Id: I8a33b0b924e1a688ab75cccc8bc7ca6185515d43
2017-09-12 09:46:14 +00:00
Anusha Ramineni 1afb9f0cbf Update Node controller to make it generic
This commit updates node controller code to use generic manager
interface instead of redfish directly

Partially-Implements blueprint add-vendor-extensible-framework
Change-Id: Ic551167798306a1ed6b5c609117e6d19e6de6574
2017-09-08 16:39:04 +05:30
Anusha Ramineni 570086d34a Add manager.py to redirect to respective podmanager
This commit is add new module manager.py to redirect the controller
requests to respective podmanager based on 'driver' field.

This commit takes reference of multi-podm patch proposed here:
https://review.openstack.org/#/c/445360/10 and extends the same.

Partially-Implements blueprint add-vendor-extensible-framework

Change-Id: I92efd4c18c75613a6365c750b09390cbe1fedc2e
2017-09-06 11:47:20 +05:30
Anusha Ramineni 78de3b7ba7 cleanup db model 'links' fields
This patch replaces the 'redfish_link' field to resource_uri to store
the relative uri of the node or podmanger.

Change-Id: Ib586e69a04ab2f8c1ea4ae17df958479a7921896
2017-09-04 11:28:40 +05:30
Arundhati Surpur 0960e6db6d Removes unnecessary utf-8 encoding
This patches removes unnecessary utf-8
encoding in doc/source/conf.py

Change-Id: I813c5013c5371e0d50918e6e7639a956db78f31d
2017-08-22 14:26:17 +05:30
akhiljain23 eeadbaeb33 Using make_response in systems api
Required to print response from systems api in organized manner

Change-Id: Ie31c363f6e657fad828248307cf0bde32ce97f47
2017-08-10 11:43:32 +05:30
Jenkins dcc06f6cdc Merge "Add 'driver' to podmanager DB" 2017-08-09 00:37:52 +00:00
Jenkins 9f063dab02 Merge "Add log options to [DEFAULT] group in conf" 2017-08-09 00:37:27 +00:00
Jenkins 24fa542a04 Merge "Refactor exception module" 2017-08-09 00:25:11 +00:00
Jenkins 1d9b43513a Merge "Add podm_id field to node database" 2017-08-08 16:40:02 +00:00
Jenkins 0aaea7a22c Merge "Update schema to accept attach/detach as valid actions" 2017-08-08 16:22:14 +00:00
Anusha Ramineni 5135b2b4f8 Add log options to [DEFAULT] group in conf
This commit adds valence level log opts to [DEFAULT] group instead
of api group as the log file corresponds not only to api logging, but
valence wide logging. And also, enables the gunicorn api server logging
seperately

Change-Id: I9224bded68dc958ff9058635e05f7f4dea504919
2017-08-08 16:04:53 +05:30
Anusha Ramineni 14b392fa76 Refactor exception module
This commit refactors exception module a bit and raises valence
specific exceptions in code. And also, updates the str(e) to return
exception string, currently it returns empty string

Change-Id: I37cf793e6210db53d046acfebd6f0b126b7b8ae1
Closes-Bug:#1708993
2017-08-07 11:09:56 +05:30
Anusha Ramineni a22bd31b96 Update schema to accept attach/detach as valid actions
This commit updates the validation schema to accept attach/detach
as valid node actions

Partially-Implements blueprint add-device-orchestration

Change-Id: Ia16bd2f19601e3dcbfb2c19ef7537e230812ffe3
2017-08-03 15:06:36 +05:30
Anusha Ramineni 08ae9742d3 Add 'driver' to podmanager DB
With multi-podmanager support, new attribute 'driver' is added to specify
driver while creating pod manager. It is not a required attribute,
if not specified default podmanager driver redfishv1 will be used. Currently,
it loads PodManagerBase using redfish v1.

Partially-Implements blueprint add-vendor-extensible-framework

Change-Id: I26d60562efa776ef96597b095d45b1506714e96e
2017-08-01 10:11:17 +05:30
Jenkins b84053f84f Merge "Update the documentation link for doc migration" 2017-07-28 06:49:33 +00:00
Jenkins 9399b36829 Merge "Clean valence.conf.sample generated by install_valence.sh" 2017-07-27 04:27:13 +00:00