Module: CiscoAclIntp::StdAcl

Included in:
NamedStdAcl, NumberedStdAcl
Defined in:
lib/cisco_acl_intp/acl_category_base.rb

Overview

TODO:

Does it have to raise error if add_entry called with ExtendedAce?

Features for Standard ACL

Instance Method Summary collapse

Instance Method Details

#add_entry_by_params(opts) ⇒ Object

Generate a Standard ACE by parameters

and Add it to ACL

Parameters:



27
28
29
30
# File 'lib/cisco_acl_intp/acl_category_base.rb', line 27

def add_entry_by_params(opts)
  ace = StandardAce.new opts
  add_entry ace
end