Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Commit 849d13b

Browse files
fmaximusmarcaurele
authored andcommitted
CLOUDSTACK-10233: Use namespace in Libvirt domain metadata. (apache#2410)
The documentation of Libvirt specifies the requirement of using an XML namespace, when having metadata in the Domain XML. The Nuage extenstion metadata was not adhering to this specification, and the lastest Libvirt version ignores it in that case.
1 parent 1842ddc commit 849d13b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ public void addNuageExtension(String macAddress, String vrIp) {
15441544
public String toString() {
15451545
StringBuilder fsBuilder = new StringBuilder();
15461546
for (Map.Entry<String, String> address : addresses.entrySet()) {
1547-
fsBuilder.append("<nuage-extension>\n")
1547+
fsBuilder.append("<nuage-extension xmlns='nuagenetworks.net/nuage/cna'>\n")
15481548
.append(" <interface mac='")
15491549
.append(address.getKey())
15501550
.append("' vsp-vr-ip='")

0 commit comments

Comments
 (0)