@extends('layouts.app') @section('title', 'IP-Pools') @section('heading', 'IP-Pools & Zuweisungen') @section('content') @if(auth()->user()->isAdmin()) + Pool anlegen @endif
@foreach($pools as $pool)

{{ $pool->name }}

{{ $pool->type->label() }}
@if(auth()->user()->isAdmin()) Bearbeiten @endif

{{ $pool->start_ip }} – {{ $pool->end_ip }}

Gateway: {{ $pool->gateway ?? '—' }} /{{ $pool->cidr }}

{{ $pool->usedIpsCount() }} belegt {{ $pool->freeIpsCount() }} frei
@endforeach

IP-Zuweisungen (aktive VMs)

@if(auth()->user()->isAdmin())@endif @forelse($assignments as $vm) @if(auth()->user()->isAdmin())@endif @empty @endforelse
VMKundePrivate IP Public IP Pool
{{ $vm->name }}{{ $vm->owner?->name }}{{ $vm->ip_address ?? '—' }} {{ $vm->public_ip ?? '—' }} {{ $vm->ipPool?->name ?? '—' }}
Keine Zuweisungen.
@endsection