Documentation ¶
Overview ¶
Package layer2 is the client.Network.Layer2Subinterface namespace.
Normalized object: Entry
Index ¶
- Constants
- type Entry
- type FwLayer2
- func (c *FwLayer2) Delete(iType, eth, mType string, e ...interface{}) error
- func (c *FwLayer2) Edit(iType, eth, mType, vsys string, e Entry) error
- func (c *FwLayer2) Get(iType, eth, mType, name string) (Entry, error)
- func (c *FwLayer2) GetList(iType, eth, mType string) ([]string, error)
- func (c *FwLayer2) Initialize(con util.XapiClient)
- func (c *FwLayer2) Set(iType, eth, mType, vsys string, e ...Entry) error
- func (c *FwLayer2) Show(iType, eth, mType, name string) (Entry, error)
- func (c *FwLayer2) ShowList(iType, eth, mType string) ([]string, error)
- type PanoLayer2
- func (c *PanoLayer2) Delete(tmpl, ts, iType, eth, mType string, e ...interface{}) error
- func (c *PanoLayer2) Edit(tmpl, ts, iType, eth, mType, vsys string, e Entry) error
- func (c *PanoLayer2) Get(tmpl, ts, iType, eth, mType, name string) (Entry, error)
- func (c *PanoLayer2) GetList(tmpl, ts, iType, eth, mType string) ([]string, error)
- func (c *PanoLayer2) Initialize(con util.XapiClient)
- func (c *PanoLayer2) Set(tmpl, ts, iType, eth, mType, vsys string, e ...Entry) error
- func (c *PanoLayer2) Show(tmpl, ts, iType, eth, mType, name string) (Entry, error)
- func (c *PanoLayer2) ShowList(tmpl, ts, iType, eth, mType string) ([]string, error)
Constants ¶
const ( VirtualWire = "virtual-wire" Layer2 = "layer2" )
Valid mType values.
const ( EthernetInterface = "ethernet" AggregateInterface = "aggregate-ethernet" )
Valid iType values.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FwLayer2 ¶
type FwLayer2 struct {
// contains filtered or unexported fields
}
FwLayer2 is the client.Network.Layer2Subinterface namespace.
func (*FwLayer2) Delete ¶
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*FwLayer2) Initialize ¶
func (c *FwLayer2) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
type PanoLayer2 ¶
type PanoLayer2 struct {
// contains filtered or unexported fields
}
PanoLayer2 is the client.Network.Layer2Subinterface namespace.
func (*PanoLayer2) Delete ¶
func (c *PanoLayer2) Delete(tmpl, ts, iType, eth, mType string, e ...interface{}) error
Delete removes the given objects.
Objects can be a string or an Entry object.
func (*PanoLayer2) Edit ¶
func (c *PanoLayer2) Edit(tmpl, ts, iType, eth, mType, vsys string, e Entry) error
Edit performs EDIT to create / update one object.
func (*PanoLayer2) Get ¶
func (c *PanoLayer2) Get(tmpl, ts, iType, eth, mType, name string) (Entry, error)
Get performs GET to retrieve information for the given uid.
func (*PanoLayer2) GetList ¶
func (c *PanoLayer2) GetList(tmpl, ts, iType, eth, mType string) ([]string, error)
GetList performs GET to retrieve a list of values.
func (*PanoLayer2) Initialize ¶
func (c *PanoLayer2) Initialize(con util.XapiClient)
Initialize is invoked by client.Initialize().
func (*PanoLayer2) Set ¶
func (c *PanoLayer2) Set(tmpl, ts, iType, eth, mType, vsys string, e ...Entry) error
Set performs SET to create / update one or more objects.