CMDBuild Forum

Multiple values for Class Attribute

Hi,

I am trying to create a class that represents Linux servers in our datacenter.
Most of these servers have exactly one IP address, but some have two, five or more IPs.

In the last CMDB tool I used, there was an option to define attributes as “can be filled out 1 or more times” and you could enter as many IPs in the user interface as you need.

Is there a similar mechanism in cmdbuild, or do you have a different idea on how to approach this?

I want to avoid creating a static amount of attributes (IP1, IP2, IP3, …) when 95% of the time, only one attribute was needed.

Thanks!

One option is to create another class to store the IP addresses, then create a relationship of One to Many from you server class to the IP addresses class.

Use a text field and store IP in array format.