Class: PaloAlto::XML::Config::Shared::PostRulebase::Pbf::Rules::Entry::Action

Inherits:
PaloAlto::XML::ConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: Discard, Forward, NoPbf

Constant Summary

Constants included from DSL

DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS

Instance Attribute Summary

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

Methods inherited from PaloAlto::XML::ConfigClass

#array_class_setter, #clear!, #complete, #create!, #delete!, #delete_child, #edit!, #enforce_type, #enforce_types, #external_set, #get, #get_all, #get_class_from_child_str, #get_primary_key, #initialize, #inspect, #maybe_register_subclass, #multimove!, #prop_get, #prop_set, #selector_subclasses, #set!, #set_array_class_attributes, #set_values, #to_xml, #values, #xml_builder

Methods inherited from Expression

#current, #initialize, #to_xpath

Methods included from DSL

#anywhere, #axis, #binary_operator, #child, #contains_word, #css, #current, #descendant, #ends_with, #function, #is, #last, #lowercase, #method, #next_sibling, #one_of, #parenthesis, #position, #previous_sibling, #qname, #relative, #root, #text, #union, #uppercase, #where, #xpath_attr

Constructor Details

This class inherits a constructor from PaloAlto::XML::ConfigClass

Instance Method Details

#_sectionObject



40124
40125
40126
# File 'lib/palo_alto/config.rb', line 40124

def _section
:action
end

#discardObject



40212
40213
40214
# File 'lib/palo_alto/config.rb', line 40212

def discard
@subclasses['discard'] ||= Discard.new(parent_instance: self, client: @client, create_children: @create_children)
end

#forwardObject



40202
40203
40204
# File 'lib/palo_alto/config.rb', line 40202

def forward
@subclasses['forward'] ||= Forward.new(parent_instance: self, client: @client, create_children: @create_children)
end

#forward_to_vsysObject

Virtual system/Shared gateway to route packet to



40227
40228
40229
# File 'lib/palo_alto/config.rb', line 40227

def forward_to_vsys
prop_get('forward-to-vsys')
end

#forward_to_vsys=(val) ⇒ Object

Virtual system/Shared gateway to route packet to



40231
40232
40233
# File 'lib/palo_alto/config.rb', line 40231

def forward_to_vsys=(val)
prop_set('forward-to-vsys', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


40123
# File 'lib/palo_alto/config.rb', line 40123

def has_multiple_values?; false; end

#no_pbfObject



40222
40223
40224
# File 'lib/palo_alto/config.rb', line 40222

def no_pbf
@subclasses['no-pbf'] ||= NoPbf.new(parent_instance: self, client: @client, create_children: @create_children)
end