Class: OPNsenseAPI::Core::IPSec

Inherits:
Object
  • Object
show all
Includes:
OPNsenseAPI::Core
Defined in:
lib/opnsense_api/core/ipsec.rb,
lib/opnsense_api/core/ipsec/sad.rb,
lib/opnsense_api/core/ipsec/spd.rb,
lib/opnsense_api/core/ipsec/leases.rb,
lib/opnsense_api/core/ipsec/tunnel.rb,
lib/opnsense_api/core/ipsec/service.rb,
lib/opnsense_api/core/ipsec/sessions.rb,
lib/opnsense_api/core/ipsec/key_pairs.rb,
lib/opnsense_api/core/ipsec/pre_shared_keys.rb,
lib/opnsense_api/core/ipsec/legacy_subsystem.rb

Overview

Defined Under Namespace

Classes: KeyPairs, Leases, LegacySubsystem, PreSharedKeys, SAD, SPD, Service, Sessions, Tunnel

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#key_pairsObject



34
35
36
# File 'lib/opnsense_api/core/ipsec.rb', line 34

def key_pairs
  KeyPairs.new(@client)
end

#leasesObject



38
39
40
# File 'lib/opnsense_api/core/ipsec.rb', line 38

def leases
  Leases.new(@client)
end

#legacy_subsystemObject



42
43
44
# File 'lib/opnsense_api/core/ipsec.rb', line 42

def legacy_subsystem
  LegacySubsystem.new(@client)
end

#pre_shared_keysObject



46
47
48
# File 'lib/opnsense_api/core/ipsec.rb', line 46

def pre_shared_keys
  PreSharedKeys.new(@client)
end

#sadObject



50
51
52
# File 'lib/opnsense_api/core/ipsec.rb', line 50

def sad
  SAD.new(@client)
end

#serviceObject



54
55
56
# File 'lib/opnsense_api/core/ipsec.rb', line 54

def service
  Service.new(@client)
end

#sessionsObject



58
59
60
# File 'lib/opnsense_api/core/ipsec.rb', line 58

def sessions
  Sessions.new(@client)
end

#spdObject



62
63
64
# File 'lib/opnsense_api/core/ipsec.rb', line 62

def spd
  SPD.new(@client)
end

#tunnelObject



66
67
68
# File 'lib/opnsense_api/core/ipsec.rb', line 66

def tunnel
  Tunnel.new(@client)
end