CLOUDSTACK-3234: Adding cookie to associate profile blade API

Signed-off by: Animesh Chaturvedi <animesh@apache.org>
This commit is contained in:
Amogh Vasekar 2013-07-09 17:18:55 -07:00 committed by Animesh Chaturvedi
parent 20bade62f1
commit 0331b8fe5d

View File

@ -60,7 +60,7 @@ public class UcsCommands {
} }
public static String associateProfileToBlade(String cookie, String profileDn, String bladeDn) { public static String associateProfileToBlade(String cookie, String profileDn, String bladeDn) {
XmlObject cmd = new XmlObject("configConfMos").putElement("inHierarchical", "true").putElement( XmlObject cmd = new XmlObject("configConfMos").putElement("cookie", cookie).putElement("inHierarchical", "true").putElement(
"inConfigs", new XmlObject("inConfigs").putElement( "inConfigs", new XmlObject("inConfigs").putElement(
"pair", new XmlObject("pair").putElement("key", profileDn).putElement( "pair", new XmlObject("pair").putElement("key", profileDn).putElement(
"lsServer", new XmlObject("lsServer") "lsServer", new XmlObject("lsServer")