Hello all,
I am using Subnets section in iTop. But when I click on defined network I see on "IP Usage" tab only interfaces with IP addresses (of servers) from that subnet, BUT not the network devices itself.
I.e. imagine the classic manageable switch - you will define the management IP only on device itself and not on specific switch port/interface (of course… because switch is reachable on management via any used port in default) - and this is the issue - I cannot see in "IP Usage" tab also network devices. Please can anyone navigate me with modifying iTop to displaying also devices in "IP Usage" tan in case of their management IPs are memeber of that subnet?
many thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Done,
into "DisplayBareRelations" function of Subnet class included:
$oNetDevFilter=DBObjectSearch::FromOQL("SELECT NetworkDevice AS netdev WHERE INET_ATON(netdev.management_ip) >= INET_ATON('$sIPMin') AND INET_ATON(netdev.management_ip) <= INET_ATON('$sIPMax')");$oNetSet=newCMDBObjectSet($oNetDevFilter);$oBlock=newDisplayBlock($oNetDevFilter,'list',false);$oBlock->Display($oPage,'management_ip',array('menu'=>false));
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I am using Subnets section in iTop. But when I click on defined network I see on "IP Usage" tab only interfaces with IP addresses (of servers) from that subnet, BUT not the network devices itself.
I.e. imagine the classic manageable switch - you will define the management IP only on device itself and not on specific switch port/interface (of course… because switch is reachable on management via any used port in default) - and this is the issue - I cannot see in "IP Usage" tab also network devices. Please can anyone navigate me with modifying iTop to displaying also devices in "IP Usage" tan in case of their management IPs are memeber of that subnet?
many thanks
Done,
into "DisplayBareRelations" function of Subnet class included: