Documentation ¶
Overview ¶
Package peer is the client.Network.BgpPeer namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwPeer
- func (c *FwPeer) Delete(vr, pg string, e ...interface{}) error
- func (c *FwPeer) Edit(vr, pg string, e Entry) error
- func (c *FwPeer) Get(vr, pg, name string) (Entry, error)
- func (c *FwPeer) GetList(vr, pg string) ([]string, error)
- func (c *FwPeer) Initialize(con util.XapiClient)
- func (c *FwPeer) Set(vr, pg string, e ...Entry) error
- func (c *FwPeer) Show(vr, pg, name string) (Entry, error)
- func (c *FwPeer) ShowList(vr, pg string) ([]string, error)
- type PanoPeer
- func (c *PanoPeer) Delete(tmpl, ts, vr, pg string, e ...interface{}) error
- func (c *PanoPeer) Edit(tmpl, ts, vr, pg string, e Entry) error
- func (c *PanoPeer) Get(tmpl, ts, vr, pg, name string) (Entry, error)
- func (c *PanoPeer) GetList(tmpl, ts, vr, pg string) ([]string, error)
- func (c *PanoPeer) Initialize(con util.XapiClient)
- func (c *PanoPeer) Set(tmpl, ts, vr, pg string, e ...Entry) error
- func (c *PanoPeer) Show(tmpl, ts, vr, pg, name string) (Entry, error)
- func (c *PanoPeer) ShowList(tmpl, ts, vr, pg string) ([]string, error)
Constants ¶
const ( ReflectorClientNonClient = "non-client" ReflectorClientClient = "client" ReflectorClientMeshedClient = "meshed-client" )
Valid values for ReflectorClient.
const ( PeeringTypeBilateral = "bilateral" PeeringTypeUnspecified = "unspecified" )
Valid values for PeeringType.
const ( BfdProfileInherit = "Inherit-vr-global-setting" BfdProfileNone = "None" )
Valid values for BfdProfile, besides an actual BFD profile's name.
const ( AddressFamilyTypeIpv4 = "ipv4" AddressFamilyTypeIpv6 = "ipv6" )
Valid values for AddressFamilyType.
const MaxPrefixesUnlimited = "unlimited"
Valid non-int value for MaxPrefixes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Enable bool PeerAs string LocalAddressInterface string LocalAddressIp string PeerAddressIp string ReflectorClient string PeeringType string MaxPrefixes string AuthProfile string KeepAliveInterval int MultiHop int OpenDelayTime int HoldTime int IdleHoldTime int AllowIncomingConnections bool IncomingConnectionsRemotePort int AllowOutgoingConnections bool OutgoingConnectionsLocalPort int BfdProfile string // 7.1+ EnableMpBgp bool // 8.0+ AddressFamilyType string // 8.0+ SubsequentAddressFamilyUnicast bool // 8.0+ SubsequentAddressFamilyMulticast bool // 8.0+ EnableSenderSideLoopDetection bool // 8.0+ MinRouteAdvertisementInterval int // 8.1+ }
Entry is a normalized, version independent representation of a BGP peer group peer.
type FwPeer ¶
type FwPeer struct {
// contains filtered or unexported fields
}
FwPeer is the client.Network.BgpPeer namespace.
func (*FwPeer) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwPeer) Initialize ¶
func (c *FwPeer) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoPeer ¶
type PanoPeer struct {
// contains filtered or unexported fields
}
PanoPeer is the client.Network.BgpPeer namespace.
func (*PanoPeer) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoPeer) Initialize ¶
func (c *PanoPeer) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().