bfd

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: ISC Imports: 3 Imported by: 1

Documentation

Overview

Package bfd is the client.Network.BfdProfile namespace.

Normalized object: Entry

Index

Constants

View Source
const (
	ModeActive  = "active"
	ModePassive = "passive"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name                string
	Mode                string
	MinimumTxInterval   int
	MinimumRxInterval   int
	DetectionMultiplier int
	HoldTime            int
	MinimumRxTtl        int
}

Entry is a normalized, version independent representation of a BFD profile.

func (*Entry) Copy

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 FwBfd

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

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

func (*FwBfd) Delete

func (c *FwBfd) Delete(e ...interface{}) error

Delete removes the given BFD profiles from the firewall.

Profiles can be either a string or an Entry object.

func (*FwBfd) Edit

func (c *FwBfd) Edit(e Entry) error

Edit performs EDIT to create / update an BFD profile.

func (*FwBfd) Get

func (c *FwBfd) Get(name string) (Entry, error)

Get performs GET to retrieve information for the given BFD profile.

func (*FwBfd) GetList

func (c *FwBfd) GetList() ([]string, error)

GetList performs GET to retrieve a list of BFD profiles.

func (*FwBfd) Initialize

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

Initialize is invoked when Initialize on the pango.Client is called.

func (*FwBfd) Set

func (c *FwBfd) Set(e ...Entry) error

Set performs SET to create / update one or more BFD profiles.

func (*FwBfd) Show

func (c *FwBfd) Show(name string) (Entry, error)

Get performs SHOW to retrieve information for the given BFD profile.

func (*FwBfd) ShowList

func (c *FwBfd) ShowList() ([]string, error)

ShowList performs SHOW to retrieve a list of BFD profiles.

type PanoBfd

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

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

func (*PanoBfd) Delete

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

Delete removes the given BFD profiles from the firewall.

Profiles can be either a string or an Entry object.

func (*PanoBfd) Edit

func (c *PanoBfd) Edit(tmpl, ts string, e Entry) error

Edit performs EDIT to create / update an BFD profile.

func (*PanoBfd) Get

func (c *PanoBfd) Get(tmpl, ts, name string) (Entry, error)

Get performs GET to retrieve information for the given BFD profile.

func (*PanoBfd) GetList

func (c *PanoBfd) GetList(tmpl, ts string) ([]string, error)

GetList performs GET to retrieve a list of BFD profiles.

func (*PanoBfd) Initialize

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

Initialize is invoked when Initialize on the pango.Client is called.

func (*PanoBfd) Set

func (c *PanoBfd) Set(tmpl, ts string, e ...Entry) error

Set performs SET to create / update one or more BFD profiles.

func (*PanoBfd) Show

func (c *PanoBfd) Show(tmpl, ts, name string) (Entry, error)

Get performs SHOW to retrieve information for the given BFD profile.

func (*PanoBfd) ShowList

func (c *PanoBfd) ShowList(tmpl, ts string) ([]string, error)

ShowList performs SHOW to retrieve a list of BFD profiles.

Jump to

Keyboard shortcuts

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