Documentation
¶
Overview ¶
Package general is the client.Device.GeneralSettings namespace.
Normalized object: Config
Index ¶
Constants ¶
View Source
const ( NoAuth = "none" AutokeyAuth = "autokey" SymmetricKeyAuth = "symmetric-key" )
Constants for NTP auth types.
View Source
const ( Sha1 = "sha1" Md5 = "md5" )
Constants for NTP algorithms.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Hostname string
IpAddress string
Netmask string
Gateway string
Timezone string
Domain string
UpdateServer string
VerifyUpdateServer bool
LoginBanner string
PanoramaPrimary string
PanoramaSecondary string
ProxyServer string
ProxyPort int
ProxyUser string
ProxyPassword string
DnsPrimary string
DnsSecondary string
NtpPrimaryAddress string
NtpPrimaryAuthType string
NtpPrimaryKeyId int
NtpPrimaryAlgorithm string
NtpPrimaryAuthKey string
NtpSecondaryAddress string
NtpSecondaryAuthType string
NtpSecondaryKeyId int
NtpSecondaryAlgorithm string
NtpSecondaryAuthKey string
// contains filtered or unexported fields
}
Config is a normalized, version independent representation of a device's general settings.
func (*Config) Defaults ¶
func (o *Config) Defaults()
Defaults sets params with uninitialized values to their GUI default setting.
The defaults are as follows:
- UpdateServer: updates.paloaltonetworks.com
type Firewall ¶ added in v0.6.0
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is a namespace struct, included as part of pango.Client.
func FirewallNamespace ¶ added in v0.6.0
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
Click to show internal directories.
Click to hide internal directories.