Documentation ¶
Overview ¶
Package aggregate is the client.Network.AggregateInterface namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type Firewall
- func (c *Firewall) Delete(e ...interface{}) error
- func (c *Firewall) Edit(vsys string, e Entry) error
- func (c *Firewall) Get(name string) (Entry, error)
- func (c *Firewall) GetAll() ([]Entry, error)
- func (c *Firewall) GetList() ([]string, error)
- func (c *Firewall) Set(vsys string, e ...Entry) error
- func (c *Firewall) Show(name string) (Entry, error)
- func (c *Firewall) ShowAll() ([]Entry, error)
- func (c *Firewall) ShowList() ([]string, error)
- type Panorama
- func (c *Panorama) Delete(tmpl, ts string, e ...interface{}) error
- func (c *Panorama) Edit(tmpl, ts, vsys string, e Entry) error
- func (c *Panorama) Get(tmpl, ts, name string) (Entry, error)
- func (c *Panorama) GetAll(tmpl, ts string) ([]Entry, error)
- func (c *Panorama) GetList(tmpl, ts string) ([]string, error)
- func (c *Panorama) Set(tmpl, ts, vsys string, e ...Entry) error
- func (c *Panorama) Show(tmpl, ts, name string) (Entry, error)
- func (c *Panorama) ShowAll(tmpl, ts string) ([]Entry, error)
- func (c *Panorama) ShowList(tmpl, ts string) ([]string, error)
Constants ¶
const ( ModeHa = "ha" ModeDecryptMirror = "decrypt-mirror" ModeVirtualWire = "virtual-wire" ModeLayer2 = "layer2" ModeLayer3 = "layer3" )
Valid Mode values.
const ( LacpModePassive = "passive" LacpModeActive = "active" )
Valid values for LacpMode.
const ( LacpTransmissionRateFast = "fast" LacpTransmissionRateSlow = "slow" )
Valid values for LacpTransmissionRate.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Mode string NetflowProfile string Mtu int AdjustTcpMss bool Ipv4MssAdjust int Ipv6MssAdjust int EnableUntaggedSubinterface bool StaticIps []string // ordered Ipv6Enabled bool Ipv6InterfaceId string ManagementProfile string EnableDhcp bool CreateDhcpDefaultRoute bool DhcpDefaultRouteMetric int LacpEnable bool // ha, l2, l3 LacpFastFailover bool // ha, l2, l3 LacpMode string // ha, l2, l3 LacpTransmissionRate string // ha, l2, l3 LacpSystemPriority int // ha, l2, l3 LacpMaxPorts int // ha, l2, l3 LacpHaPassivePreNegotiation bool // l2, l3 LacpHaEnableSameSystemMac bool // l2, l3 LacpHaSameSystemMacAddress string // l2, l3 LldpEnable bool LldpProfile string LldpHaPassivePreNegotiation bool Comment string DecryptForward bool // 8.1+ DhcpSendHostnameEnable bool // 9.0+ DhcpSendHostnameValue string // 9.0+ // contains filtered or unexported fields }
Entry is a normalized, version independent representation of an aggregate ethernet interface.
type Firewall ¶ added in v0.5.0
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Network.AggregateInterface namespace.
func FirewallNamespace ¶ added in v0.5.0
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
func (*Firewall) Delete ¶ added in v0.5.0
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
func (*Firewall) Get ¶ added in v0.5.0
Get performs GET to retrieve configuration for the given object.
func (*Firewall) Show ¶ added in v0.5.0
Show performs SHOW to retrieve configuration for the given object.
type Panorama ¶ added in v0.5.0
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Network.AggregateInterface namespace.
func PanoramaNamespace ¶ added in v0.5.0
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) Delete ¶ added in v0.5.0
Delete performs DELETE to remove the specified objects.
Objects can be either a string or an Entry object.
func (*Panorama) Get ¶ added in v0.5.0
Get performs GET to retrieve configuration for the given object.
func (*Panorama) Show ¶ added in v0.5.0
Show performs SHOW to retrieve configuration for the given object.