[libvirt] [ 2/3] allow to specify peer to ip element in domain network
Daniel P. Berrange
berrange at redhat.com
Wed Mar 23 12:03:49 UTC 2016
On Fri, Mar 18, 2016 at 10:19:42PM +0000, Vasiliy Tolstov wrote:
> this allows user to specify destination address for ip like tunnel
>
> Signed-off-by: Vasiliy Tolstov <v.tolstov at selfip.ru>
> ---
> docs/schemas/interface.rng | 6 ++++++
> 1 file changed, 6 insertions(+)
The RNG schema changes are usually associated with the parser changes.
IOW, this patch should contain these changes
src/conf/domain_conf.c | 14 ++++++++++++-
src/conf/domain_conf.h | 1 +
src/conf/network_conf.c | 26 +++++++++++++++++++++++-
src/conf/network_conf.h | 1 +
from your 3rd patch. The 3rd patch should just contain the code for
doing the host OS setup / integration.
> diff --git a/docs/schemas/interface.rng b/docs/schemas/interface.rng
> index 052703ce84aa..b81c38b9d07c 100644
> --- a/docs/schemas/interface.rng
> +++ b/docs/schemas/interface.rng
> @@ -332,6 +332,9 @@
> <optional>
> <attribute name="prefix"><ref name="ipv4Prefix"/></attribute>
> </optional>
> + <optional>
> + <attribute name="peer"><ref name="ipv4Addr"/></attribute>
> + </optional>
> </element>
> </zeroOrMore>
> <optional>
> @@ -361,6 +364,9 @@
> <optional>
> <attribute name="prefix"><ref name="ipv6Prefix"/></attribute>
> </optional>
> + <optional>
> + <attribute name="peer"><ref name="ipv6Addr"/></attribute>
> + </optional>
> </element>
> </zeroOrMore>
> <optional>
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list