CMDBuild Forum

Domain with 1:1 cardinality as attribute

Hi,

Why is it not possible to create an attribute for a domain with 1:1 cardinality? That way a 1:1 relationship could be displayed in the list if needed.

In our network setup one MAC-address is linked to one IP address, one hostname and to one VLAN. I have created a class physicalinterface containing MAC addresses, and a class networkinterface containing the IP addresses, hostname and reference to a VLAN. The MACs and IPs should ideally be in different classes, as it should be possible to change the physical hardware (i.e. MAC) while retaining the network configuration.

I am actually trying to replace a flat Excel-sheet with a proper CMDB. In the Excel sheet hostname, MAC, ... are on one line. I could not find any other way of displaying 1:1 linked data into a list, so using an attribute seems the only way.

This function is not implemented yet but it will be added in the future.
CMDBuild Team

Previously Tecnoteca wrote:

This function is not implemented yet but it will be added in the future.
CMDBuild Team
Then, what can I do to manage these relations?
Create it as 1:N and check each update on it ?

Yes, we use this workaround.

CMDBuild Team

Previously Tecnoteca wrote:

Yes, we use this workaround.

CMDBuild Team

any tip to do that ?

You have to write a trigger in the database

CMDBuild Team