libvirt/tests/networkxml2xmlupdateout
Adam Julis cf934c87cc network: allow "modify" option for DNS-Srv records
The "modify" command allows to replace an existing Srv record
(some of its elements respectively: port, priority and weight).
The primary key used to choose the modify record is the remaining
parameters, only one of them is required. Not using some of these
parameters may cause duplicate records and error message. This
logic is there because of the previous implementation (Add and
Delete options) in the function.

Tests in networkxml2xmlupdatetest.c contain replacements of an
existing DNS-Srv record and failure due to non-existing record.

Resolves: https://gitlab.com/libvirt/libvirt/-/issues/639
Signed-off-by: Adam Julis <ajulis@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-07-10 10:28:58 +02:00
..
dhcp6host-routed-network-another-range.xml
dhcp6host-routed-network-range.xml
nat-network-dns-hosts-modified.xml network: allow "modify" option for DNS hostname 2024-07-10 10:28:51 +02:00
nat-network-dns-more-hosts.xml
nat-network-dns-srv-modify-few.xml network: allow "modify" option for DNS-Srv records 2024-07-10 10:28:58 +02:00
nat-network-dns-srv-record.xml
nat-network-dns-srv-records.xml
nat-network-dns-txt-none.xml
nat-network-dns-txt-records.xml
nat-network-forward-ifaces.xml
nat-network-host-updated.xml
nat-network-hosts.xml
nat-network-no-forward-ifaces.xml
nat-network-no-hosts.xml
nat-network-no-range.xml
nat-network-one-host.xml
nat-network.xml
openvswitch-net-modified.xml
openvswitch-net-more-portgroups.xml
openvswitch-net-without-alice.xml