Exemple #1
0
function trigger_ip()
{
    if (count(getObjectIPAllocationList(getBypassValue()))) {
        return 'std';
    }
    // Only hide the tab, if there are no addresses allocated.
    return considerConfiguredConstraint(spotEntity('object', getBypassValue()), 'IPV4OBJ_LISTSRC') ? 'std' : '';
}
Exemple #2
0
function trigger_ip()
{
    assertUIntArg('object_id');
    if (count(getObjectIPAllocationList($_REQUEST['object_id']))) {
        return 'std';
    }
    // Only hide the tab, if there are no addresses allocated.
    return considerConfiguredConstraint(spotEntity('object', $_REQUEST['object_id']), 'IPV4OBJ_LISTSRC') ? 'std' : '';
}
Exemple #3
0
function getObjectIPAllocations($object_id)
{
    return amplifyAllocationList(getObjectIPAllocationList($object_id));
}