2019-06-06 23:12:13 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* MplsPolling.php
|
|
|
|
*
|
|
|
|
* -Description-
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2021-02-09 00:29:04 +01:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2019-06-06 23:12:13 +02:00
|
|
|
*
|
2021-02-09 00:29:04 +01:00
|
|
|
* @link https://www.librenms.org
|
2021-09-10 20:09:53 +02:00
|
|
|
*
|
2019-06-06 23:12:13 +02:00
|
|
|
* @copyright 2019 Tony Murray
|
|
|
|
* @author Tony Murray <murraytony@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace LibreNMS\Interfaces\Polling;
|
|
|
|
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
|
|
|
|
interface MplsPolling
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @return Collection MplsLsp objects
|
|
|
|
*/
|
|
|
|
public function pollMplsLsps();
|
|
|
|
|
|
|
|
/**
|
2021-09-08 23:35:56 +02:00
|
|
|
* @param Collection $lsps collecton of synchronized lsp objects from pollMplsLsps()
|
2019-06-06 23:12:13 +02:00
|
|
|
* @return Collection MplsLspPath objects
|
|
|
|
*/
|
|
|
|
public function pollMplsPaths($lsps);
|
2019-07-28 06:11:04 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Collection MplsSdp objects
|
|
|
|
*/
|
|
|
|
public function pollMplsSdps();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Collection MplsService objects
|
|
|
|
*/
|
|
|
|
public function pollMplsServices();
|
|
|
|
|
|
|
|
/**
|
2021-09-08 23:35:56 +02:00
|
|
|
* @param Collection $svcs collecton of synchronized service objects from pollMplsServices()
|
2019-07-28 06:11:04 +02:00
|
|
|
* @return Collection MplsSap objects
|
|
|
|
*/
|
|
|
|
public function pollMplsSaps($svcs);
|
|
|
|
|
|
|
|
/**
|
2021-09-08 23:35:56 +02:00
|
|
|
* @param Collection $sdps collecton of synchronized sdp objects from pollMplsSdps()
|
|
|
|
* @param Collection $svcs collecton of synchronized service objects from pollMplsServices()
|
2019-07-28 06:11:04 +02:00
|
|
|
* @return Collection MplsSdpBind objects
|
|
|
|
*/
|
|
|
|
public function pollMplsSdpBinds($sdps, $svcs);
|
2020-01-01 23:45:06 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Collection MplsTunnelArHop objects
|
|
|
|
*/
|
|
|
|
public function pollMplsTunnelArHops($paths);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Collection MplsTunnelCHop objects
|
|
|
|
*/
|
|
|
|
public function pollMplsTunnelCHops($paths);
|
2019-06-06 23:12:13 +02:00
|
|
|
}
|