mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
macvtap support for libvirt -- schema extensions
* docs/schemas/domain.rng: extends the domain xml schema to support the new interface type 'direct'
This commit is contained in:
parent
a1b1ab1478
commit
c841a1fa7f
@ -669,6 +669,25 @@
|
|||||||
<ref name="interface-options"/>
|
<ref name="interface-options"/>
|
||||||
</interleave>
|
</interleave>
|
||||||
</group>
|
</group>
|
||||||
|
<group>
|
||||||
|
<attribute name="type">
|
||||||
|
<value>direct</value>
|
||||||
|
</attribute>
|
||||||
|
<interleave>
|
||||||
|
<element name="source">
|
||||||
|
<attribute name="dev">
|
||||||
|
<ref name="deviceName"/>
|
||||||
|
</attribute>
|
||||||
|
<optional>
|
||||||
|
<attribute name="mode">
|
||||||
|
<ref name="bridgeMode"/>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
<empty/>
|
||||||
|
</element>
|
||||||
|
<ref name="interface-options"/>
|
||||||
|
</interleave>
|
||||||
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<attribute name="type">
|
<attribute name="type">
|
||||||
<value>user</value>
|
<value>user</value>
|
||||||
@ -1483,6 +1502,11 @@
|
|||||||
<param name="pattern">[a-zA-Z0-9_\.\-:/]+</param>
|
<param name="pattern">[a-zA-Z0-9_\.\-:/]+</param>
|
||||||
</data>
|
</data>
|
||||||
</define>
|
</define>
|
||||||
|
<define name="bridgeMode">
|
||||||
|
<data type="string">
|
||||||
|
<param name="pattern">(vepa|bridge|private)</param>
|
||||||
|
</data>
|
||||||
|
</define>
|
||||||
<define name="addrMAC">
|
<define name="addrMAC">
|
||||||
<data type="string">
|
<data type="string">
|
||||||
<param name="pattern">([a-fA-F0-9]{2}:){5}[a-fA-F0-9]{2}</param>
|
<param name="pattern">([a-fA-F0-9]{2}:){5}[a-fA-F0-9]{2}</param>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user