コード例 #1
0
ファイル: DhcpController.php プロジェクト: goatatwork/access2
 /**
  * API to fetch not-provisioned IP addresses
  */
 public function fetchUnusedIps()
 {
     return IpAddress::notProvisioned();
 }
コード例 #2
0
 /**
  * Get the next available management IP
  */
 public function nextAvailableManagementIp()
 {
     $ips = IpAddress::notProvisioned();
     return $ips->where('is_management', true)->first();
 }