]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: use 'bridge' as actual type instead of 'network'
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 3 Sep 2018 16:48:53 +0000 (17:48 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 18 Apr 2019 12:10:00 +0000 (13:10 +0100)
commit518026e15959ab0e19b659a9f2ff502a54946498
tree99572a5aa881924b1c9f8d8558ef371d75773bc2
parente2c5f0f6cf1cc00a522953f1e6aae672b2ba9f9c
network: use 'bridge' as actual type instead of 'network'

Ports allocated on virtual networks with type=nat|route|open all get
given an actual type of 'network'.

Only ports in networks with type=bridge use an actual type of 'bridge'.

This distinction makes little sense since the virtualization drivers
will treat both actual types in exactly the same way, as they're all
just bridge devices a VM needs to be connected to.

This doesn't affect user visible XML since the "actual" device XML
is internal only, but we need code to convert the data upgrades.

Reviewed-by: Laine Stump <laine@laine.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/domain_conf.c
src/network/bridge_driver.c
src/qemu/qemu_driver.c
tests/qemustatusxml2xmldata/disk-secinfo-upgrade-out.xml
tests/qemustatusxml2xmldata/migration-in-params-in.xml
tests/qemustatusxml2xmldata/migration-out-nbd-out.xml
tests/qemustatusxml2xmldata/migration-out-nbd-tls-out.xml
tests/qemustatusxml2xmldata/migration-out-params-in.xml
tests/qemustatusxml2xmldata/modern-in.xml