Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::HighAvailability::ElectionOption::Timers::Advanced

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

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



50709
50710
50711
# File 'lib/palo_alto/config.rb', line 50709

def _section
:advanced
end

#additional_master_hold_up_timeObject

Interval in milliseconds to wait before honoring a path or link monitor failure on the Active device, default 7000



50754
50755
50756
# File 'lib/palo_alto/config.rb', line 50754

def additional_master_hold_up_time
prop_get('additional-master-hold-up-time')
end

#additional_master_hold_up_time=(val) ⇒ Object

Interval in milliseconds to wait before honoring a path or link monitor failure on the Active device, default 7000



50758
50759
50760
# File 'lib/palo_alto/config.rb', line 50758

def additional_master_hold_up_time=(val)
prop_set('additional-master-hold-up-time', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#heartbeat_intervalObject

Interval in milliseconds to send Heartbeat pings, default 2000



50730
50731
50732
# File 'lib/palo_alto/config.rb', line 50730

def heartbeat_interval
prop_get('heartbeat-interval')
end

#heartbeat_interval=(val) ⇒ Object

Interval in milliseconds to send Heartbeat pings, default 2000



50734
50735
50736
# File 'lib/palo_alto/config.rb', line 50734

def heartbeat_interval=(val)
prop_set('heartbeat-interval', val)
end

#hello_intervalObject

Interval in milliseconds to send Hello messages, default 8000



50722
50723
50724
# File 'lib/palo_alto/config.rb', line 50722

def hello_interval
prop_get('hello-interval')
end

#hello_interval=(val) ⇒ Object

Interval in milliseconds to send Hello messages, default 8000



50726
50727
50728
# File 'lib/palo_alto/config.rb', line 50726

def hello_interval=(val)
prop_set('hello-interval', val)
end

#monitor_fail_hold_up_timeObject

Interval in milliseconds to wait before honoring a path or link monitor failure on this device, default 0



50746
50747
50748
# File 'lib/palo_alto/config.rb', line 50746

def monitor_fail_hold_up_time
prop_get('monitor-fail-hold-up-time')
end

#monitor_fail_hold_up_time=(val) ⇒ Object

Interval in milliseconds to wait before honoring a path or link monitor failure on this device, default 0



50750
50751
50752
# File 'lib/palo_alto/config.rb', line 50750

def monitor_fail_hold_up_time=(val)
prop_set('monitor-fail-hold-up-time', val)
end

#preemption_hold_timeObject

Interval in minutes to stay in Passive before preempting Active device, default 1



50738
50739
50740
# File 'lib/palo_alto/config.rb', line 50738

def preemption_hold_time
prop_get('preemption-hold-time')
end

#preemption_hold_time=(val) ⇒ Object

Interval in minutes to stay in Passive before preempting Active device, default 1



50742
50743
50744
# File 'lib/palo_alto/config.rb', line 50742

def preemption_hold_time=(val)
prop_set('preemption-hold-time', val)
end

#promotion_hold_timeObject

Interval in milliseconds to state change from Passive to Active, default 2000



50714
50715
50716
# File 'lib/palo_alto/config.rb', line 50714

def promotion_hold_time
prop_get('promotion-hold-time')
end

#promotion_hold_time=(val) ⇒ Object

Interval in milliseconds to state change from Passive to Active, default 2000



50718
50719
50720
# File 'lib/palo_alto/config.rb', line 50718

def promotion_hold_time=(val)
prop_set('promotion-hold-time', val)
end