settingmanagement

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: ISC Imports: 5 Imported by: 0

Documentation

Overview

Package general is the client.Device.SettingManagement namespace.

Normalized object: Config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Template                     string
	EnableLogHighDpLoad          *bool
	ThreatVaultAccess            *bool
	EnableHighSpeedLogForwarding *bool
	SupportUtf8ForLogOutput      *bool
	TrafficStopOnLogdbFull       *bool
	HostnameTypeInSyslog         string
	FailedAttempts               *int
	LockoutTime                  *int
	MaxSessionCount              *int
	MaxSessionTime               *int
	IdleTimeout                  *int
	Internal                     bool // flag to know if it's a panorama resource
}

Config is a normalized, version independent representation of a device's setting management.

func (*Config) Merge

func (o *Config) Merge(s Config)

Merge copies non connectivity variables from source Config `s` to this object.

func (Config) Specify

func (o Config) Specify(v version.Number) (string, interface{})

type Firewall

type Firewall struct {
	// contains filtered or unexported fields
}

Firewall is a namespace struct, included as part of pango.Client.

func FirewallNamespace

func FirewallNamespace(client util.XapiClient) *Firewall

FirewallNamespace returns an initialized namespace.

func (*Firewall) Edit

func (c *Firewall) Edit(e Config) error

Edit performs EDIT to update the device's setting management.

func (*Firewall) Get

func (c *Firewall) Get() (Config, error)

Get performs GET to retrieve the device's setting management.

func (*Firewall) Set

func (c *Firewall) Set(e Config) error

Set performs SET to create / update the device's setting management.

func (*Firewall) Show

func (c *Firewall) Show() (Config, error)

Show performs SHOW to retrieve the device's setting management.

type Panorama

type Panorama struct {
	// contains filtered or unexported fields
}

Panorama is the client.Device.SettingManagement namespace.

func PanoramaNamespace

func PanoramaNamespace(client util.XapiClient) *Panorama

PanoramaNamespace returns an initialized namespace.

func (*Panorama) Edit

func (c *Panorama) Edit(tmpl, ts, vsys string, e Config) error

Edit performs EDIT to update the device's setting management.

func (*Panorama) Get

func (c *Panorama) Get(tmpl, ts, vsys string) (Config, error)

Get performs GET to retrieve the device's setting management.

func (*Panorama) Set

func (c *Panorama) Set(tmpl, ts, vsys string, e Config) error

Set performs SET to configure the specified objects.

func (*Panorama) Show

func (c *Panorama) Show(tmpl, ts, vsys string) (Config, error)

Show performs SHOW to retrieve the device's setting management.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL