Changes

From Amahi Wiki
Jump to: navigation, search
No change in size ,  07:02, 19 June 2009
no edit summary
Each module should provide the following class methods:
* '''name''' (> String): returns the name of the module, typically the brand name of the models supported by this module, e.g. "D-Link"* '''models''' (> String Array): returns an array of names of models of routers supported.
* '''set_dmz'''(ip: String): set the DMZ to be the ''full'' IP provided. If none provided (nil or empty string), turn off the DMZ feature
* '''write_rule'''(rule): writes a firewall rule (see below)
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits