Class: CiscoAclIntp::NumberedExtAcl

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

Overview

Numbered 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 NumberedAcl

#number

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 NumberedAcl

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

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) ⇒ NumberedExtAcl

Constructor

Parameters:

  • name (String, Integer)

    ACL name



28
29
30
31
32
# File 'lib/cisco_acl_intp/acl.rb', line 28

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

Dynamic Method Handling

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