Molkobain / itop-datacenter-view

Extension for iTop: Easily manage & visualize your racks, enclosures and datacenter devices.
28 stars 14 forks source link

Ability to add "Power Connection" items in the graphical view #6

Closed danama closed 5 years ago

danama commented 5 years ago

We have a rackable APC UPS that we would like to inject in the graphical view.

Is this functionality can be implemented ?

Molkobain commented 5 years ago

Hi @danama,

How did you created the UPS, through a custom class or as a PDU? In the case of a custom class, what's its parent class?

Molkobain commented 5 years ago

Either way, the class won't have all the necessary attributes to be rendered in the rack, it needs at least:

I can improve the extension so that you can specify in iTop configuration file which extras classes to display in the graphical view, but you will still need to alter the standard datamodel to add the missing attributes (can be done through your own extension). Are you familiar with making extension for iTop?

Molkobain commented 5 years ago

Looking into this, I think that the extension could natively modify the PDU class to:

iTop admins should not have to create an extension just to enable the PDU in the graphical view. :)

Molkobain commented 5 years ago

Thanks to your feedback, PDU are now natively available for racks and enclosures (I added the 2 attributes mentioned above). It will be part of the v1.4.0.

Regarding the paid version, I developed a new option enabling anyone to uses its custom classes (not derivated from DatacenterDevice) in racks and enclosures. They just need to have the required attributes (mentioned above)

Hope it will fit your needs 😊