Documentation ¶
Overview ¶
Package dampening is the client.Network.BgpDampeningProfile namespace.
Normalized object: Entry
Index ¶
- type Entry
- type FwDampening
- func (c *FwDampening) Delete(vr string, e ...interface{}) error
- func (c *FwDampening) Edit(vr string, e Entry) error
- func (c *FwDampening) Get(vr, name string) (Entry, error)
- func (c *FwDampening) GetList(vr string) ([]string, error)
- func (c *FwDampening) Initialize(con util.XapiClient)
- func (c *FwDampening) Set(vr string, e ...Entry) error
- func (c *FwDampening) Show(vr, name string) (Entry, error)
- func (c *FwDampening) ShowList(vr string) ([]string, error)
- type PanoDampening
- func (c *PanoDampening) Delete(tmpl, ts, vr string, e ...interface{}) error
- func (c *PanoDampening) Edit(tmpl, ts, vr string, e Entry) error
- func (c *PanoDampening) Get(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoDampening) GetList(tmpl, ts, vr string) ([]string, error)
- func (c *PanoDampening) Initialize(con util.XapiClient)
- func (c *PanoDampening) Set(tmpl, ts, vr string, e ...Entry) error
- func (c *PanoDampening) Show(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoDampening) ShowList(tmpl, ts, vr string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Enable bool Cutoff float64 Reuse float64 MaxHoldTime int DecayHalfLifeReachable int DecayHalfLifeUnreachable int }
Entry is a normalized, version independent representation of a dampening profile.
type FwDampening ¶
type FwDampening struct {
// contains filtered or unexported fields
}
FwDampening is the client.Network.BgpDampeningProfile namespace.
func (*FwDampening) Delete ¶
func (c *FwDampening) Delete(vr string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwDampening) Edit ¶
func (c *FwDampening) Edit(vr string, e Entry) error
Edit performs EDIT to create / update one object.
func (*FwDampening) Get ¶
func (c *FwDampening) Get(vr, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*FwDampening) GetList ¶
func (c *FwDampening) GetList(vr string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*FwDampening) Initialize ¶
func (c *FwDampening) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*FwDampening) Set ¶
func (c *FwDampening) Set(vr string, e ...Entry) error
Set performs SET to create / update one or more objects.
type PanoDampening ¶
type PanoDampening struct {
// contains filtered or unexported fields
}
PanoDampening is the client.Network.BgpDampeningProfile namespace.
func (*PanoDampening) Delete ¶
func (c *PanoDampening) Delete(tmpl, ts, vr string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoDampening) Edit ¶
func (c *PanoDampening) Edit(tmpl, ts, vr string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoDampening) Get ¶
func (c *PanoDampening) Get(tmpl, ts, vr, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoDampening) GetList ¶
func (c *PanoDampening) GetList(tmpl, ts, vr string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoDampening) Initialize ¶
func (c *PanoDampening) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoDampening) Set ¶
func (c *PanoDampening) Set(tmpl, ts, vr string, e ...Entry) error
Set performs SET to create / update one or more objects.