avocado_i2n.vmnet.interface module

Interface object for the vmnet utility.

SUMMARY

Copyright: Intra2net AG

CONTENTS

This is the basic building block of the vm network. Interfaces are grouped in nodes (the virtual machines they belong to) and in netconfigs (the local networks they define together).

INTERFACE

class avocado_i2n.vmnet.interface.VMInterface(name: str, params: Params)[source]

Bases: object

Get the interface class.

property node: VMNode | None

Get a reference to the node the interface belongs to.

property netconfig: VMNetconfig | None

Get a reference to the netconfig the interface belongs to.

property params: Params

Use as the interface filtered test parameters.

property mac: str | None

MAC address used by the network interface.

property ip: str | None

Interface properties

property name: str | None

Name for the interface.