Documentation ¶
Overview ¶
Package arp is the client.Network.Arp namespace.
If you're configuring arp for a VLAN interface, leave the iName param empty and specify the vlan name (eg: vlan.1) as the subName.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type Firewall
- func (c *Firewall) AllFromPanosConfig(iType, iName, subName string) ([]Entry, error)
- func (c *Firewall) Delete(iType, iName, subName string, e ...interface{}) error
- func (c *Firewall) Edit(iType, iName, subName string, e Entry) error
- func (c *Firewall) FromPanosConfig(iType, iName, subName, name string) (Entry, error)
- func (c *Firewall) Get(iType, iName, subName, ip string) (Entry, error)
- func (c *Firewall) GetAll(iType, iName, subName string) ([]Entry, error)
- func (c *Firewall) GetList(iType, iName, subName string) ([]string, error)
- func (c *Firewall) Set(iType, iName, subName string, e ...Entry) error
- func (c *Firewall) Show(iType, iName, subName, ip string) (Entry, error)
- func (c *Firewall) ShowAll(iType, iName, subName string) ([]Entry, error)
- func (c *Firewall) ShowList(iType, iName, subName string) ([]string, error)
- type Panorama
- func (c *Panorama) AllFromPanosConfig(tmpl, ts, iType, iName, subName string) ([]Entry, error)
- func (c *Panorama) Delete(tmpl, ts, iType, iName, subName string, e ...interface{}) error
- func (c *Panorama) Edit(tmpl, ts, iType, iName, subName string, e Entry) error
- func (c *Panorama) FromPanosConfig(tmpl, ts, iType, iName, subName, name string) (Entry, error)
- func (c *Panorama) Get(tmpl, ts, iType, iName, subName, ip string) (Entry, error)
- func (c *Panorama) GetAll(tmpl, ts, iType, iName, subName string) ([]Entry, error)
- func (c *Panorama) GetList(tmpl, ts, iType, iName, subName string) ([]string, error)
- func (c *Panorama) Set(tmpl, ts, iType, iName, subName string, e ...Entry) error
- func (c *Panorama) Show(tmpl, ts, iType, iName, subName, ip string) (Entry, error)
- func (c *Panorama) ShowAll(tmpl, ts, iType, iName, subName string) ([]Entry, error)
- func (c *Panorama) ShowList(tmpl, ts, iType, iName, subName string) ([]string, error)
Constants ¶
const ( TypeEthernet = "ethernet" TypeAggregate = "aggregate-ethernet" TypeVlan = "vlan" )
Valid values for the iType param.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry is a normalized, version independent representation of an arp entry.
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Network.Arp 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.Arp 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.