This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.11 by this push:
     new cfff78d  CLOUDSTACK-10233: Use namespace in Libvirt domain metadata. 
(#2410)
cfff78d is described below

commit cfff78d9a114dca8f0552503a68bade83a7faeaa
Author: Frank Maximus <[email protected]>
AuthorDate: Fri Jan 19 09:14:16 2018 +0100

    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.
---
 .../kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
 
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
index 81077fa..385fe79 100644
--- 
a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
+++ 
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
@@ -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='")

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to