Provide a executable client and a series of APIs of Power V firewall of Lenovo. You can use the client to interact with the firewall, and you can also program with the APIs.
- feature
-
Connect to the Power V firewall through ssh.
- feature
-
Add packet filter rules which type is deny.
require 'lenovo-powervfw' client = Lenovo::PowerVFw.new('host', 'user', 'password') client.add_rule('sample', {:sa => 'any', :sport => 'any', :log => 'on'}) client.close
-
net-ssh net-ssh.rubyforge.org
$bundle install
sudo gem install lenovo-powervfw
Copyright © 2009-2011 Oldumy. See LICENSE for details.