Menu

Link IP to a CI

2023-11-29
2023-12-05
  • Marco Musolesi

    Marco Musolesi - 2023-11-29

    Hello,

    IP addresses have a CI list including any CI associated to that IP. I was not able to undestand where it is defined.
    This list seems to include any CI and child calss using AttributeExternalField pointing to the IPAddress.

    I need to create a new class with a list of multiple IP addresses. This object will not be a child of FunctionalCI

    I can create a new list with a many-to-many link table, but I'd like to use only one point of view to include CI and new class associated to that IP.

    Is it possible? any idea?

    Thanks a lot

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2023-11-29

    Can you explain the use case?

    Are you looking for something like 1 object, multiple interfaces with each their own IP?

     
  • Marco Musolesi

    Marco Musolesi - 2023-12-05

    Hello Jeffrey

    I am defining a new class "vCloudDirectorEntity" that define any object related to VMware VCD

    I need to link in N:N relation some vCloudDirectorEntity child classes to IPAddress (v4 and v6)

    I cannot use NIC in this case, due multiple reason: IP must be linked to different classes (anyyone is a child class of vCloudDirectorEntity):
    - "external network"
    - "vcloud VM"
    - "EDGE"

    "external network" cannot use vnic
    "edge" need multiple ip for vnic

    In my model the better choose is to associate a list of IP to vCloudDirectorEntity

    This is the issue: from ip address I am able to link object defined as vCloudDirectorEntity
    but from adding a list of ip addresses on any vCloudDirectorEntity class I got a strange error:

    iTop: An error occurred, check server error log for more information.

    attached error log.

    I am not able to create new vCloudDirectorEntity objects, but if I remove the list of ip addresses from vCloudDirectorEntity it works so I am quite sure that all classes are ok and I have some mistake on IPObject.

    Any Idea?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.