Remove unused module attributes and alias in Ubiquiti profile
- Remove unused Discovery alias - Remove unused @radio_tx_capacity and @radio_rx_capacity attributes - Remove unused @radio_uptime_pct, @radio_firmware, @radio_status - Remove unused @radio_remote_mac and @radio_remote_ip attributes - Fixes all compile warnings
This commit is contained in:
parent
305b22dc65
commit
5b62910bae
1 changed files with 0 additions and 8 deletions
|
|
@ -11,7 +11,6 @@ defmodule Towerops.Snmp.Profiles.Ubiquiti do
|
|||
"""
|
||||
|
||||
alias Towerops.Snmp.Client
|
||||
alias Towerops.Snmp.Discovery
|
||||
alias Towerops.Snmp.Profiles.Base
|
||||
|
||||
require Logger
|
||||
|
|
@ -24,8 +23,6 @@ defmodule Towerops.Snmp.Profiles.Ubiquiti do
|
|||
@radio_tx_freq "#{@radio_config_base}.5"
|
||||
@radio_rx_freq "#{@radio_config_base}.6"
|
||||
@radio_tx_power "#{@radio_config_base}.9"
|
||||
@radio_tx_capacity "#{@radio_config_base}.28"
|
||||
@radio_rx_capacity "#{@radio_config_base}.29"
|
||||
|
||||
# Radio statistics OIDs (.1.3.2.1)
|
||||
@radio_stats_base "#{@ubnt_base}.1.3.2.1"
|
||||
|
|
@ -37,11 +34,6 @@ defmodule Towerops.Snmp.Profiles.Ubiquiti do
|
|||
@radio_rx_signal "#{@radio_stats_base}.8"
|
||||
@radio_remote_tx_power "#{@radio_stats_base}.11"
|
||||
@radio_remote_rx_power "#{@radio_stats_base}.14"
|
||||
@radio_uptime_pct "#{@radio_stats_base}.36"
|
||||
@radio_firmware "#{@radio_stats_base}.40"
|
||||
@radio_status "#{@radio_stats_base}.42"
|
||||
@radio_remote_mac "#{@radio_stats_base}.45"
|
||||
@radio_remote_ip "#{@radio_stats_base}.46"
|
||||
|
||||
@doc """
|
||||
Discovers system information using base profile.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue