aggregate

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: ISC Imports: 4 Imported by: 2

Documentation

Overview

Package aggregate is the client.Network.AggregateInterface namespace.

Normalized object: Entry

Index

Constants

View Source
const (
	ModeHa            = "ha"
	ModeDecryptMirror = "decrypt-mirror"
	ModeVirtualWire   = "virtual-wire"
	ModeLayer2        = "layer2"
	ModeLayer3        = "layer3"
)

Valid Mode values.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Name                       string
	Mode                       string
	NetflowProfile             string
	Mtu                        int
	AdjustTcpMss               bool
	Ipv4MssAdjust              int
	Ipv6MssAdjust              int
	EnableUntaggedSubinterface bool
	StaticIps                  []string // ordered
	Ipv6Enabled                bool
	Ipv6InterfaceId            string
	ManagementProfile          string
	EnableDhcp                 bool
	CreateDhcpDefaultRoute     bool
	DhcpDefaultRouteMetric     int
	Comment                    string
	DecryptForward             bool   // 8.1+
	DhcpSendHostnameEnable     bool   // 9.0+
	DhcpSendHostnameValue      string // 9.0+
	// contains filtered or unexported fields
}

Entry is a normalized, version independent representation of an aggregate ethernet interface.

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 FwAggregate

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

FwAggregate is the client.Network.AggregateInterface namespace.

func (*FwAggregate) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwAggregate) Edit

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

Edit performs EDIT to create / update one object.

func (*FwAggregate) Get

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

Get performs GET to retrieve information for the given uid.

func (*FwAggregate) GetList

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

GetList performs GET to retrieve a list of values.

func (*FwAggregate) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwAggregate) Set

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

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

func (*FwAggregate) Show

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

Show performs SHOW to retrieve information for the given uid.

func (*FwAggregate) ShowList

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

ShowList performs SHOW to retrieve a list of values.

type PanoAggregate

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

PanoAggregate is the client.Network.AggregateInterface namespace.

func (*PanoAggregate) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoAggregate) Edit

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

Edit performs EDIT to create / update one object.

func (*PanoAggregate) Get

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

Get performs GET to retrieve information for the given uid.

func (*PanoAggregate) GetList

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

GetList performs GET to retrieve a list of values.

func (*PanoAggregate) Initialize

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

Initialize is invoked by client.Initialize().

func (*PanoAggregate) Set

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

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

func (*PanoAggregate) Show

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

Show performs SHOW to retrieve information for the given uid.

func (*PanoAggregate) ShowList

func (c *PanoAggregate) ShowList(tmpl, ts 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