Commit Graph

138 Commits

Author SHA1 Message Date
songwenping 25e948b2bd Add OFTC channel link
Change-Id: I33b6a0ed2e5580504b47b7cca0756b3b6546f38b
2023-08-08 18:53:19 +08:00
Zuul 57fa0d442d Merge "Remove redundant "-" to imporve doc format" 2023-08-03 03:18:35 +00:00
leiyuehui 6f0d29c51f Remove redundant "-" to imporve doc format
Change-Id: I753a6b9cfbe440039fa79235d1b38b571867e18f
2023-08-02 18:22:11 +08:00
leiyuehui 35cc7fd678 Remove redundant "=" to imporve doc format
Change-Id: I4e343c4dcc69e178153a3d71b79b409e3fbdd889
2023-08-02 18:17:47 +08:00
songwenping c71213ce86 Add attribute create request
Change-Id: Ic28d1cf6ace8dfd1676faf34bf52fe10cccacbf1
2023-03-20 14:49:50 +08:00
songwenping 3e8114d353 Add attributes create response
Change-Id: Ia8b0e8f30a01a0d54842ef04513087f26760479e
2023-03-19 15:51:09 +08:00
songwenping 585f378c7a Add attributes get one response
Change-Id: I4eb71e93aee1d5698b9cfd211ab0270f3b531c75
2023-03-19 15:48:05 +08:00
songwenping 81bed58e2e Add attributes list response
Change-Id: I3f0723d43ba0c81f3f249d480fc692fcd0412bbc
2023-03-19 15:45:51 +08:00
songwenping 373afa3469 Add project id sample in the request body
Closes-Bug:#1927056
Change-Id: I2d8342886ffb497a51919309c026c91de2fd262c
2022-09-27 07:40:39 +00:00
songwenping 9bbe9d2733 fix doc comment
Change-Id: Ia55824b7f7018e0221a67080d2cbc4a6a5d42a08
2022-09-06 11:05:21 +08:00
songwenping f05e6e7e1d Add Xilinx FPGA driver in doc
Change-Id: Id3efacd6c8a151965a6375ba7b55d725849c0dd5
2022-09-06 09:47:38 +08:00
dengzhaosen b83a97038e Update contributor page
This patch added the necessary notes about contributing in Cyborg.

Change-Id: Ie8b9b6d68b978302c2647a09746d9916965a194e
2021-12-16 09:01:04 +08:00
Zuul 1b0b420e8d Merge "Add install index page" 2021-12-15 02:00:24 +00:00
zhangbailin 2b24d6744b Add install index page
Change-Id: I4ba71572181238037fb6477f1b3fb3ac4ffed6ff
2021-12-15 00:44:47 +00:00
Zuul 2a4a9f6118 Merge "Get device profile by name" 2021-11-22 07:36:45 +00:00
ericxiett cde7b78e22 Get device profile by name
Nowadays showing device_profile is supported only by uuid,
this patch supports to getting device profile by name.

Implements: blueprint show-device-profile-with-name
Change-Id: Ib9aff3312676923fc7478f2bcef79333e10496bf
2021-11-16 10:57:19 +00:00
Zuul ad8e4522f0 Merge "Bump WSME and sphinxcontrib-pecanwsme version" 2021-11-12 08:54:02 +00:00
Zuul 2490e5b78f Merge "Doc Improvment:Add doc about cyborg-nova interaction" 2021-10-28 09:10:09 +00:00
Arthur Dayne ade1972fc3 Doc Improvment:Add doc about cyborg-nova interaction
Change-Id: I850a7e29880a9744b18523281756bab2de1d5492
Closes-Bug: #1930404
2021-10-26 16:22:21 +08:00
zhangbailin 52563192d9 overriding configured project name with name extracted from the package (openstack-cyborg)
[openstackdocstheme] overriding configured project name (Python)
with name extracted from the package (openstack-cyborg); you can
disable this behavior with the 'openstackdocs_auto_name' option

Closes-Bug: #1946191

Change-Id: I5a4a8d7bfeb4b8f2c4c42ba685acd54a0b5d0689
2021-10-06 15:49:02 +08:00
zhangbailin ce3d2cf312 Add the microversion history docs
We have added the microversion support, but lost the microversion
histroy docs, This patch provides the history of all those changes.
Consider it a "what's new" in the Cyborg API.

Change-Id: I885c456594184d949c929e1e87716e8a43f98818
2021-08-15 14:35:51 +08:00
songwenping 708fb15504 docs: Update Freenode to OFTC
http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022780.html

Change-Id: I13e74ef3c66d71380e6fa0d0e773afcda359b0fc
2021-06-03 07:26:13 +00:00
Zuul 3476c144fd Merge "Give a more precise definition and fix a sphinx syntax error." 2021-05-25 10:26:29 +00:00
zhangbailin 6d3ebe4ec1 Bump WSME and sphinxcontrib-pecanwsme version
While pep8 failed in [1], it was required wsme===0.10.1, and in
requirements it has bumped WSME===0.10.1 and
sphinxcontrib-pecanwsme===0.10.0 in [2].

[1] https://review.opendev.org/c/openstack/cyborg/+/790328
[2] https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L327
    https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L415

Closes-Bug: #1929535

Change-Id: I74edc9f886635b6af532271c4f6169dc66970034
2021-05-25 18:09:11 +08:00
Arthur Dayne a277abad84 Give a more detailed picture about the cyborg architecture.
Change-Id: I2b48e717ebb076eec4c57b629b8e4ac5b995cc9c
2021-05-14 16:53:39 +08:00
Arthur Dayne fa09ba8076 Give a more precise definition and fix a sphinx syntax error.
Change-Id: I776b2e27259dc8de4c4a903e47f7141b67b1fcf5
2021-05-08 17:03:48 +08:00
Zuul b1604cc078 Merge "Remove personal name in the docs" 2021-04-09 08:12:11 +00:00
zhangbailin a8979b2634 Remove personal name in the docs
Closes-Bug: #1923009

Change-Id: I47ece21ca2c365b2bf9aedc1d5a2592d6c772b4d
2021-04-08 15:16:44 +08:00
Zuul 9fc6a30ea6 Merge "Switch using Launchpad instead of Storyboard" 2021-04-08 07:11:51 +00:00
zhangbailin d9233bc429 Switch using Launchpad instead of Storyboard
In Xena release, we will using launchpad to trace Cyborg feature and
bugs, this patch changes the docs and releasenote config to launchpad.

Xena-PTG Etherpad: https://etherpad.opendev.org/p/cyborg-xena-ptg

Change-Id: I29c134420d341977a68ab11ba7dcb425caea44ff
2021-04-08 02:35:09 +00:00
songwenping 0e1bb834e7 Add backup and snapshot support matrix
Change-Id: I9eb0c097db8ded829d282256db4a8bdb971306f7
2021-04-07 03:01:00 +00:00
Zuul d667954344 Merge "Add NVMe SSD driver" 2021-03-02 11:22:52 +00:00
zhangbailin 19b7d147ea Add NVMe SSD driver
This patch implemented NVMe SSD driver in Cyborg.
The Inspur NVMe SSD driver provides the discover and report proposal of
Inspur NVMe SSD disks, then we can use these disks binding and unbinding
with VM like PGPU to accelerator the io rate for the VM. The Inspur NVMe
SSD doesnot support virtualization, one disk can be only bind to one VM.

The spec is already commit. Please see:
https://specs.openstack.org/openstack/cyborg-specs/specs/wallaby/approved/nvme-ssd-driver-proposal.html

Please check the test report in the following link:
https://wiki.openstack.org/wiki/Cyborg/TestReport/InspurNVMeSSD

Co-Authored-By: Wenping Song <songwenping@inspur.com>

Change-Id: Ic474814b780e9beca6f19df50c9ce4c5553850a1
2021-03-02 08:36:40 +08:00
zhangbailin 7b1b9fb020 Update server operations support in matrix
We have already supported rebuild/evacuate[1] and shelve/unshelve[2]
a server with binding an accelerator. The evacuate and rebuild a server
has the same openstack command, so we just need to use ``openstack
server rebuild``.

[1]https://review.opendev.org/c/openstack/nova/+/715326
[2]https://review.opendev.org/c/openstack/nova/+/729563

Change-Id: Ida8f8d519792fe5e2748a67be5c502415dd4fe41
2021-03-01 16:34:25 +08:00
Zuul 1ff373e4f9 Merge "Add newline to enable lists" 2021-02-24 09:39:38 +00:00
Zuul 82d1ed968b Merge "Add intel NIC driver" 2021-02-07 08:45:36 +00:00
Xinran Wang e3caf5cb0a Add intel NIC driver
This patch implements a new driver for Intel Nic Card. It
can discover the device and report it to Placement service with
CUSTOM_NIC resource class and specific traits.

Operator should specify the device and correspond profile in a
config file so that nic's driver can read the info from this
file.

Please check the test report in the following link:
https://wiki.openstack.org/wiki/Cyborg/TestReport/IntelNic

Change-Id: Ida0ba8f24b9e226da7f3d7a85fc372247e5281a5
Implements: blueprint sriov-smartnic-support
2021-02-04 08:40:23 +00:00
ericxiett 3d53b7a4dc Add newline to enable lists
This patch adds one newline for the lists of 'Accelerators'.

Change-Id: I2daf1c61f3c95dc5176bcc36be9f07949d55a933
2021-01-23 06:43:21 +00:00
Rocky 683c26e1f7 Installation document improvement
1) v2 api is used since v1 is deprecated and removed
2) host_ip configures the ip address on which cyborg-api listens, and
its default value(localhost) does not work in real cases
3) [nova] section config in cyborg.conf is also required

Change-Id: I4776147cdb6274fe269e1f1017ff9aad47bd63cc
2021-01-08 17:45:43 +11:00
yangyawei 39d51a0a86 remove unicode from code
Change-Id: I5407d29ba5dcc8647426091b0df51840c3272ba9
2021-01-03 15:50:56 +08:00
songwenping 583cc4583a Refresh cyborg-api link
Change-Id: I140480d8f67147f25217593d335db470aea9ca6b
2020-12-25 09:48:58 +08:00
Zuul 54f1ac9765 Merge "Add microversion instructions" 2020-11-29 11:35:36 +00:00
Zuul 07af46acaa Merge "Add index page for contributors guide" 2020-11-29 11:07:13 +00:00
Zuul 9fa4e71c1f Merge "improve pep8 check logic" 2020-11-19 10:57:07 +00:00
zhangbailin eabd6e1f79 Add microversion instructions
In Ussuri we introducing the microversion, and improved it in Victoria
release, now we should add the guide for using microversion.

Reference:
https://specs.openstack.org/openstack/api-wg/guidelines/microversion_specification.html

Co-Authored-By: Wenping Song <songwenping@inspur.com>

Change-Id: Ia3d3175ca22b8c19c85f361989d759e47e5da759
2020-11-16 07:28:58 +00:00
zhangbailin 0da7417ccc Add index page for contributors guide
Add "releasenotes", "devstack_setup" and "driver-development-guide" to
the index page, and add a releasenote guide for users.

Change-Id: Ib9b36d015bac074fe65205c6ca14706e36e20195
2020-10-27 00:43:41 +00:00
zhangbailin bb4fd104a3 improve pep8 check logic
Introduce the json file check, cherry-pick patches check, and use flake8
shell instead of flake8 command.

Change-Id: I94e1554028535a361cb9f9e6e73c15702e459e4f
2020-10-09 05:55:58 +00:00
Yumeng Bao 68c1f067bf add document for cyborg new policy
This patch added the document for new policy of cyborg inculding:
* cyborg policy concepts
* configuration guide
* all policies in code

Change-Id: I79472317c5c1b4aa2660e1c2d5cc61737299975a
Story: 2007024
Task: 40934
2020-09-27 14:16:37 +08:00
Yumeng Bao 99fd79e5a0 fix cyborg uwsgi doc error
Change-Id: I99c1912d31828f1b5538e316c66a0dc9b15ab369
2020-09-22 08:40:52 +00:00
Ghanshyam Mann af49d0b30a Change default policy file from JSON to YAML
As Cyborg is switching to new policy, this is required
to avoid breaking the existing deployment using policy
file in json format and relying on default value of
'CONF.oslo_policy.policy_file'.

Default value of 'CONF.oslo_policy.policy_file' config option
has been changed from 'policy.json' to 'policy.yaml'. If new default
file 'policy.yaml' does not exist but old default 'policy.json' exist
then fallback to use old default file.

An upgrade checks is added to check the policy_file format and
fail upgrade checks if it is JSON formatted.

Added a warning in policy doc about JSON formatted file is deprecated,
also removed all the reference to policy.json file in doc as well as
in tests.

Related Blueprint: https://blueprints.launchpad.net/oslo.policy/+spec/policy-json-to-yaml

Change-Id: I865227e516dc7505c463ac279309169d95ea6a22
2020-09-18 14:16:31 +00:00