Bridge XML-API
by Jonas Eriksson
Hello
I am currently looking in to the use of netcf with libvirt and
have found a problem with the XML-API that i would like to have
some input on.
According to interface.rng, a <bridge>-element require one or
more <interface>-children. A scenario where one would like to
create empty bridges would for example be when connecting two
virtual machines, running in a hypervisor where a vif/tap-pair is
created dynamicaly at VM start and then added to the specified
bridge. It is not in all cases wanted that these VMs are
connected to any kind of outside world, and therefore require
another interface in the bridge.
Because of this, I argue that zeroOrMore is used instead of
oneOrMore for <interface>s inside a <bridge>-element.
Best regards,
Jonas Eriksson
--
Jonas Eriksson
Consultant at AS/EAB/FLJ/IL
Phone: +46 8 58086281
Combitech AB
Älvsjö, Sweden
14 years, 10 months