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