The code originally (since 76ddf2d2e350c3a879819) formatted 'vport_ops'. Later commit cc17f09246212ef added 'vports_ops' into the schema. Fix it and the corresponding docs. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2121262 Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- docs/formatnode.rst | 2 +- src/conf/schemas/nodedev.rng | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/formatnode.rst b/docs/formatnode.rst index 5903cac7fe..61c2a0965f 100644 --- a/docs/formatnode.rst +++ b/docs/formatnode.rst @@ -250,7 +250,7 @@ Describes a SCSI host device. Sub-elements include: scsi_host adapter in a `Storage Pool <formatstorage.html>`__. :since:`Since 1.2.7` ``capability`` - Current capabilities include "vports_ops" (indicates vport operations + Current capabilities include "vport_ops" (indicates vport operations are supported) and "fc_host". "vport_ops" could contain two optional sub-elements: ``vports``, and ``max_vports``. ``vports`` shows the number of vport in use. ``max_vports`` shows the maximum vports the HBA diff --git a/src/conf/schemas/nodedev.rng b/src/conf/schemas/nodedev.rng index e40243e257..6299c52671 100644 --- a/src/conf/schemas/nodedev.rng +++ b/src/conf/schemas/nodedev.rng @@ -416,7 +416,7 @@ <define name="capsvports"> <attribute name="type"> - <value>vports_ops</value> + <value>vport_ops</value> </attribute> <element name="max_vports"> <ref name="unsignedInt"/> -- 2.37.1