Fix Time Sensitive Networking doc
- Correct indentation of nova-tsn-pt.yaml file - Add # to the comment of `openstack flavor` command - Add parameter `--reuse-values` to `helm-override-update` command - Add command to check the correct `product_id` - Minor typos Closes-bug: 1950406 Signed-off-by: Hugo Brito <hugo.brito@windriver.com> Change-Id: Ic442cf49f9415f8aa3e413f6ef3d730153225b59
This commit is contained in:
parent
d7ce28f816
commit
7e85dbdc4b
@ -140,23 +140,29 @@ Edge cloud platform
|
||||
openstack image create --container-format bare --disk-format qcow2 --file
|
||||
tsn_ubuntu_19_04.img --public tsn-ubuntu-19-04
|
||||
# add pci-passthrough property to flavor (for example m1.medium), "h210-1" is the
|
||||
alias name of the PCI device configured in nova.config
|
||||
# alias name of the PCI device configured in nova.config
|
||||
openstack flavor set m1.medium --property pci_passthrough:alias=h210-1:1
|
||||
|
||||
#. Configure OpenStack Nova to allow for PCI passthrough. Create the
|
||||
``nova-tsn-pt.yaml`` file to allow PCI passthrough for the i210 adapter (for
|
||||
example device id: 8086:1533).
|
||||
#. Configure OpenStack Nova to allow for PCI passthrough.
|
||||
|
||||
Check the correct ``product_id`` of your device with the command:
|
||||
|
||||
.. code:: sh
|
||||
|
||||
lspci -nn
|
||||
|
||||
Create the ``nova-tsn-pt.yaml`` file to allow PCI passthrough for the i210
|
||||
adapter (for example device id: 8086:1533):
|
||||
|
||||
.. code:: yaml
|
||||
|
||||
conf:
|
||||
nova:
|
||||
pci:
|
||||
alias:
|
||||
type: multistring
|
||||
values:
|
||||
- '{"vendor_id": "8086", "product_id": "1533","device_type":
|
||||
"type-PCI","name": "h210-1"}'
|
||||
- '{"vendor_id": "8086", "product_id": "1533", "device_type": "type-PCI", "name": "h210-1"}'
|
||||
passthrough_whitelist:
|
||||
type: multistring
|
||||
values:
|
||||
@ -195,16 +201,14 @@ Edge cloud platform
|
||||
.. parsed-literal::
|
||||
|
||||
# set pci-passthrough config
|
||||
system helm-override-update |prefix|-openstack nova openstack --values
|
||||
nova-tsn-pt.yaml
|
||||
system helm-override-update |prefix|-openstack nova openstack --values ./nova-tsn-pt.yaml --reuse-values
|
||||
system application-apply |prefix|-openstack
|
||||
|
||||
#. Create VM instance.
|
||||
|
||||
.. code:: sh
|
||||
|
||||
openstack server create --image tsn-ubuntu-19-04 --network ${network_uuid}
|
||||
--flavor m1.medium tsn
|
||||
openstack server create --image tsn-ubuntu-19-04 --network ${network_uuid} --flavor m1.medium tsn
|
||||
|
||||
#. Install the TSN reference application and other test applications. Follow the
|
||||
instructions in `TSN Reference Software for Linux`_ to compile and install
|
||||
@ -324,7 +328,7 @@ Enable CBS with the commands:
|
||||
locredit -97 \
|
||||
offload 1
|
||||
|
||||
Enable LaunchTime with the commands:
|
||||
Enable LaunchTime with the command:
|
||||
|
||||
.. code:: sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user