Documentation ¶
Overview ¶
Package aggregate is the client.Network.BgpAggregation namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwAggregate
- func (c *FwAggregate) Delete(vr string, e ...interface{}) error
- func (c *FwAggregate) Edit(vr string, e Entry) error
- func (c *FwAggregate) Get(vr, name string) (Entry, error)
- func (c *FwAggregate) GetList(vr string) ([]string, error)
- func (c *FwAggregate) Initialize(con util.XapiClient)
- func (c *FwAggregate) Set(vr string, e ...Entry) error
- func (c *FwAggregate) Show(vr, name string) (Entry, error)
- func (c *FwAggregate) ShowList(vr string) ([]string, error)
- type PanoAggregate
- func (c *PanoAggregate) Delete(tmpl, ts, vr string, e ...interface{}) error
- func (c *PanoAggregate) Edit(tmpl, ts, vr string, e Entry) error
- func (c *PanoAggregate) Get(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoAggregate) GetList(tmpl, ts, vr string) ([]string, error)
- func (c *PanoAggregate) Initialize(con util.XapiClient)
- func (c *PanoAggregate) Set(tmpl, ts, vr string, e ...Entry) error
- func (c *PanoAggregate) Show(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoAggregate) ShowList(tmpl, ts, vr string) ([]string, error)
Constants ¶
const ( OriginIgp = "igp" OriginEgp = "egp" OriginIncomplete = "incomplete" )
Valid values for Origin.
const ( CommunityTypeNone = "none" CommunityTypeRemoveAll = "remove-all" CommunityTypeRemoveRegex = "remove-regex" CommunityTypeAppend = "append" CommunityTypeOverwrite = "overwrite" )
Valid values for CommunityType.
const ( AppendNoExport = "no-export" AppendNoAdvertise = "no-advertise" AppendLocalAs = "local-as" AppendNoPeer = "nopeer" )
Valid values for CommunityValue when CommunityType is "append" or "overwrite".
const ( AsPathTypeNone = "none" AsPathTypeRemove = "remove" AsPathTypePrepend = "prepend" AsPathTypeRemoveAndPrepend = "remove-and-prepend" )
Valid values for AsPathType. As of PAN-OS 8.1, "prepend" and "remove-and-prepend" are disabled.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Prefix string Enable bool Summary bool AsSet bool LocalPreference string Med string Weight int NextHop string Origin string AsPathLimit int AsPathType string AsPathValue string CommunityType string CommunityValue string ExtendedCommunityType string ExtendedCommunityValue string // contains filtered or unexported fields }
Entry is a normalized, version independent representation of a BGP address aggregation policy.
type FwAggregate ¶
type FwAggregate struct {
// contains filtered or unexported fields
}
FwAggregate is the client.Network.BgpAggregation namespace.
func (*FwAggregate) Delete ¶
func (c *FwAggregate) Delete(vr string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwAggregate) Edit ¶
func (c *FwAggregate) Edit(vr string, e Entry) error
Edit performs EDIT to create / update one object.
func (*FwAggregate) Get ¶
func (c *FwAggregate) Get(vr, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*FwAggregate) GetList ¶
func (c *FwAggregate) GetList(vr string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*FwAggregate) Initialize ¶
func (c *FwAggregate) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*FwAggregate) Set ¶
func (c *FwAggregate) Set(vr string, e ...Entry) error
Set performs SET to create / update one or more objects.
type PanoAggregate ¶
type PanoAggregate struct {
// contains filtered or unexported fields
}
PanoAggregate is the client.Network.BgpAggregate namespace.
func (*PanoAggregate) Delete ¶
func (c *PanoAggregate) Delete(tmpl, ts, vr string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoAggregate) Edit ¶
func (c *PanoAggregate) Edit(tmpl, ts, vr string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoAggregate) Get ¶
func (c *PanoAggregate) Get(tmpl, ts, vr, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoAggregate) GetList ¶
func (c *PanoAggregate) GetList(tmpl, ts, vr string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoAggregate) Initialize ¶
func (c *PanoAggregate) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoAggregate) Set ¶
func (c *PanoAggregate) Set(tmpl, ts, vr string, e ...Entry) error
Set performs SET to create / update one or more objects.
Directories ¶
Path | Synopsis |
---|---|
filter
|
|
advertise
Package advertise is the client.Network.BgpAggAdvertiseFilter namespace.
|
Package advertise is the client.Network.BgpAggAdvertiseFilter namespace. |
suppress
Package suppress is the client.Network.BgpAggSuppressFilter namespace.
|
Package suppress is the client.Network.BgpAggSuppressFilter namespace. |