Commit Graph

17 Commits

Author SHA1 Message Date
songwenping f64d50e4dd Add nova and cyborg owner traits for resources
Resources such as vGPU can be managed either by nova
by cyborg. In order to distinguish the manage-owner, use owner (nova, cyborg)
trait in Placement when the inventory is reported.

When resource is requested, flavor based VGPU resource should be allocated
from the nova managed RP, while device profile based VGPU resource should be
allocated from the cyborg managed RP.

Change-Id: Ia50e9a1acdcfb821e2d40774c3dca191e172ca68
2022-04-27 20:20:36 +08:00
U-HOME\songwenping 87b1165aa3 Remove unnecessary unicode prefixes
All strings are unicode by default in Python 3. No need to mark them as
such.

Change-Id: Id937b87f7c7e2767ce5eb456db39d8ce81a1a69a
2022-04-19 14:32:05 +08:00
Andreas Jaeger e32a13f13c Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Id6a7a465630647382de63be64fc16f6e4f52912d
2020-06-01 15:28:05 +02:00
Andreas Jaeger 77bf79e2aa Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Switch to hacking 3.0

Change-Id: Id3a7e6b6a6160358efb897cbf73630d96672d4fb
2020-04-12 18:52:38 +02:00
Eric Fried 173298bf86 Stop testing with py2 and switch to ussuri jobs
Remove py2 from tox.ini, setup.cfg, and zuul.

Switch from train to ussuri zuul job template.

Change-Id: I70eeabe2237c3f13b7e7a27fb32c9d2cd1609333
2019-10-25 09:45:29 -05:00
jacky06 b7f385fe44 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest
3. Remove unncessary "=="

Change-Id: I1d57841c754169a3d770ab3d856a95874f68f4ba
2019-06-20 00:32:21 +08:00
OpenStack Release Bot e4d0e7e6b8 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Ifa02c4ccf551e3367359a9458613ae95a9aa2a18
Sem-Ver: feature
2019-03-18 14:42:35 +00:00
OpenStack Release Bot f4721e5c70 Update reno for stable/rocky
Change-Id: Icbf5acce0d7293d78234f4735bfd90c53912c3f4
2018-07-26 12:35:48 +00:00
OpenStack Release Bot 260b3e7d4b Update reno for stable/queens
Change-Id: I0d63f51157b585ad6ad9751fa679abfcd7922973
2018-01-24 18:02:38 +00:00
Jenkins 8453562e68 Merge "Update reno for stable/pike" 2017-09-21 16:30:05 +00:00
Jenkins 4e047e1674 Merge "Add a new parameter ``suffix`` to function ``get_traits``" 2017-09-04 14:25:28 +00:00
Stephen Finucane 21b879b755 doc: Remove cruft from conf.py
Clean up both the releasenotes 'conf.py' and some remaining pieces of
the main 'conf.py'. In the case of the former, it looks like this was
copied from Glance's config, and retains a lot of unnecessary config for
same. Remove it all.

Change-Id: Ibce322af4441fef7ba0b1abe1b51070d49ad1df5
2017-08-23 09:46:37 +01:00
Stephen Finucane 5c46158f38 doc: Switch from oslosphinx to openstackdocstheme
Change-Id: I471868446a4ac89a63cc75b0d83caae21bd90fb8
2017-08-23 09:46:35 +01:00
OpenStack Release Bot 8660300200 Update reno for stable/pike
Change-Id: I08d6336552989c2e0241554cb110705e925e87b8
2017-07-28 21:04:14 +00:00
Rodolfo Alonso Hernandez ce9bef1c5b Add a new parameter ``suffix`` to function ``get_traits``
Added a new optional parameter ``suffix`` to function ``get_traits``. This
new parameter allows filtering the list of traits returned by the ending
of the name.

Change-Id: Ifadb72a1b8b64971c0377eaef89522fe979c0c87
2017-07-20 16:31:51 +01:00
Yingxin d56ac9facb Rename the rest capabilities to traits 2016-09-20 05:40:55 +00:00
Jay Pipes 7d2a583f32 Initial commit of os-capabilities library
Adds the basics of the new os-capabilities library, including a README
and a couple helper functions that allow the user to list both symbol
names as well as the capability strings themselves.

Added x86 CPU instruction set extensions as an initial set of namespaced
standardized capability strings.
2016-08-03 19:25:39 -04:00