Documentation ¶
Overview ¶
Package advertise is the client.Network.BgpAggAdvertiseFilter namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwAdvertise
- func (c *FwAdvertise) Delete(vr, ag string, e ...interface{}) error
- func (c *FwAdvertise) Edit(vr, ag string, e Entry) error
- func (c *FwAdvertise) Get(vr, ag, name string) (Entry, error)
- func (c *FwAdvertise) GetList(vr, ag string) ([]string, error)
- func (c *FwAdvertise) Initialize(con util.XapiClient)
- func (c *FwAdvertise) Set(vr, ag string, e ...Entry) error
- func (c *FwAdvertise) Show(vr, ag, name string) (Entry, error)
- func (c *FwAdvertise) ShowList(vr, ag string) ([]string, error)
- type PanoAdvertise
- func (c *PanoAdvertise) Delete(tmpl, ts, vr, ag string, e ...interface{}) error
- func (c *PanoAdvertise) Edit(tmpl, ts, vr, ag string, e Entry) error
- func (c *PanoAdvertise) Get(tmpl, ts, vr, ag, name string) (Entry, error)
- func (c *PanoAdvertise) GetList(tmpl, ts, vr, ag string) ([]string, error)
- func (c *PanoAdvertise) Initialize(con util.XapiClient)
- func (c *PanoAdvertise) Set(tmpl, ts, vr, ag string, e ...Entry) error
- func (c *PanoAdvertise) Show(tmpl, ts, vr, ag, name string) (Entry, error)
- func (c *PanoAdvertise) ShowList(tmpl, ts, vr, ag string) ([]string, error)
Constants ¶
const ( RouteTableUnicast = "unicast" RouteTableMulticast = "multicast" RouteTableBoth = "both" )
Valid values for RouteTable.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Enable bool AsPathRegex string CommunityRegex string ExtendedCommunityRegex string Med string RouteTable string // 8.0+ AddressPrefix map[string]bool NextHop []string FromPeer []string }
Entry is a normalized, version independent representation of a BGP aggregation advertisement filter.
type FwAdvertise ¶
type FwAdvertise struct {
// contains filtered or unexported fields
}
FwAdvertise is the client.Network.BgpAggAdvertiseFilter namespace.
func (*FwAdvertise) Delete ¶
func (c *FwAdvertise) Delete(vr, ag string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwAdvertise) Edit ¶
func (c *FwAdvertise) Edit(vr, ag string, e Entry) error
Edit performs EDIT to create / update one object.
func (*FwAdvertise) Get ¶
func (c *FwAdvertise) Get(vr, ag, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*FwAdvertise) GetList ¶
func (c *FwAdvertise) GetList(vr, ag string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*FwAdvertise) Initialize ¶
func (c *FwAdvertise) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*FwAdvertise) Set ¶
func (c *FwAdvertise) Set(vr, ag string, e ...Entry) error
Set performs SET to create / update one or more objects.
type PanoAdvertise ¶
type PanoAdvertise struct {
// contains filtered or unexported fields
}
PanoAdvertise is the client.Network.BgpAggAdvertiseFilter namespace.
func (*PanoAdvertise) Delete ¶
func (c *PanoAdvertise) Delete(tmpl, ts, vr, ag string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoAdvertise) Edit ¶
func (c *PanoAdvertise) Edit(tmpl, ts, vr, ag string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoAdvertise) Get ¶
func (c *PanoAdvertise) Get(tmpl, ts, vr, ag, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoAdvertise) GetList ¶
func (c *PanoAdvertise) GetList(tmpl, ts, vr, ag string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoAdvertise) Initialize ¶
func (c *PanoAdvertise) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoAdvertise) Set ¶
func (c *PanoAdvertise) Set(tmpl, ts, vr, ag string, e ...Entry) error
Set performs SET to create / update one or more objects.