Class: OPNsenseAPI::Core::Diagnostics

Inherits:
Object
  • Object
show all
Includes:
OPNsenseAPI::Core
Defined in:
lib/opnsense_api/core/diagnostics.rb,
lib/opnsense_api/core/diagnostics/dns.rb,
lib/opnsense_api/core/diagnostics/system.rb,
lib/opnsense_api/core/diagnostics/netflow.rb,
lib/opnsense_api/core/diagnostics/traffic.rb,
lib/opnsense_api/core/diagnostics/activity.rb,
lib/opnsense_api/core/diagnostics/firewall.rb,
lib/opnsense_api/core/diagnostics/interface.rb,
lib/opnsense_api/core/diagnostics/lv_template.rb,
lib/opnsense_api/core/diagnostics/system_health.rb,
lib/opnsense_api/core/diagnostics/packet_capture.rb,
lib/opnsense_api/core/diagnostics/dns_diagnostics.rb,
lib/opnsense_api/core/diagnostics/network_insight.rb

Overview

Defined Under Namespace

Classes: Activity, DNS, DNSDiagnostics, Firewall, Interface, LVTemplate, Netflow, NetworkInsight, PacketCapture, System, SystemHealth, Traffic

Instance Method Summary collapse

Methods included from OPNsenseAPI::Core

#initialize

Instance Method Details

#activityObject



37
38
39
# File 'lib/opnsense_api/core/diagnostics.rb', line 37

def activity
  Activity.new(@client)
end

#dnsObject



41
42
43
# File 'lib/opnsense_api/core/diagnostics.rb', line 41

def dns
  DNS.new(@client)
end

#dns_diagnosticsObject



45
46
47
# File 'lib/opnsense_api/core/diagnostics.rb', line 45

def dns_diagnostics
  DNSDiagnostics.new(@client)
end

#firewallObject



49
50
51
# File 'lib/opnsense_api/core/diagnostics.rb', line 49

def firewall
  Firewall.new(@client)
end

#interfaceObject



53
54
55
# File 'lib/opnsense_api/core/diagnostics.rb', line 53

def interface
  Interface.new(@client)
end

#lv_templateObject



57
58
59
# File 'lib/opnsense_api/core/diagnostics.rb', line 57

def lv_template
  LVTemplate.new(@client)
end

#netflowObject



61
62
63
# File 'lib/opnsense_api/core/diagnostics.rb', line 61

def netflow
  Netflow.new(@client)
end

#network_insightObject



65
66
67
# File 'lib/opnsense_api/core/diagnostics.rb', line 65

def network_insight
  NetworkInsight.new(@client)
end

#packet_captureObject



69
70
71
# File 'lib/opnsense_api/core/diagnostics.rb', line 69

def packet_capture
  PacketCapture.new(@client)
end

#systemObject



73
74
75
# File 'lib/opnsense_api/core/diagnostics.rb', line 73

def system
  System.new(@client)
end

#system_healthObject



77
78
79
# File 'lib/opnsense_api/core/diagnostics.rb', line 77

def system_health
  SystemHealth.new(@client)
end

#trafficObject



81
82
83
# File 'lib/opnsense_api/core/diagnostics.rb', line 81

def traffic
  Traffic.new(@client)
end