Documentation ¶
Overview ¶
Package bgp is the client.Network.BgpConfig namespace.
Normalized object: Config
Index ¶
- Constants
- type Config
- type Firewall
- func (c *Firewall) Delete(vr string) error
- func (c *Firewall) Edit(vr string, e Config) error
- func (c *Firewall) FromPanosConfig(vr string) (Config, error)
- func (c *Firewall) Get(vr string) (Config, error)
- func (c *Firewall) Set(vr string, e Config) error
- func (c *Firewall) Show(vr string) (Config, error)
- type Panorama
- func (c *Panorama) Delete(tmpl, ts, vr string) error
- func (c *Panorama) Edit(tmpl, ts, vr string, e Config) error
- func (c *Panorama) FromPanosConfig(tmpl, ts, vr string) (Config, error)
- func (c *Panorama) Get(tmpl, ts, vr string) (Config, error)
- func (c *Panorama) Set(tmpl, ts, vr string, e Config) error
- func (c *Panorama) Show(tmpl, ts, vr string) (Config, error)
Constants ¶
const ( AsFormat2Byte = "2-byte" AsFormat4Byte = "4-byte" )
Valid values for AsFormat.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enable bool RouterId string AsNumber string // XML: local-as BfdProfile string // 7.1+ ; XML: global-bfd/profile or the word "None" RejectDefaultRoute bool InstallRoute bool AggregateMed bool DefaultLocalPreference string AsFormat string AlwaysCompareMed bool DeterministicMedComparison bool EcmpMultiAs bool // 7.0+ EnforceFirstAs bool // 8.0+ EnableGracefulRestart bool StaleRouteTime int LocalRestartTime int MaxPeerRestartTime int ReflectorClusterId string ConfederationMemberAs string AllowRedistributeDefaultRoute bool // contains filtered or unexported fields }
Config is a normalized, version independent representation of a virtual router's BGP configuration.
type Firewall ¶ added in v0.5.0
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Network.BgpConfig namespace.
func FirewallNamespace ¶ added in v0.5.0
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
func (*Firewall) FromPanosConfig ¶ added in v0.7.0
FromPanosConfig retrieves the object stored in the retrieved config.
func (*Firewall) Get ¶ added in v0.5.0
Get performs GET to retrieve configuration for the given object.
type Panorama ¶ added in v0.5.0
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Network.BgpConfig namespace.
func PanoramaNamespace ¶ added in v0.5.0
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) FromPanosConfig ¶ added in v0.7.0
FromPanosConfig retrieves the object stored in the retrieved config.
func (*Panorama) Get ¶ added in v0.5.0
Get performs GET to retrieve configuration for the given object.
Directories ¶
Path | Synopsis |
---|---|
Package aggregate is the client.Network.BgpAggregation namespace.
|
Package aggregate is the client.Network.BgpAggregation namespace. |
filter/advertise
Package advertise is the client.Network.BgpAggAdvertiseFilter namespace.
|
Package advertise is the client.Network.BgpAggAdvertiseFilter namespace. |
filter/suppress
Package suppress is the client.Network.BgpAggSuppressFilter namespace.
|
Package suppress is the client.Network.BgpAggSuppressFilter namespace. |
Package conadv is the client.Network.BgpConditionalAdv namespace.
|
Package conadv is the client.Network.BgpConditionalAdv namespace. |
filter/advertise
Package advertise is the client.Network.BgpConAdvAdvertiseFilter namespace.
|
Package advertise is the client.Network.BgpConAdvAdvertiseFilter namespace. |
filter/nonexist
Package nonexist is the client.Network.BgpConAdvNonExistFilter namespace.
|
Package nonexist is the client.Network.BgpConAdvNonExistFilter namespace. |
Package exp is the client.Network.BgpExport namespace.
|
Package exp is the client.Network.BgpExport namespace. |
Package imp is the client.Network.BgpImport namespace.
|
Package imp is the client.Network.BgpImport namespace. |
Package peer is the client.Network.BgpPeer namespace.
|
Package peer is the client.Network.BgpPeer namespace. |
group
Package group is the client.Network.BgpPeerGroup namespace.
|
Package group is the client.Network.BgpPeerGroup namespace. |
profile
|
|
auth
Package auth is the client.Network.BgpAuthProfile namespace.
|
Package auth is the client.Network.BgpAuthProfile namespace. |
dampening
Package dampening is the client.Network.BgpDampeningProfile namespace.
|
Package dampening is the client.Network.BgpDampeningProfile namespace. |
Package redist is the client.Network.BgpRedistRule namespace.
|
Package redist is the client.Network.BgpRedistRule namespace. |