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' : ''; }
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' : ''; }
function getObjectIPAllocations($object_id) { return amplifyAllocationList(getObjectIPAllocationList($object_id)); }