Documentation ¶
Overview ¶
Package iface is the client.Network.OspfAreaInterface namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type Firewall
- func (c *Firewall) AllFromPanosConfig(vr, area string) ([]Entry, error)
- func (c *Firewall) Delete(vr, area string, e ...interface{}) error
- func (c *Firewall) Edit(vr, area string, e Entry) error
- func (c *Firewall) FromPanosConfig(vr, area, name string) (Entry, error)
- func (c *Firewall) Get(vr, area, name string) (Entry, error)
- func (c *Firewall) GetAll(vr, area string) ([]Entry, error)
- func (c *Firewall) GetList(vr, area string) ([]string, error)
- func (c *Firewall) Set(vr, area string, e ...Entry) error
- func (c *Firewall) Show(vr, area, name string) (Entry, error)
- func (c *Firewall) ShowAll(vr, area string) ([]Entry, error)
- func (c *Firewall) ShowList(vr, area string) ([]string, error)
- type Panorama
- func (c *Panorama) AllFromPanosConfig(tmpl, ts, vr, area string) ([]Entry, error)
- func (c *Panorama) Delete(tmpl, ts, vr, area string, e ...interface{}) error
- func (c *Panorama) Edit(tmpl, ts, vr, area string, e Entry) error
- func (c *Panorama) FromPanosConfig(tmpl, ts, vr, area, name string) (Entry, error)
- func (c *Panorama) Get(tmpl, ts, vr, area, name string) (Entry, error)
- func (c *Panorama) GetAll(tmpl, ts, vr, area string) ([]Entry, error)
- func (c *Panorama) GetList(tmpl, ts, vr, area string) ([]string, error)
- func (c *Panorama) Set(tmpl, ts, vr, area string, e ...Entry) error
- func (c *Panorama) Show(tmpl, ts, vr, area, name string) (Entry, error)
- func (c *Panorama) ShowAll(tmpl, ts, vr, area string) ([]Entry, error)
- func (c *Panorama) ShowList(tmpl, ts, vr, area string) ([]string, error)
Constants ¶
const ( // LinkType Values LinkTypeBroadcast = "broadcast" LinkTypePointToPoint = "p2p" LinkTypePointToMultiPoint = "p2mp" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Enable bool Passive bool LinkType string Metric int Priority int HelloInterval int DeadCounts int RetransmitInterval int TransitDelay int GraceRestartDelay int AuthProfile string Neighbors []string // unordered; p2mp link type only BfdProfile string }
Entry is a normalized, version independent representation of an OSPF area interface.
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Network.OspfAreaInterface namespace.
func FirewallNamespace ¶
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
func (*Firewall) AllFromPanosConfig ¶ added in v0.7.0
AllFromPanosConfig retrieves all objects stored in the retrieved config.
func (*Firewall) Delete ¶
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
func (*Firewall) FromPanosConfig ¶ added in v0.7.0
FromPanosConfig retrieves the object stored in the retrieved config.
type Panorama ¶
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Network.OspfAreaInterface namespace.
func PanoramaNamespace ¶
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) AllFromPanosConfig ¶ added in v0.7.0
AllFromPanosConfig retrieves all objects stored in the retrieved config.
func (*Panorama) Delete ¶
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
func (*Panorama) FromPanosConfig ¶ added in v0.7.0
FromPanosConfig retrieves the object stored in the retrieved config.