Add API-routes for listing MPLS SAPs and services (#13561)

* add apis for mpsl services and saps

* updated docs

* removed dbFetch, orm instead

* changed queries

* Removed unused variables

* Update api_functions.inc.php

* Update api_functions.inc.php

* Update api_functions.inc.php

* Update api_functions.inc.php

Co-authored-by: laf <gh+n@laf.io>
This commit is contained in:
Andrea Beccaris
2022-01-20 15:15:23 +01:00
committed by GitHub
parent 7c2af16541
commit 0fc2f9e4c9
9 changed files with 150 additions and 2 deletions

View File

@@ -139,6 +139,8 @@ Route::group(['prefix' => 'v0', 'namespace' => '\App\Api\Controllers'], function
Route::group(['prefix' => 'routing'], function () {
Route::get('bgp/cbgp', 'LegacyApiController@list_cbgp')->name('list_cbgp');
Route::get('vrf', 'LegacyApiController@list_vrf')->name('list_vrf');
Route::get('mpls/services', 'LegacyApiController@list_mpls_services')->name('list_mpls_services');
Route::get('mpls/saps', 'LegacyApiController@list_mpls_saps')->name('list_mpls_saps');
});
Route::group(['prefix' => 'resources'], function () {