Documentation ¶
Overview ¶
Package ipv4 is the client.Network.StaticRoute namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwIpv4
- func (c *FwIpv4) Delete(vr string, e ...interface{}) error
- func (c *FwIpv4) Edit(vr string, e Entry) error
- func (c *FwIpv4) Get(vr, name string) (Entry, error)
- func (c *FwIpv4) GetList(vr string) ([]string, error)
- func (c *FwIpv4) Initialize(con util.XapiClient)
- func (c *FwIpv4) Set(vr string, e ...Entry) error
- func (c *FwIpv4) Show(vr, name string) (Entry, error)
- func (c *FwIpv4) ShowList(vr string) ([]string, error)
- type PanoIpv4
- func (c *PanoIpv4) Delete(tmpl, ts, vr string, e ...interface{}) error
- func (c *PanoIpv4) Edit(tmpl, ts, vr string, e Entry) error
- func (c *PanoIpv4) Get(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoIpv4) GetList(tmpl, ts, vr string) ([]string, error)
- func (c *PanoIpv4) Initialize(con util.XapiClient)
- func (c *PanoIpv4) Set(tmpl, ts, vr string, e ...Entry) error
- func (c *PanoIpv4) Show(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoIpv4) ShowList(tmpl, ts, vr string) ([]string, error)
Constants ¶
View Source
const ( NextHopDiscard = "discard" NextHopIpAddress = "ip-address" NextHopNextVr = "next-vr" )
View Source
const ( RouteTableNoInstall = "no install" RouteTableUnicast = "unicast" RouteTableMulticast = "multicast" RouteTableBoth = "both" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Destination string Interface string Type string NextHop string AdminDistance int Metric int RouteTable string BfdProfile string }
Entry is a normalized, version independent representation of an IPv4 static route.
type FwIpv4 ¶
type FwIpv4 struct {
// contains filtered or unexported fields
}
FwIpv4 is the client.Network.StaticRoute namespace.
func (*FwIpv4) Delete ¶
Delete removes the given IPv4 routes.
IPv4 routes can be a string or an Entry object.
func (*FwIpv4) Initialize ¶
func (c *FwIpv4) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoIpv4 ¶
type PanoIpv4 struct {
// contains filtered or unexported fields
}
PanoIpv4 is the client.Network.StaticRoute namespace.
func (*PanoIpv4) Delete ¶
Delete removes the given IPv4 routes.
IPv4 routes can be a string or an Entry object.
func (*PanoIpv4) Initialize ¶
func (c *PanoIpv4) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
Click to show internal directories.
Click to hide internal directories.