Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::HighAvailability::Peer

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

Defined Under Namespace

Classes: Encryption

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



50629
50630
50631
# File 'lib/palo_alto/config.rb', line 50629

def _section
:peer
end

#encryptionObject



50645
50646
50647
# File 'lib/palo_alto/config.rb', line 50645

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

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#ip_addressObject

HA Peer IP address



50650
50651
50652
# File 'lib/palo_alto/config.rb', line 50650

def ip_address
prop_get('ip-address')
end

#ip_address=(val) ⇒ Object

HA Peer IP address



50654
50655
50656
# File 'lib/palo_alto/config.rb', line 50654

def ip_address=(val)
prop_set('ip-address', val)
end

#monitor_hold_timeObject

hold time in milliseconds to allow HA peer flapping, default 3000



50666
50667
50668
# File 'lib/palo_alto/config.rb', line 50666

def monitor_hold_time
prop_get('monitor-hold-time')
end

#monitor_hold_time=(val) ⇒ Object

hold time in milliseconds to allow HA peer flapping, default 3000



50670
50671
50672
# File 'lib/palo_alto/config.rb', line 50670

def monitor_hold_time=(val)
prop_set('monitor-hold-time', val)
end

#serialObject

HA Peer serial number



50658
50659
50660
# File 'lib/palo_alto/config.rb', line 50658

def serial
prop_get('serial')
end

#serial=(val) ⇒ Object

HA Peer serial number



50662
50663
50664
# File 'lib/palo_alto/config.rb', line 50662

def serial=(val)
prop_set('serial', val)
end