Documentation ¶
Overview ¶
Package v2c is the client.Object.SnmpV2cServer 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 ¶
- type Entry
- type FwV2c
- func (c *FwV2c) Delete(vsys, profile string, e ...interface{}) error
- func (c *FwV2c) Edit(vsys, profile string, e Entry) error
- func (c *FwV2c) Get(vsys, profile, name string) (Entry, error)
- func (c *FwV2c) GetList(vsys, profile string) ([]string, error)
- func (c *FwV2c) Initialize(con util.XapiClient)
- func (c *FwV2c) Set(vsys, profile string, e ...Entry) error
- func (c *FwV2c) Show(vsys, profile, name string) (Entry, error)
- func (c *FwV2c) ShowList(vsys, profile string) ([]string, error)
- type PanoV2c
- func (c *PanoV2c) Delete(tmpl, ts, vsys, profile string, e ...interface{}) error
- func (c *PanoV2c) Edit(tmpl, ts, vsys, profile string, e Entry) error
- func (c *PanoV2c) Get(tmpl, ts, vsys, profile, name string) (Entry, error)
- func (c *PanoV2c) GetList(tmpl, ts, vsys, profile string) ([]string, error)
- func (c *PanoV2c) Initialize(con util.XapiClient)
- func (c *PanoV2c) Set(tmpl, ts, vsys, profile string, e ...Entry) error
- func (c *PanoV2c) Show(tmpl, ts, vsys, profile, name string) (Entry, error)
- func (c *PanoV2c) ShowList(tmpl, ts, vsys, profile string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry is a normalized, version independent representation of a snmptrap v2c server.
PAN-OS 7.1+.
type FwV2c ¶
type FwV2c struct {
// contains filtered or unexported fields
}
FwV2c is the client.Network.SnmpV2cServer namespace.
func (*FwV2c) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwV2c) Initialize ¶
func (c *FwV2c) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoV2c ¶
type PanoV2c struct {
// contains filtered or unexported fields
}
PanoV2c is the client.Network.SnmpV2cServer namespace.
func (*PanoV2c) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoV2c) Initialize ¶
func (c *PanoV2c) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().