Documentation ¶
Overview ¶
Package gre is the client.Network.GreTunnel namespace.
Only valid for PAN-OS 9.0+.
GRE tunnels are not imported into the vsys.
Panorama seems to have GRE tunnels in templates only, not template stacks.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwGre
- func (c *FwGre) Delete(e ...interface{}) error
- func (c *FwGre) Edit(e Entry) error
- func (c *FwGre) Get(name string) (Entry, error)
- func (c *FwGre) GetList() ([]string, error)
- func (c *FwGre) Initialize(con util.XapiClient)
- func (c *FwGre) Set(e ...Entry) error
- func (c *FwGre) Show(name string) (Entry, error)
- func (c *FwGre) ShowList() ([]string, error)
- type PanoGre
- func (c *PanoGre) Delete(tmpl, ts string, e ...interface{}) error
- func (c *PanoGre) Edit(tmpl, ts string, e Entry) error
- func (c *PanoGre) Get(tmpl, ts, name string) (Entry, error)
- func (c *PanoGre) GetList(tmpl, ts string) ([]string, error)
- func (c *PanoGre) Initialize(con util.XapiClient)
- func (c *PanoGre) Set(tmpl, ts string, e ...Entry) error
- func (c *PanoGre) Show(tmpl, ts, name string) (Entry, error)
- func (c *PanoGre) ShowList(tmpl, ts string) ([]string, error)
Constants ¶
const ( LocalAddressTypeIp = "ip" LocalAddressTypeFloatingIp = "floating-ip" )
Valid LocalAddressType values.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Interface string LocalAddressType string LocalAddressValue string PeerAddress string TunnelInterface string Ttl int CopyTos bool EnableKeepAlive bool KeepAliveInterval int KeepAliveRetry int KeepAliveHoldTimer int Disabled bool }
Entry is a normalized, version independent representation of a peer.
type FwGre ¶
type FwGre struct {
// contains filtered or unexported fields
}
FwGre is the client.Network.GreTunnel namespace.
func (*FwGre) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwGre) Initialize ¶
func (c *FwGre) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoGre ¶
type PanoGre struct {
// contains filtered or unexported fields
}
PanoGre is the client.Network.GreTunnel namespace.
func (*PanoGre) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoGre) Initialize ¶
func (c *PanoGre) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().