Ethernet bridge using a TAP interface.
conf_object, log_object, ethernet_common, recorded, real_network
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
info
– print information about the object
-
status
– print status of the object
-
interface
-
Required attribute;
read/write access; type:
s|n
The name of the TAP interface on the host.
-
connected
-
Optional attribute;
read/write access; type:
b
Set to true if the object is connected to the real network and configured properly. Also used to initiate a new connection. If the object successfully opened the TAP device but failed to read the IP address and netmask, this attribute has to be set to true again after the TAP device has been configured.
-
tap_bridge
-
Optional attribute;
read/write access; type:
b
Should be set to true if the TAP interface is used to setup an Ethernet bridge.
-
host_ip
-
Pseudo attribute;
read-only access; type:
s
IP address of the network adapter (TAP) connected to the real network.
-
host_netmask
-
Pseudo attribute;
read-only access; type:
s
Network address mask of the host Ethernet network.
-
run_in_thread
-
Optional attribute;
read/write access; type:
i
The run_in_thread level, either 1 or 2.
-
link
-
Optional attribute;
read/write access; type:
o|n
Simulated Ethernet link to connect to.
-
recorder
-
Required attribute;
read/write access; type:
o
Recorder device for recording and playback of traffic from the real network.
-
tx_bandwidth
-
Optional attribute;
read/write access; type:
i
The transmit bandwidth of the network interface in bits per second. The network interface will limit the rate at which it sends packets to remain below this bandwidth. Set to 0 for unlimited bandwidth. Default limit is 10Mbit/s.
-
tx_next_time
-
Optional attribute;
read/write access; type:
f
Next time the bandwidth limitation allows us to send a frame
-
tx_packet_rate
-
Optional attribute;
read/write access; type:
i
The maximum transmit rate of the network interface in packets per second. The network interface will limit the rate at which it sends packets to remain below this rate. Set to 0 for unlimited rate, which is the default.
-
network_devices
-
Pseudo attribute;
read-only access; type:
[s*]
List of TAP interfaces on the host machine.
real-network