mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2145 : Failed to create guest nexus port profile while deploying the First VM on Nexus VMWARE Cluster
Additional stuff needs to be configured in guest port profile when Vnmc is present to provide firewall services. The xml command used to configure port profile had issues with special characters in the input value for 'org' parameter.
This commit is contained in:
parent
305f3cb8a5
commit
44f3f5eca5
|
|
@ -546,10 +546,15 @@ public class VsmCommand {
|
|||
vmware.appendChild(portgroup);
|
||||
portProf.appendChild(vmware);
|
||||
|
||||
// org root/%vdc%
|
||||
// org %vdc%
|
||||
// vservice node <Node Name> profile <Edge Security Profile Name in VNMC>
|
||||
Element vdcValue = doc.createElement(s_paramvalue);
|
||||
vdcValue.setAttribute("isKey", "true");
|
||||
vdcValue.setTextContent(vdc);
|
||||
|
||||
Element org = doc.createElement("org");
|
||||
org.appendChild(doc.createElement(vdc));
|
||||
org.appendChild(doc.createElement("orgname"))
|
||||
.appendChild(vdcValue);
|
||||
portProf.appendChild(org);
|
||||
|
||||
String asaNodeName = "ASA_" + vlanid;
|
||||
|
|
|
|||
Loading…
Reference in New Issue