Documentation ¶
Overview ¶
Package eth is the client.Network.EthernetInterface namespace.
Normalized object: Entry
Index ¶
- type Entry
- type FwEth
- func (c *FwEth) Delete(e ...interface{}) error
- func (c *FwEth) Edit(vsys string, e Entry) error
- func (c *FwEth) Get(name string) (Entry, error)
- func (c *FwEth) GetList() ([]string, error)
- func (c *FwEth) Initialize(con util.XapiClient)
- func (c *FwEth) Set(vsys string, e ...Entry) error
- func (c *FwEth) Show(name string) (Entry, error)
- func (c *FwEth) ShowList() ([]string, error)
- type PanoEth
- func (c *PanoEth) Delete(tmpl, ts string, e ...interface{}) error
- func (c *PanoEth) Edit(tmpl, ts, vsys string, e Entry) error
- func (c *PanoEth) Get(tmpl, ts, name string) (Entry, error)
- func (c *PanoEth) GetList(tmpl, ts string) ([]string, error)
- func (c *PanoEth) Initialize(con util.XapiClient)
- func (c *PanoEth) Set(tmpl, ts, vsys string, e ...Entry) error
- func (c *PanoEth) Show(tmpl, ts, name string) (Entry, error)
- func (c *PanoEth) ShowList(tmpl, ts string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string Mode string StaticIps []string // ordered EnableDhcp bool CreateDhcpDefaultRoute bool DhcpDefaultRouteMetric int Ipv6Enabled bool Ipv6InterfaceId string ManagementProfile string Mtu int AdjustTcpMss bool NetflowProfile string LldpEnabled bool LldpProfile string LinkSpeed string LinkDuplex string LinkState string AggregateGroup string Comment string Ipv4MssAdjust int // 7.1+ Ipv6MssAdjust int // 7.1+ EnableUntaggedSubinterface bool // 7.1+ DecryptForward bool // 8.1+ RxPolicingRate int // 8.1+ TxPolicingRate int // 8.1+ DhcpSendHostnameEnable bool // 9.0+ DhcpSendHostnameValue string // 9.0+ // contains filtered or unexported fields }
Entry is a normalized, version independent representation of an ethernet interface.
type FwEth ¶
type FwEth struct {
// contains filtered or unexported fields
}
FwEth is the client.Network.EthernetInterface namespace.
func (*FwEth) Delete ¶
Delete removes the given interface(s) from the firewall.
Interfaces can be a string or an Entry object.
func (*FwEth) Edit ¶
Edit performs EDIT to create / update the specified ethernet interface.
Specifying a non-empty vsys will import the interface into that vsys, allowing the vsys to use it, as long as the interface does not have a mode of "ha" or "aggregate-group". Interfaces that have either of those modes are omitted from this function's followup vsys import.
func (*FwEth) Initialize ¶
func (c *FwEth) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*FwEth) Set ¶
Set performs SET to create / update one or more ethernet interfaces.
Specifying a non-empty vsys will import the interfaces into that vsys, allowing the vsys to use them, as long as the interface does not have a mode of "ha" or "aggregate-group". Interfaces that have either of those modes are omitted from this function's followup vsys import.
type PanoEth ¶
type PanoEth struct {
// contains filtered or unexported fields
}
PanoEth is the client.Network.EthernetInterface namespace.
func (*PanoEth) Delete ¶
Delete removes the given interface(s) from the firewall.
Interfaces can be a string or an Entry object.
func (*PanoEth) Edit ¶
Edit performs EDIT to create / update the specified ethernet interface.
Specifying a non-empty vsys will import the interface into that vsys, allowing the vsys to use it, as long as the interface does not have a mode of "ha" or "aggregate-group". Interfaces that have either of those modes are omitted from this function's followup vsys import.
func (*PanoEth) Initialize ¶
func (c *PanoEth) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoEth) Set ¶
Set performs SET to create / update one or more ethernet interfaces.
Specifying a non-empty vsys will import the interfaces into that vsys, allowing the vsys to use them, as long as the interface does not have a mode of "ha" or "aggregate-group". Interfaces that have either of those modes are omitted from this function's followup vsys import.