Method: Rbeapi::Api::Acl#add_entry
- Defined in:
- lib/rbeapi/api/acl.rb
#add_entry(name, entry) ⇒ Boolean
add_entry will add an entry to the specified ACL with the passed in parameters.
326 327 328 329 330 331 |
# File 'lib/rbeapi/api/acl.rb', line 326 def add_entry(name, entry) cmds = ["ip access-list standard #{name}"] cmds << build_entry(entry) cmds << 'exit' configure(cmds) end |