I am using the UCS Plugin to associate a Service Profile to a blade. When I do, the function call returns immediately. But I want to wait for the blade to be associated before proceeding. How do I figure out when the blade is done associating? The UcsmBlade.status parameter does me no good, it keeps coming back Null.
A step-by-step detailed example of the same use case is described on the vCO blog:
http://blogs.vmware.com/orchestrator/2011/04/sample-scenario-for-the-cisco-ucs-manager-plug-in.html
Step 3,4 and 5 from this use cases are:
3. Assign the Service Profile to a Blade
4. Wait for the association to be completed (the Blade will be booted)
5. Do something else after that depending on the result (e.g. send a notification to somebody)
This should provide you with the info needed to complete your use case.
Thanks,
Igor.
You can use workflow "Wait for an event by DN". If you provide DN of the blade and the attribute 'association' with positive value 'associated' and negative 'unassociated', this workflow will wait for set timeout for this attribute to become provided positive value. Once the blade is accosiated, the workflow will complete.
Regards
Ivan
Awesome! Thanks! I'll try it.
Sincerely
John Kennedy
TME
Cisco, Inc.
(408)853-9424
A step-by-step detailed example of the same use case is described on the vCO blog:
http://blogs.vmware.com/orchestrator/2011/04/sample-scenario-for-the-cisco-ucs-manager-plug-in.html
Step 3,4 and 5 from this use cases are:
3. Assign the Service Profile to a Blade
4. Wait for the association to be completed (the Blade will be booted)
5. Do something else after that depending on the result (e.g. send a notification to somebody)
This should provide you with the info needed to complete your use case.
Thanks,
Igor.