Added Automatic Allocations

Known issues:
- Port range to auto create is hard coded
- React interface is still a WIP.
This commit is contained in:
Caleb 2020-09-28 11:50:34 -04:00
parent bcbd2c4996
commit 8f8bd0be83
8 changed files with 186 additions and 4 deletions

View file

@ -83,6 +83,7 @@ Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateServ
Route::get('/allocations', 'Servers\NetworkAllocationController@index');
Route::post('/allocations/{allocation}', 'Servers\NetworkAllocationController@update');
Route::post('/allocations/{allocation}/primary', 'Servers\NetworkAllocationController@setPrimary');
Route::get('/allocations/new', 'Servers\NetworkAllocationController@addNew');
Route::delete('/allocations/{allocation}', 'Servers\NetworkAllocationController@delete');
});