Added api call for ipsec tunnels

This commit is contained in:
laf
2016-04-22 13:41:38 +00:00
parent 3bf0ad1c07
commit 78204f3971
3 changed files with 81 additions and 0 deletions

View File

@@ -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');