pango: github.com/PaloAltoNetworks/pango/dev/profile/syslog Index | Files | Directories

package syslog

import "github.com/PaloAltoNetworks/pango/dev/profile/syslog"

Package syslog is the client.Object.SyslogServerProfile namespace.

For Panorama, there are two possibilities: managing this object on Panorama itself or inside of a Template.

To manage objects save on Panorama, leave "tmpl" and "ts" params empty and set "dg" to "shared" (which is also the default).

To manage objects in a template, specify the template name and the vsys (if unspecified, defaults to "shared").

Normalized object: Entry

Index

Package Files

const.go doc.go entry.go fw.go pano.go

type Entry Uses

type Entry struct {
    Name              string
    Config            string
    System            string
    Threat            string
    Traffic           string
    HipMatch          string
    Url               string // 8.0+
    Data              string // 8.0+
    Wildfire          string // 8.0+
    Tunnel            string // 8.0+
    UserId            string // 8.0+
    Gtp               string // 8.0+
    Auth              string // 8.0+
    Sctp              string // 8.1+
    Iptag             string // 9.0+
    EscapedCharacters string
    EscapeCharacter   string
    // contains filtered or unexported fields
}

Entry is a normalized, version independent representation of an syslog profile.

PAN-OS 7.1+.

func (*Entry) Copy Uses

func (o *Entry) Copy(s Entry)

Copy copies the information from source Entry `s` to this object. As the Name field relates to the XPATH of this object, this field is not copied.

type FwSyslog Uses

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

FwSyslog is the client.Network.SyslogServerProfile namespace.

func (*FwSyslog) Delete Uses

func (c *FwSyslog) Delete(vsys string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwSyslog) Edit Uses

func (c *FwSyslog) Edit(vsys string, e Entry) error

Edit performs EDIT to create / update one object.

func (*FwSyslog) Get Uses

func (c *FwSyslog) Get(vsys, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*FwSyslog) GetList Uses

func (c *FwSyslog) GetList(vsys string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*FwSyslog) Initialize Uses

func (c *FwSyslog) Initialize(con util.XapiClient)

Initialize is invoked by client.Initialize().

func (*FwSyslog) Set Uses

func (c *FwSyslog) Set(vsys string, e ...Entry) error

Set performs SET to create / update one or more objects.

func (*FwSyslog) SetWithoutSubconfig Uses

func (c *FwSyslog) SetWithoutSubconfig(vsys string, e Entry) error

SetWithoutSubconfig performs a DELETE to remove any subconfig before performing a SET to create an object.

func (*FwSyslog) Show Uses

func (c *FwSyslog) Show(vsys, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*FwSyslog) ShowList Uses

func (c *FwSyslog) ShowList(vsys string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

type PanoSyslog Uses

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

PanoSyslog is the client.Network.SyslogServerProfile namespace.

func (*PanoSyslog) Delete Uses

func (c *PanoSyslog) Delete(tmpl, ts, vsys, dg string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoSyslog) Edit Uses

func (c *PanoSyslog) Edit(tmpl, ts, vsys, dg string, e Entry) error

Edit performs EDIT to create / update one object.

func (*PanoSyslog) Get Uses

func (c *PanoSyslog) Get(tmpl, ts, vsys, dg, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*PanoSyslog) GetList Uses

func (c *PanoSyslog) GetList(tmpl, ts, vsys, dg string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*PanoSyslog) Initialize Uses

func (c *PanoSyslog) Initialize(con util.XapiClient)

Initialize is invoked by client.Initialize().

func (*PanoSyslog) Set Uses

func (c *PanoSyslog) Set(tmpl, ts, vsys, dg string, e ...Entry) error

Set performs SET to create / update one or more objects.

func (*PanoSyslog) SetWithoutSubconfig Uses

func (c *PanoSyslog) SetWithoutSubconfig(tmpl, ts, vsys, dg string, e Entry) error

SetWithoutSubconfig performs a DELETE to remove any subconfig before performing a SET to create an object.

func (*PanoSyslog) Show Uses

func (c *PanoSyslog) Show(tmpl, ts, vsys, dg, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*PanoSyslog) ShowList Uses

func (c *PanoSyslog) ShowList(tmpl, ts, vsys, dg string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

Directories

PathSynopsis
serverPackage server is the client.Object.SyslogServer namespace.

Package syslog imports 4 packages (graph) and is imported by 1 packages. Updated 2019-08-25. Refresh now. Tools for package owners.