Fix MPLS Tab Display for Nokia devices using LDP and not RSVP (#15128)

This commit is contained in:
Nick Peelman
2023-07-03 06:08:58 -04:00
committed by GitHub
parent 91acfcc017
commit e486ef4c22
3 changed files with 7 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ class RoutingController implements DeviceTab
'bgp' => $device->bgppeers()->count(),
'vrf' => $device->vrfs()->count(),
'cef' => $device->cefSwitching()->count(),
'mpls' => $device->mplsLsps()->count(),
'mpls' => $device->mplsServices()->count(),
'cisco-otv' => Component::query()->where('device_id', $device->device_id)->where('type', 'Cisco-OTV')->count(),
'loadbalancer_rservers' => $device->rServers()->count(),
'ipsec_tunnels' => $device->ipsecTunnels()->count(),