| Class | Rubyipmi::Ipmitool::Lan |
| In: |
lib/rubyipmi/ipmitool/commands/lan.rb
|
| Parent: | Rubyipmi::Ipmitool::BaseCommand |
| channel | [RW] | |
| info | [RW] |
def snmp
if @info.length < 1
parse(print)
end
# Some systems do not report the snmp string
@info["snmp community string"]
end
def snmp=(community)
@options["cmdargs"] = "lan set #{channel} snmp #{community}"
value = runcmd
@options.delete_notify("cmdargs")
return value
end