Class: CiscoAclIntp::NamedExtAcl

Inherits:
NamedAcl show all
Includes:
ExtAcl
Defined in:
lib/cisco_acl_intp/acl.rb

Overview

Named extended ACL container

Constant Summary

Constants inherited from AclBase

AclBase::SEQ_NUM_DIV

Constants inherited from AccessControlContainer

AccessControlContainer::TERM_COLOR_TABLE

Instance Attribute Summary

Attributes inherited from AclBase

#acl_type, #list, #name, #name_type

Instance Method Summary collapse

Methods included from ExtAcl

#add_entry_by_params

Methods inherited from NamedAcl

#header_string, #line_string, #named_acl?, #numbered_acl?, #to_s

Methods inherited from AclBase

#==, #add_entry, #clean_acl_string, #dup_with_list, #find_aces_contained, #find_aces_contains, #find_aces_with, #renumber

Methods included from AceSearchUtility

#generate_port_obj, generate_port_obj, #port_spec_by_protocol, port_spec_by_protocol, ptkey, #ptkey, search_conditions, #search_conditions, select_proto_class, #select_proto_class, slice_contains_opts, #slice_contains_opts, #srcdst_condition, srcdst_condition, #target_ace, target_ace

Methods inherited from AccessControlContainer

#clean_acl_string, disable_color, #generate_tag_footer, #generate_tag_header, #generate_tagged_str, #method_missing, #to_s

Constructor Details

#initialize(name) ⇒ NamedExtAcl

Constructor

Parameters:

  • name (String)

    ACL name



14
15
16
17
18
# File 'lib/cisco_acl_intp/acl.rb', line 14

def initialize(name)
  super
  @name_type = :named
  @acl_type = :extended
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CiscoAclIntp::AccessControlContainer