Class: CiscoAclIntp::NumberedStdAcl

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

Overview

Numbered standard 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 StdAcl

#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) ⇒ NumberedStdAcl

Constructor

Parameters:

  • name (String, Integer)

    ACL name



56
57
58
59
60
# File 'lib/cisco_acl_intp/acl.rb', line 56

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

Dynamic Method Handling

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