suppress

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: ISC Imports: 4 Imported by: 2

Documentation

Overview

Package suppress is the client.Network.BgpAggSuppressFilter namespace.

Normalized object: Entry

Index

Constants

View Source
const (
	RouteTableUnicast   = "unicast"
	RouteTableMulticast = "multicast"
	RouteTableBoth      = "both"
)

Valid values for RouteTable.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name                   string
	Enable                 bool
	AsPathRegex            string
	CommunityRegex         string
	ExtendedCommunityRegex string
	Med                    string
	RouteTable             string // 8.0+
	AddressPrefix          map[string]bool
	NextHop                []string
	FromPeer               []string
}

Entry is a normalized, version independent representation of a BGP aggregation suppress filter.

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 FwSuppress

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

FwSuppress is the client.Network.BgpAggSuppressFilter namespace.

func (*FwSuppress) Delete

func (c *FwSuppress) Delete(vr, ag string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwSuppress) Edit

func (c *FwSuppress) Edit(vr, ag string, e Entry) error

Edit performs EDIT to create / update one object.

func (*FwSuppress) Get

func (c *FwSuppress) Get(vr, ag, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*FwSuppress) GetList

func (c *FwSuppress) GetList(vr, ag string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*FwSuppress) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwSuppress) Set

func (c *FwSuppress) Set(vr, ag string, e ...Entry) error

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

func (*FwSuppress) Show

func (c *FwSuppress) Show(vr, ag, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*FwSuppress) ShowList

func (c *FwSuppress) ShowList(vr, ag string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

type PanoSuppress

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

PanoSuppress is the client.Network.BgpAggSuppressFilter namespace.

func (*PanoSuppress) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoSuppress) Edit

func (c *PanoSuppress) Edit(tmpl, ts, vr, ag string, e Entry) error

Edit performs EDIT to create / update one object.

func (*PanoSuppress) Get

func (c *PanoSuppress) Get(tmpl, ts, vr, ag, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*PanoSuppress) GetList

func (c *PanoSuppress) GetList(tmpl, ts, vr, ag string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*PanoSuppress) Initialize

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

Initialize is invoked by client.Initialize().

func (*PanoSuppress) Set

func (c *PanoSuppress) Set(tmpl, ts, vr, ag string, e ...Entry) error

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

func (*PanoSuppress) Show

func (c *PanoSuppress) Show(tmpl, ts, vr, ag, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*PanoSuppress) ShowList

func (c *PanoSuppress) ShowList(tmpl, ts, vr, ag string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

Jump to

Keyboard shortcuts

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