Documentation ¶
Overview ¶
Package redist is the client.Network.BgpRedistRule namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwRedist
- func (c *FwRedist) Delete(vr string, e ...interface{}) error
- func (c *FwRedist) Edit(vr string, e Entry) error
- func (c *FwRedist) Get(vr, name string) (Entry, error)
- func (c *FwRedist) GetList(vr string) ([]string, error)
- func (c *FwRedist) Initialize(con util.XapiClient)
- func (c *FwRedist) Set(vr string, e ...Entry) error
- func (c *FwRedist) Show(vr, name string) (Entry, error)
- func (c *FwRedist) ShowList(vr string) ([]string, error)
- type PanoRedist
- func (c *PanoRedist) Delete(tmpl, ts, vr string, e ...interface{}) error
- func (c *PanoRedist) Edit(tmpl, ts, vr string, e Entry) error
- func (c *PanoRedist) Get(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoRedist) GetList(tmpl, ts, vr string) ([]string, error)
- func (c *PanoRedist) Initialize(con util.XapiClient)
- func (c *PanoRedist) Set(tmpl, ts, vr string, e ...Entry) error
- func (c *PanoRedist) Show(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoRedist) ShowList(tmpl, ts, vr string) ([]string, error)
Constants ¶
const ( AddressFamilyIpv4 = "ipv4" AddressFamilyIpv6 = "ipv6" )
Valid values for AddressFamily (PAN-OS 8.0+).
const ( RouteTableUnicast = "unicast" RouteTableMulticast = "multicast" RouteTableBoth = "both" )
Valid values for RouteTable (PAN-OS 8.0+).
const ( SetOriginIgp = "igp" SetOriginEgp = "egp" SetOriginIncomplete = "incomplete" )
Valid values for Origin.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Enable bool AddressFamily string RouteTable string // 8.0+ Metric int SetOrigin string SetMed string SetLocalPreference string SetAsPathLimit int SetCommunity []string SetExtendedCommunity []string }
Entry is a normalized, version independent representation of a BGP redistribution rule.
type FwRedist ¶
type FwRedist struct {
// contains filtered or unexported fields
}
FwRedist is the client.Network.BgpRedistRule namespace.
func (*FwRedist) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwRedist) Initialize ¶
func (c *FwRedist) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoRedist ¶
type PanoRedist struct {
// contains filtered or unexported fields
}
PanoRedist is the client.Network.BgpRedistRule namespace.
func (*PanoRedist) Delete ¶
func (c *PanoRedist) Delete(tmpl, ts, vr string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoRedist) Edit ¶
func (c *PanoRedist) Edit(tmpl, ts, vr string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoRedist) Get ¶
func (c *PanoRedist) Get(tmpl, ts, vr, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoRedist) GetList ¶
func (c *PanoRedist) GetList(tmpl, ts, vr string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoRedist) Initialize ¶
func (c *PanoRedist) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoRedist) Set ¶
func (c *PanoRedist) Set(tmpl, ts, vr string, e ...Entry) error
Set performs SET to create / update one or more objects.