byteblowerll.byteblower.ByteBlowerInterface

class byteblowerll.byteblower.ByteBlowerInterface(*args, **kwargs)

Example

interface = bbServer.InterfaceGetByName('trunk-1-14')
packetDump = interface.PacketDumpCreate()
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

DescriptionGet(*args) Gets a textual description for the current object
GetPhysicalInterface()
NameGet() Returns the name of the ByteBlower Interface
PacketDumpCreate()
return:returns a PacketDump object
PacketDumpDestroy(packet_dump) Destroys a PacketDump on this interface :param: PacketDump object that you want to destroy from the interface`.
ParentGet() Returns the parent object.
PortCountGet()
return:number of ports on this ByteBlowerInterface
PortCreate() Creates a new ByteBlower port on this ByteBlowerInterface.
PortDestroy(inPort)
param port:ByteBlowerPort object that you want to destroy from the interface`.
PortGet()
return:A list of ByteBlower ports on this interface
PortIdGet()
return:The id of the first ByteBlower port on this interface
Refresh() Retrieves the latest data from the server for this object.
SpeedGet()
return:TODO??
SwitchIdGet() Returns the ID of the switch where the ByteBlower Interface ?? Deprecated??
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag