layer3

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: ISC Imports: 4 Imported by: 0

Documentation

Overview

Package layer3 is the client.Network.Layer3Subinterface namespace.

Normalized object: Entry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

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

Entry is a normalized, version independent representation of a layer3 subinterface.

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 FwLayer3

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

FwLayer3 is the client.Network.Layer3Subinterface namespace.

func (*FwLayer3) Delete

func (c *FwLayer3) Delete(eth string, e ...interface{}) error

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*FwLayer3) Edit

func (c *FwLayer3) Edit(vsys, eth string, e Entry) error

Edit performs EDIT to create / update one object.

func (*FwLayer3) Get

func (c *FwLayer3) Get(eth, name string) (Entry, error)

Get performs GET to retrieve information for the given uid.

func (*FwLayer3) GetList

func (c *FwLayer3) GetList(eth string) ([]string, error)

GetList performs GET to retrieve a list of values.

func (*FwLayer3) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwLayer3) Set

func (c *FwLayer3) Set(vsys, eth string, e ...Entry) error

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

func (*FwLayer3) Show

func (c *FwLayer3) Show(eth, name string) (Entry, error)

Show performs SHOW to retrieve information for the given uid.

func (*FwLayer3) ShowList

func (c *FwLayer3) ShowList(eth string) ([]string, error)

ShowList performs SHOW to retrieve a list of values.

type PanoLayer3

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

PanoLayer3 is the client.Network.Layer3Subinterface namespace.

func (*PanoLayer3) Delete

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

Delete removes the given objects.

Objects can be a string or an Entry object.

func (*PanoLayer3) Edit

func (c *PanoLayer3) Edit(tmpl, ts, vsys, eth string, e Entry) error

Edit performs EDIT to create / update one object.

func (*PanoLayer3) Get

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

Get performs GET to retrieve information for the given uid.

func (*PanoLayer3) GetList

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

GetList performs GET to retrieve a list of values.

func (*PanoLayer3) Initialize

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

Initialize is invoked by client.Initialize().

func (*PanoLayer3) Set

func (c *PanoLayer3) Set(vsys, tmpl, ts, eth string, e ...Entry) error

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

func (*PanoLayer3) Show

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

Show performs SHOW to retrieve information for the given uid.

func (*PanoLayer3) ShowList

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