From b193325eecc183eff3d74db2f9c68997c73160e9 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: 2025年3月16日 22:33:05 +0900 Subject: [PATCH] Fix description of [pci] alias The description mentions duplicated keys or mutually exclusive keys but these do not actually exist. Especially duplicated keys are not actually allowed by json. Also fix the invalid example value by adding the missing quotes. Change-Id: Ia9bfcf40a761a856dcdaec4aebf6463831810e18 --- nova/conf/pci.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nova/conf/pci.py b/nova/conf/pci.py index ed9e7d4eb000..6ed7a6aa3105 100644 --- a/nova/conf/pci.py +++ b/nova/conf/pci.py @@ -50,8 +50,7 @@ Possible Values: ["live_migratable": ""], } - Where ``[`` indicates zero or one occurrences, ``{`` indicates zero or - multiple occurrences, and ``|`` mutually exclusive options. + Note that ``[...]`` indicates optional field. For example:: @@ -70,7 +69,7 @@ Possible Values: alias = { "name": "A16_16A", "device_type": "type-VF", - resource_class: "CUSTOM_A16_16A", + "resource_class": "CUSTOM_A16_16A", } Valid key values are :

AltStyle によって変換されたページ (->オリジナル) /