api: Added simple OSPF API route

This commit is contained in:
Thom Seddon
2017-09-07 20:04:36 +01:00
committed by Neil Lathwood
parent 542fdfc97e
commit 20aa23508f
2 changed files with 37 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ $app->group(
'/v0',
function () use ($app) {
$app->get('/bgp', 'authToken', 'list_bgp')->name('list_bgp');
$app->get('/ospf', 'authToken', 'list_ospf')->name('list_ospf');
// api/v0/bgp
$app->get('/oxidized', 'authToken', 'list_oxidized')->name('list_oxidized');
$app->group(