NAME
WebService::OPNsense::IPsec::Vti - IPsec VTI (Virtual Tunnel Interface) controller
VERSION
version 0.002
SYNOPSIS
my $vti = $opn->ipsec_vti;
my $results = $vti->search;
$vti->add({ vti => { ... } });
DESCRIPTION
IPsec Virtual Tunnel Interfaces.
PROVIDED METHODS
The following methods are inherited from consumed roles.
search
my $results = $ctrl->search( %params );
Searches for VTI entries.
get
my $vti = $ctrl->get( $uuid );
Returns a single VTI entry by UUID. Throws if $uuid is not a valid UUID.
set
my $result = $ctrl->set( $uuid, $vti_data );
Updates VTI entry by UUID. Throws if $uuid is not a valid UUID.
add
my $result = $ctrl->add( $vti_data );
Creates VTI entry.
del
my $result = $ctrl->del( $uuid );
Deletes a VTI entry by UUID. Throws if $uuid is not a valid UUID.
toggle
my $result = $ctrl->toggle( $uuid, $enabled );
Enables or disables a VTI entry. Throws if $uuid is not a valid UUID.
client
my $http_client = $ctrl->client;
Returns the underlying HTTP client object used for API requests.
SEE ALSO
WebService::OPNsense::Role::Crud
AUTHOR
Dean Hamstead <dean@fragfest.com.au>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2026 by Dean Hamstead.
This is free software, licensed under:
The MIT (X11) License