mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added api call for ipsec tunnels
This commit is contained in:
@@ -128,6 +128,19 @@ $app->group(
|
||||
}
|
||||
);
|
||||
// End Inventory
|
||||
// Routing section
|
||||
$app->group(
|
||||
'/routing',
|
||||
function () use ($app) {
|
||||
$app->group(
|
||||
'/ipsec',
|
||||
function () use ($app) {
|
||||
$app->get('/data/:hostname', 'authToken', 'list_ipsec')->name('list_ipsec');
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
// End Routing
|
||||
}
|
||||
);
|
||||
$app->get('/v0', 'authToken', 'show_endpoints');
|
||||
|
||||
Reference in New Issue
Block a user