Documentation ¶
Overview ¶
Package ipv4 is the client.Network.RedistributionProfile namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwIpv4
- func (c *FwIpv4) Delete(vr string, e ...interface{}) error
- func (c *FwIpv4) Edit(vr string, e Entry) error
- func (c *FwIpv4) Get(vr, name string) (Entry, error)
- func (c *FwIpv4) GetList(vr string) ([]string, error)
- func (c *FwIpv4) Initialize(con util.XapiClient)
- func (c *FwIpv4) Set(vr string, e ...Entry) error
- func (c *FwIpv4) Show(vr, name string) (Entry, error)
- func (c *FwIpv4) ShowList(vr string) ([]string, error)
- type PanoIpv4
- func (c *PanoIpv4) Delete(tmpl, ts, vr string, e ...interface{}) error
- func (c *PanoIpv4) Edit(tmpl, ts, vr string, e Entry) error
- func (c *PanoIpv4) Get(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoIpv4) GetList(tmpl, ts, vr string) ([]string, error)
- func (c *PanoIpv4) Initialize(con util.XapiClient)
- func (c *PanoIpv4) Set(tmpl, ts, vr string, e ...Entry) error
- func (c *PanoIpv4) Show(tmpl, ts, vr, name string) (Entry, error)
- func (c *PanoIpv4) ShowList(tmpl, ts, vr string) ([]string, error)
Constants ¶
const ( ActionRedist = "redist" ActionNoRedist = "no-redist" )
These are valid values for the Action param.
const ( TypeBgp = "bgp" TypeConnect = "connect" TypeOspf = "ospf" TypeRip = "rip" TypeStatic = "static" )
These are valid values for Types.
const ( OspfPathTypeIntraArea = "intra-area" OspfPathTypeInterArea = "inter-area" OspfPathTypeExt1 = "ext-1" OspfPathTypeExt2 = "ext-2" )
These are valid values for OspfPathTypes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Priority int Action string Types []string Interfaces []string Destinations []string NextHops []string OspfPathTypes []string OspfAreas []string OspfTags []string BgpCommunities []string BgpExtendedCommunities []string }
Entry is a normalized, version independent representation of a redist profile.
type FwIpv4 ¶
type FwIpv4 struct {
// contains filtered or unexported fields
}
FwIpv4 is the client.Network.RedistributionProfile namespace.
func (*FwIpv4) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwIpv4) Initialize ¶
func (c *FwIpv4) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoIpv4 ¶
type PanoIpv4 struct {
// contains filtered or unexported fields
}
PanoIpv4 is the client.Network.RedistributionProfile namespace.
func (*PanoIpv4) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoIpv4) Initialize ¶
func (c *PanoIpv4) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().