CI Types Defined
I am trying to put together a glossery of CI types and their definition. for example
Containment = Represents CIs that are contained within another CI
Most of the CIs in CMDB have a blank description field and I have been unable to find a document that explains the diffent types of releationship and CI types.
Has anyone come across a document like this or produced one of their own?
Is that you are looking for document which contains the our CIT datamodel.
There is a document comes along with the ucmdb installation. Did you crossverify on that ?
I have checked all available uCMDB documentation for this information. There is some but nothing that details each type.
Specifically I am looking for definitions of the relationship types such as containment/composition/usage etc.
I have gained some ideas from non HP sources but was looking for an HP guide.
you can write a simple java program and get this information from the ucmdb API. Let me know if you need an example
Yes if you could provide an example that would be very userful.
I am not sure how much of the detail is contained in the API so would be very interested to see.
Here is how you can get the description for all the classes in uCMDB:
UcmdbServiceProvider provider = UcmdbServiceFactory.getServiceProvider(protocol,hostName, port);
Credentials credentials = provider.createCredentials(userName, passwd);
ClientContext clientContext = provider.createClientContext("Example");
UcmdbService ucmdbService = provider.connect(credentials, clientContext));
ClassModelService classModelService = ucmdbService.getClassModelService();
Collection<ClassDefinition> cDef = classModelService.getAllClasses();
for(ClassDefinition def : cDef)
classDesc = def.getDescription();
System.out.println("- "+def.getDisplayName()+" -> "+classDesc);
Please mark it solved if this solves your issue