CLOUDSTACK-10233: Use namespace in Libvirt domain metadata. (#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.
This commit is contained in:
Frank Maximus 2018-01-19 09:14:16 +01:00 committed by Rohit Yadav
parent a9fdb31585
commit cfff78d9a1
1 changed files with 1 additions and 1 deletions

View File

@ -1544,7 +1544,7 @@ public class LibvirtVMDef {
public String toString() {
StringBuilder fsBuilder = new StringBuilder();
for (Map.Entry<String, String> address : addresses.entrySet()) {
fsBuilder.append("<nuage-extension>\n")
fsBuilder.append("<nuage-extension xmlns='nuagenetworks.net/nuage/cna'>\n")
.append(" <interface mac='")
.append(address.getKey())
.append("' vsp-vr-ip='")