From 4328018bd0cdb704cdcdbf98c710a8814d0831d9 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 25 Aug 2022 10:34:58 +0200 Subject: [PATCH] schema: nodedev: Fix schema attribute value for the 'vport_ops' capability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The code (since 448be8f706693327d77) useds 'vport_ops' in XML. Later commit cc17f09246212ef added schema for 'vports_ops' (extra 's'). Fix the schema and the corresponding docs. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2121262 Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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 `__. :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 @@ - vports_ops + vport_ops