tunnel

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: ISC Imports: 3 Imported by: 2

Documentation

Overview

Package loopback is the client.Network.TunnelInterface 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
	Comment           string
	NetflowProfile    string
	StaticIps         []string // ordered
	ManagementProfile string
	Mtu               int
	// contains filtered or unexported fields
}

Entry is a normalized, version independent representation of a VLAN 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 FwTunnel

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

FwTunnel is the client.Network.TunnelInterface namespace.

func (*FwTunnel) Delete

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

Delete removes the given tunnel interface(s) from the firewall.

Interfaces can be a string or an Entry object.

func (*FwTunnel) Edit

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

Edit performs EDIT to create / update the specified tunnel interface.

Specifying a non-empty vsys will import the interface into that vsys, allowing the vsys to use it.

func (*FwTunnel) Get

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

Get performs GET to retrieve information for the given tunnel interface.

func (*FwTunnel) GetList

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

GetList performs GET to retrieve a list of tunnel interfaces.

func (*FwTunnel) Initialize

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

Initialize is invoked by client.Initialize().

func (*FwTunnel) Set

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

Set performs SET to create / update one or more tunnel interfaces.

Specifying a non-empty vsys will import the interfaces into that vsys, allowing the vsys to use them.

func (*FwTunnel) Show

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

Show performs SHOW to retrieve information for the given tunnel interface.

func (*FwTunnel) ShowList

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

ShowList performs SHOW to retrieve a list of tunnel interfaces.

type PanoTunnel

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

PanoTunnel is the client.Network.TunnelInterface namespace.

func (*PanoTunnel) Delete

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

Delete removes the given tunnel interface(s) from the firewall.

Interfaces can be a string or an Entry object.

func (*PanoTunnel) Edit

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

Edit performs EDIT to create / update the specified tunnel interface.

Specifying a non-empty vsys will import the interface into that vsys, allowing the vsys to use it.

func (*PanoTunnel) Get

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

Get performs GET to retrieve information for the given tunnel interface.

func (*PanoTunnel) GetList

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

GetList performs GET to retrieve a list of tunnel interfaces.

func (*PanoTunnel) Initialize

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

Initialize is invoked by client.Initialize().

func (*PanoTunnel) Set

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

Set performs SET to create / update one or more tunnel interfaces.

Specifying a non-empty vsys will import the interfaces into that vsys, allowing the vsys to use them.

func (*PanoTunnel) Show

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

Show performs SHOW to retrieve information for the given tunnel interface.

func (*PanoTunnel) ShowList

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

ShowList performs SHOW to retrieve a list of tunnel interfaces.

Jump to

Keyboard shortcuts

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