ethernet_switch frankie_carbone
Simics Reference Manual  /  4 Components  / 

ethernet_vlan_switch

Description

Ethernet VLAN switch: this component represents a switched Ethernet network with VLAN support. Any number of devices is allowed to connect to various ports of the switch. Each port can be configured with its own VLAN information, in order to create sub-networks in the switch.

Interfaces Implemented

conf_object, log_object, component, component_connector

Notifiers

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.

Connectors

Name Type Direction
trunk_dev0 ethernet-link any

Commands for this class

Commands for interface component

Attributes

component_queue
Pseudo attribute; read/write access; type: a
The queue object for this component. It is only used as a placeholder for the real queue object before the component is instantiated. It can point to an instantiated cycle object or a pre_conf object.
components
Optional attribute; read/write access; type: [o*]
This attribute is only valid for top-level components. List of components below the top-level component. This attribute is not valid until the object has been instantiated.
cpu_list
Pseudo attribute; read/write access; type: [o*]
A list of all processors that belong to the component. This attribute is not valid until the object has been instantiated. This attribute is only used in top-level components and other components that are used as software domains.
domain
Optional attribute; read/write access; type: o|n
This attribute is only valid for top-level components. Domain to put the component in.
dynamic_slots
Pseudo attribute; read/write access; type: D|n
Do not use. Kept for checkpoint compatibility.
global_id
Optional attribute; read/write access; type: s|n
Global identifier for use in distributed simulation or NIL if the link is not distributed.
goal_latency
Optional attribute; read/write access; type: f
Goal latency in seconds for this link. See also the set-min-latency command.
immediate_delivery
Optional attribute; read/write access; type: b
Immediate delivery instead of using the specified latency. Implies nondeterminism for multi cell messaging.
instantiated
Optional attribute; read/write access; type: b
Set to TRUE if the component has been instantiated.
machine_icon
Optional attribute; read/write access; type: s|n
This attribute is only valid for top-level components. An instance of a top-level component may override the default system_icon with its own icon. This attribute is the name of an 80x80 pixel large icon in PNG format that should reside in the [host]/lib/images/ directory of the Simics installation or the project.
object_list
Pseudo attribute; read-only access; type: D|n
Dictionary with the instantiated objects that the component consists of.
object_prefix
Optional attribute; read/write access; type: s
Object prefix string used by the component.
pending_cell_object_factories
Optional attribute; read/write access; type: [[ss]*]
Internal attribute for pending cell objects factories.
static_slots
Pseudo attribute; read/write access; type: D|n
Do not use. Kept for checkpoint compatibility.
system_info
Optional attribute; read/write access; type: s|n
This attribute is only valid for top-level components. A short single-line description of the current configuration of the system that the component is a top-level of. The line may include the Linux name of the simulated machine, the installed operating system, or similar information. For example Tango - Fedora Core 5 Linux
top_component
Optional attribute; read/write access; type: o|n
The top level component. Attribute is not valid until the component has been instantiated.
top_level
Optional attribute; read/write access; type: b
Set to TRUE for top-level components, i.e. the root of a hierarchy.

Class Attributes

basename
Pseudo attribute; read/write access; type: s|n
component_icon
Pseudo attribute; read/write access; type: s|n
config_attributes
Pseudo attribute; read/write access; type: [[s[a*]]*]
system_icon
Pseudo attribute; read-only access; type: s|n

Provided By

eth-links
ethernet_switch frankie_carbone