<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Associating a Service Profile to a Blade.</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=13008600" />
  <subtitle>Associating a Service Profile to a Blade.</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=13008600</id>
  <updated>2013-05-23T16:20:55Z</updated>
  <dc:date>2013-05-23T16:20:55Z</dc:date>
  <entry>
    <title>RE: Associating a Service Profile to a Blade.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13017780" />
    <author>
      <name>Kshitij Korde</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13017780</id>
    <updated>2013-03-14T12:43:40Z</updated>
    <published>2013-03-14T12:43:40Z</published>
    <summary type="html">Thanks a lot Eric.
 
Best Regards,
¬Kshitij</summary>
    <dc:creator>Kshitij Korde</dc:creator>
    <dc:date>2013-03-14T12:43:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Associating a Service Profile to a Blade.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13017765" />
    <author>
      <name>Kshitij Korde</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13017765</id>
    <updated>2013-03-14T12:41:58Z</updated>
    <published>2013-03-14T12:41:58Z</published>
    <summary type="html">Found the correct XML .... thanks you all.
# ASSOCIATING A SERVICE PROFILE WITH A SERVER
$profile_dn = "org-root/ls-ISV_Profile_File_2";
$server_dn = "sys/chassis-1/blade-2";
$cmd_configConfMo = $cmd_curl."'&lt;configConfMo cookie=\"$cookie\" inHierarchical=$flag_inHierarchical&gt;&lt;inConfig&gt;&lt;lsServer dn=\"$profile_dn\"&gt;&lt;lsBinding pnDn=\"$server_dn\"/&gt;&lt;/lsServer&gt;&lt;/inConfig&gt;&lt;/configConfMo&gt;'".$url;
 </summary>
    <dc:creator>Kshitij Korde</dc:creator>
    <dc:date>2013-03-14T12:41:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Associating a Service Profile to a Blade.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13017762" />
    <author>
      <name>Eric Williams</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13017762</id>
    <updated>2013-03-14T12:41:11Z</updated>
    <published>2013-03-14T12:41:11Z</published>
    <summary type="html">Here's an example of associating a service profile w/ a blade with UCSPE 2.1(1aPE3)
Hope this helps :)
==&gt;UCSPE-192-168-6-184:
&lt;configConfMo cookie="1362850478/15650465-9841-4654-817d-a11fb53c80a9" dn="org-root/ls-bob" inHierarchical="false"&gt;&lt;inConfig&gt;&lt;lsServer dn="org-root/ls-bob" status="modified"&gt;&lt;lsBinding pnDn="sys/chassis-1/blade-1" rn="pn" /&gt;&lt;lsRequirement rn="pn-req" status="deleted" /&gt;&lt;/lsServer&gt;&lt;/inConfig&gt;&lt;/configConfMo&gt;
&lt;==UCSPE-192-168-6-184:
&lt;configConfMo dn="org-root/ls-bob" cookie="1362850478/15650465-9841-4654-817d-a11fb53c80a9" response="yes"&gt; &lt;outConfig&gt; &lt;lsServer agentPolicyName="" assignState="unassigned" assocState="unassociated" biosProfileName="" bootPolicyName="" configQualifier="" configState="not-applied" descr="" dn="org-root/ls-bob" dynamicConPolicyName="" extIPPoolName="ext-mgmt" extIPState="none" fltAggr="1" fsmDescr="" fsmFlags="" fsmPrev="ConfigureSuccess" fsmProgr="100" fsmRmtInvErrCode="none" fsmRmtInvErrDescr="" fsmRmtInvRslt="" fsmStageDescr="" fsmStamp="2013-03-09T18:34:51.791" fsmStatus="nop" fsmTry="0" hostFwPolicyName="" identPoolName="" intId="41030" localDiskPolicyName="" maintPolicyName="" mgmtAccessPolicyName="" mgmtFwPolicyName="" name="bob" operBiosProfileName="" operBootPolicyName="org-root/boot-policy-default" operDynamicConPolicyName="" operExtIPPoolName="" operHostFwPolicyName="org-root/fw-host-pack-default" operIdentPoolName="" operLocalDiskPolicyName="org-root/local-disk-config-default" operMaintPolicyName="org-root/maint-default" operMgmtAccessPolicyName="" operMgmtFwPolicyName="" operPowerPolicyName="org-root/power-policy-default" operScrubPolicyName="org-root/scrub-default" operSolPolicyName="" operSrcTemplName="" operState="unassociated" operStatsPolicyName="org-root/thr-policy-default" operVconProfileName="" owner="management" pnDn="" policyLevel="0" policyOwner="local" powerPolicyName="default" scrubPolicyName="" solPolicyName="" srcTemplName="" statsPolicyName="default" status="modified" type="instance" usrLbl="" uuid="derived" uuidSuffix="0000-000000000000" vconProfileName=""/&gt; &lt;/outConfig&gt; &lt;/configConfMo&gt;</summary>
    <dc:creator>Eric Williams</dc:creator>
    <dc:date>2013-03-14T12:41:11Z</dc:date>
  </entry>
  <entry>
    <title>Associating a Service Profile to a Blade.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13008599" />
    <author>
      <name>Kshitij Korde</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=13008599</id>
    <updated>2013-03-14T07:10:20Z</updated>
    <published>2013-03-14T07:10:20Z</published>
    <summary type="html">Hi,
I am trying to associate a Service Profile to an available Blade server (“sys/chassis-1/blade-5”)  using curl &amp; HTTP post method. I am doing this on a Cisco UCS Emulator.
Command
[b]"curl -H \"Content-Type: text/xml\" -N -s -d '&lt;configConfMo cookie=\"$cookie\" inHierarchical=\"no\" dn=\"sys/chassis-1/blade-5\"&gt; &lt;inConfig&gt;&lt;computeBlade descr=\"XXXXXUUUU1\" name=\"ISV_Blade_V\" assignedToDn=\"org-root/ls-ISV_Profile_File_3\"&gt;&lt;/computeBlade&gt;&lt;/inConfig&gt;&lt;/configConfMo&gt;' http://1X.X6X.XX.4X/nuova";[/b]
But it gives me an error.
[b][ &lt;configConfMo dn="sys/chassis-1/blade-5" cookie="1363262334/5b30d022-02f4-41ac-96a4-806c0fe6eb84" response="yes" errorCode="170" invocationResult="unidentified-fail" errorDescr="[color=#ff00ff]Admin implicit props cannot be modified, class=computeBlade, prop=assignedToDn[/color] "&gt; &lt;/configConfMo&gt; ][/b]
Before executing this command I login &lt;aaaLogin&gt; using XYZ user. This user has all the roles enabled. I can modify the Server Name as well as the description but I cannot associate a server with a Service Profile.
How do I achieve this.
 </summary>
    <dc:creator>Kshitij Korde</dc:creator>
    <dc:date>2013-03-14T07:10:20Z</dc:date>
  </entry>
</feed>

