Documentation ¶
Overview ¶
Package group is the client.Network.BgpPeerGroup namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwGroup
- func (c *FwGroup) Delete(vr string, e ...interface{}) error
- func (c *FwGroup) Edit(vr string, e Entry) error
- func (c *FwGroup) Get(vr, name string) (Entry, error)
- func (c *FwGroup) GetList(vr string) ([]string, error)
- func (c *FwGroup) Initialize(con util.XapiClient)
- func (c *FwGroup) Set(vr string, e ...Entry) error
- func (c *FwGroup) Show(vr, name string) (Entry, error)
- func (c *FwGroup) ShowList(vr string) ([]string, error)
- type PanoGroup
- func (c *PanoGroup) Delete(tmpl, ts, vr string, e ...interface{}) error
- func (c *PanoGroup) Edit(tmpl, ts, vr string, e Entry) error
- func (c *PanoGroup) Get(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoGroup) GetList(tmpl, ts, vr string) ([]string, error)
- func (c *PanoGroup) Initialize(con util.XapiClient)
- func (c *PanoGroup) Set(tmpl, ts, vr string, e ...Entry) error
- func (c *PanoGroup) Show(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoGroup) ShowList(tmpl, ts, vr string) ([]string, error)
Constants ¶
const ( TypeEbgp = "ebgp" TypeEbgpConfed = "ebgp-confed" TypeIbgp = "ibgp" TypeIbgpConfed = "ibgp-confed" )
Valid values for Type.
const ( NextHopOriginal = "original" NextHopUseSelf = "use-self" NextHopResolve = "resolve" NextHopUsePeer = "use-peer" )
Valid values for ExportNextHop and ImportNextHop. NextHopResolve is valid only for ExportNextHop for TypeEbgp. NextHopUsePeer is valid only for ImportNextHop for TypeEbgp.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Enable bool AggregatedConfedAsPath bool SoftResetWithStoredInfo bool Type string ExportNextHop string ImportNextHop string RemovePrivateAs bool // contains filtered or unexported fields }
Entry is a normalized, version independent representation of a BGP peer group.
type FwGroup ¶
type FwGroup struct {
// contains filtered or unexported fields
}
FwGroup is the client.Network.BgpPeerGroup namespace.
func (*FwGroup) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwGroup) Initialize ¶
func (c *FwGroup) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoGroup ¶
type PanoGroup struct {
// contains filtered or unexported fields
}
PanoGroup is the client.Network.BgpPeerGroup namespace.
func (*PanoGroup) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoGroup) Initialize ¶
func (c *PanoGroup) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().