Class: OPNsenseAPI::Core::IPSec
- Inherits:
-
Object
- Object
- OPNsenseAPI::Core::IPSec
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
#initialize
Instance Method Details
#key_pairs ⇒ Object
34
35
36
|
# File 'lib/opnsense_api/core/ipsec.rb', line 34
def key_pairs
KeyPairs.new(@client)
end
|
#leases ⇒ Object
38
39
40
|
# File 'lib/opnsense_api/core/ipsec.rb', line 38
def leases
Leases.new(@client)
end
|
#legacy_subsystem ⇒ Object
42
43
44
|
# File 'lib/opnsense_api/core/ipsec.rb', line 42
def legacy_subsystem
LegacySubsystem.new(@client)
end
|
#pre_shared_keys ⇒ Object
46
47
48
|
# File 'lib/opnsense_api/core/ipsec.rb', line 46
def pre_shared_keys
PreSharedKeys.new(@client)
end
|
#sad ⇒ Object
50
51
52
|
# File 'lib/opnsense_api/core/ipsec.rb', line 50
def sad
SAD.new(@client)
end
|
#service ⇒ Object
54
55
56
|
# File 'lib/opnsense_api/core/ipsec.rb', line 54
def service
Service.new(@client)
end
|
#sessions ⇒ Object
58
59
60
|
# File 'lib/opnsense_api/core/ipsec.rb', line 58
def sessions
Sessions.new(@client)
end
|
#spd ⇒ Object
62
63
64
|
# File 'lib/opnsense_api/core/ipsec.rb', line 62
def spd
SPD.new(@client)
end
|
#tunnel ⇒ Object
66
67
68
|
# File 'lib/opnsense_api/core/ipsec.rb', line 66
def tunnel
Tunnel.new(@client)
end
|