Documentation
¶
Overview ¶
Package aggregate is the client.Network.AggregateInterface namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwAggregate
- func (c *FwAggregate) Delete(e ...interface{}) error
- func (c *FwAggregate) Edit(e Entry) error
- func (c *FwAggregate) Get(name string) (Entry, error)
- func (c *FwAggregate) GetList() ([]string, error)
- func (c *FwAggregate) Initialize(con util.XapiClient)
- func (c *FwAggregate) Set(e ...Entry) error
- func (c *FwAggregate) Show(name string) (Entry, error)
- func (c *FwAggregate) ShowList() ([]string, error)
- type PanoAggregate
- func (c *PanoAggregate) Delete(tmpl, ts string, e ...interface{}) error
- func (c *PanoAggregate) Edit(tmpl, ts string, e Entry) error
- func (c *PanoAggregate) Get(tmpl, ts, name string) (Entry, error)
- func (c *PanoAggregate) GetList(tmpl, ts string) ([]string, error)
- func (c *PanoAggregate) Initialize(con util.XapiClient)
- func (c *PanoAggregate) Set(tmpl, ts string, e ...Entry) error
- func (c *PanoAggregate) Show(tmpl, ts, name string) (Entry, error)
- func (c *PanoAggregate) ShowList(tmpl, ts string) ([]string, error)
Constants ¶
const ( ModeHa = "ha" ModeDecryptMirror = "decrypt-mirror" ModeVirtualWire = "virtual-wire" ModeLayer2 = "layer2" ModeLayer3 = "layer3" )
Valid Mode values.
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
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 FwAggregate ¶
type FwAggregate struct {
// contains filtered or unexported fields
}
FwAggregate is the client.Network.AggregateInterface namespace.
func (*FwAggregate) Delete ¶
func (c *FwAggregate) Delete(e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwAggregate) Edit ¶
func (c *FwAggregate) Edit(e Entry) error
Edit performs EDIT to create / update one object.
func (*FwAggregate) Get ¶
func (c *FwAggregate) Get(name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*FwAggregate) GetList ¶
func (c *FwAggregate) GetList() ([]string, error)
GetList performs GET to retrieve a list of values.
func (*FwAggregate) Initialize ¶
func (c *FwAggregate) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*FwAggregate) Set ¶
func (c *FwAggregate) Set(e ...Entry) error
Set performs SET to create / update one or more objects.
func (*FwAggregate) Show ¶
func (c *FwAggregate) Show(name string) (Entry, error)
Show performs SHOW to retrieve information for the given uid.
func (*FwAggregate) ShowList ¶
func (c *FwAggregate) ShowList() ([]string, error)
ShowList performs SHOW to retrieve a list of values.
type PanoAggregate ¶
type PanoAggregate struct {
// contains filtered or unexported fields
}
PanoAggregate is the client.Network.AggregateInterface namespace.
func (*PanoAggregate) Delete ¶
func (c *PanoAggregate) Delete(tmpl, ts string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoAggregate) Edit ¶
func (c *PanoAggregate) Edit(tmpl, ts string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoAggregate) Get ¶
func (c *PanoAggregate) Get(tmpl, ts, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoAggregate) GetList ¶
func (c *PanoAggregate) GetList(tmpl, ts string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoAggregate) Initialize ¶
func (c *PanoAggregate) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoAggregate) Set ¶
func (c *PanoAggregate) Set(tmpl, ts string, e ...Entry) error
Set performs SET to create / update one or more objects.