You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would require changes in _ipaddress.class.inc.php.
We won't do that. The tab with CI's pointing to this object, is generated in a PHP-file, not an XML.
Accomplishing it would be:
Find:
$iNbPCs = 0;
if (MetaModel::IsValidClass('PC'))
{
if (MetaModel::IsValidAttCode('PC', 'ipaddress_id'))
{
$oPCSearch = DBObjectSearch::FromOQL("SELECT PC WHERE ipaddress_id = $iKey");
$oPCSet = new CMDBObjectSet($oPCSearch);
$iNbPCs = $oPCSet->Count();
$iNbCIs += $iNbPCs;
}
}
Add:
/*JB START*/
$iNbIPDevices = 0;
if (MetaModel::IsValidClass('IPDevice'))
{
if (MetaModel::IsValidAttCode('IPDevice', 'managementip_id'))
{
$oIPDevicesSearch = DBObjectSearch::FromOQL("SELECT IPDevice WHERE managementip_id = $iKey");
$oIPDevicesSet = new CMDBObjectSet($oIPDevicesSearch);
$iNbIPDevices = $oIPDevicesSet->Count();
$iNbCIs += $iNbIPDevices;
}
}
/*JB END*/
jbostoen
changed the title
TeemIP - IP Adress object - CI's pointing to this IP
TeemIP - IP Adress object - CIs pointing to this IP
Feb 17, 2017
jbostoen
changed the title
TeemIP - IP Adress object - CIs pointing to this IP
TeemIP - IP Adress object - CIs pointing to this IP - IPDevices missing
Feb 17, 2017
See #16 IP Devices - IP Phones should link ConnectableCIs instead of Network Devices
Should be fixed if IPDevices become a subclass of Network Devices (and incorrectly of DataCenter Devices).
jbostoen
changed the title
TeemIP - IP Adress object - CIs pointing to this IP - IPDevices missing
TeemIP - IPAddress object - CIs pointing to this IP - IPDevices missing
Oct 4, 2019
This would require changes in _ipaddress.class.inc.php.
We won't do that. The tab with CI's pointing to this object, is generated in a PHP-file, not an XML.
Accomplishing it would be:
Find:
Add:
Find:
Add:
The text was updated successfully, but these errors were encountered: