Here is an example of the error we are getting:
./blcli -v cli ProvisionDevice setPropertyValue 00-00-00-00-00-01 BuildProfile "lab"
Command execution failed. com.bladelogic.om.infra.mfw.util.BlException: Instance lab specified in incorrect syntax
Where "lab" is an instance of the the Custom Property Class "Server_Profiles"
Next time I think I cant dig any further, I am going to dig for 30 more minutes then post.
I realized that I just needed to path the fully qualified path to the custom property class instance. However, I wasn’t quite sure how that was formatted, so I had to do some digging:
First, get the all the sub class names:
./blcli -v cli PropertyClass listAllSubclassNames Class://SystemObject
Then, get all the instances of the class
./blcli -v cli PropertyClass listAllInstanceNames Class://SystemObject/Server_Profiles
Then, try to use the “fully qualified” path to the class instance:
22:05:19 # ./blcli -v cli ProvisionDevice setPropertyValue 00-00-00-00-00-01 cerBuildProfile "Class://SystemObject/Server_Profiles/lab”