Class: PaloAlto::XML::Config::MgtConfig::Devices::Entry

Inherits:
ArrayConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: Vsys

Constant Summary

Constants included from DSL

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

Instance Attribute Summary

Attributes inherited from ArrayConfigClass

#selector

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

Methods inherited from ArrayConfigClass

#move!, #rename!, #set_xpath_from_selector!

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



42993
42994
42995
# File 'lib/palo_alto/config.rb', line 42993

def _section
:entry
end

#auto_pushObject



43049
43050
43051
# File 'lib/palo_alto/config.rb', line 43049

def auto_push
prop_get('auto-push')
end

#auto_push=(val) ⇒ Object



43052
43053
43054
# File 'lib/palo_alto/config.rb', line 43052

def auto_push=(val)
prop_set('auto-push', val)
end

#disable_config_backupObject

Enable config back up for this device



43080
43081
43082
# File 'lib/palo_alto/config.rb', line 43080

def disable_config_backup
prop_get('disable-config-backup')
end

#disable_config_backup=(val) ⇒ Object

Enable config back up for this device



43084
43085
43086
# File 'lib/palo_alto/config.rb', line 43084

def disable_config_backup=(val)
prop_set('disable-config-backup', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#hostnameObject

ip address



43056
43057
43058
# File 'lib/palo_alto/config.rb', line 43056

def hostname
prop_get('hostname')
end

#hostname=(val) ⇒ Object

ip address



43060
43061
43062
# File 'lib/palo_alto/config.rb', line 43060

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

#ipObject

ip address



43072
43073
43074
# File 'lib/palo_alto/config.rb', line 43072

def ip
prop_get('ip')
end

#ip=(val) ⇒ Object

ip address



43076
43077
43078
# File 'lib/palo_alto/config.rb', line 43076

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

#nameObject

Serial number of the device



43046
43047
43048
# File 'lib/palo_alto/config.rb', line 43046

def name
prop_get('@name')
end

#to_sw_versionObject

Automatically upgrade software to this version for new deployments



43064
43065
43066
# File 'lib/palo_alto/config.rb', line 43064

def to_sw_version
prop_get('to-sw-version')
end

#to_sw_version=(val) ⇒ Object

Automatically upgrade software to this version for new deployments



43068
43069
43070
# File 'lib/palo_alto/config.rb', line 43068

def to_sw_version=(val)
prop_set('to-sw-version', val)
end

#vsysObject



43041
43042
43043
# File 'lib/palo_alto/config.rb', line 43041

def vsys
maybe_register_subclass('vsys', Vsys.new(parent_instance: self, client: @client, create_children: @create_children))
end