@extends('layouts.app') @section('title', $device->name.' — neighbours') @section('content')
{{ $links->count() }} directly connected device(s) — one hop out.
| Direction | Neighbour | This port | Their port | Medium | Capacity | Distance | Status |
|---|---|---|---|---|---|---|---|
| {{ $isSource ? 'out to' : 'in from' }} |
{{ $other?->name ?: '—' }}
{{ $other?->role }}
|
{{ $isSource ? ($link->source_port ?: '—') : ($link->target_port ?: '—') }} | {{ $isSource ? ($link->target_port ?: '—') : ($link->source_port ?: '—') }} | {{ title_case_words($link->medium) }} | {{ $link->capacity_mbps ? number_format($link->capacity_mbps) : '—' }} | {{ $link->distance_km ? $link->distance_km.' km' : '—' }} | {{ title_case_words($link->status) }} |