docs: fix bad cut/paste in <teaming> example

When the parser and docs were enhanced to support a <teaming> element
in a generic <hostdev>, the example XML for formatdomain.rst was
cut/pasted from the example for <interface type='hostdev'>. In my
haste I neglected to remove the <mac address='blah'/> element (which
is unused/ignored for generic <hostdev> and change the closing tag
from </interface> to </hostdev>

https://bugzilla.redhat.com/1927984

Fixes: db64acfbda
Reported-by: Yalan Zhang <yalzhang@redhat.com>
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Laine Stump 2021-02-23 17:30:51 -05:00
parent 98e67d4d8c
commit a0cef16787

View File

@ -4884,9 +4884,8 @@ plain ``<hostdev>`` device.
<source>
<address domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</source>
<mac address='00:11:22:33:44:55:66'/>
<teaming type='transient' persistent='ua-backup0'/>
</interface>
</hostdev>
...
This device must be a network device, but not necessarily an SRIOV