Port SERVICEACCESS - SERVICE-PASSIVE ๐ยถ
Port for passive support of Ethernet services
Stimulationยถ
This port has no stimulus capabilities.
Properties ๐ยถ
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Physical Layer โฒNetwork Accessโณ |
|||||
Network name |
string |
Name of the network. Must be the same like the network name used by other participants whose packets should be received if no Switches etc. are defined in the SIL Kit configuration. |
|||
Controller name |
string |
An arbitrary name to be used when registering the ethernet controller to SIL Kit. |
|||
Automatic data reception on test run |
โ |
bool |
Only operative if on the left for โStartโ either โAlwaysโ is chosen, or โIf necessaryโ and the port is in use in the test configuration. |
||
VLAN Settings โฒIEEE 802.1Qโณ |
IPC is disabled |
||||
VLAN mode |
IPC is disabled |
auto |
[auto, disable, single tagging] |
string |
Set to โautoโ if the VLAN id from the database should be used, โdisableโ if no VLAN should be used or โsingle taggingโ if a fixed VLAN id should be specified |
VLAN id |
IPC is disabled ยป VLAN mode: โsingle taggingโ |
0 |
int |
If incoming packets have a VLAN tag, they will be filtered and only packets having this VLAN id will pass. Incoming packets without any VLAN tag will also pass the filter. |
|
SOME/IP Settings |
IPC is disabled |
||||
SD Multicast IP |
IPC is disabled |
โautoโ |
string |
Multicast IP address to be used for Service Discovery. Set it to โautoโ if the value from the database should be used |
|
SD Port |
IPC is disabled |
โautoโ |
string |
UDP port to be used for Service Discovery. Set it to โautoโ if the value from the database should be used. |
|
Behavior in case of protocol errors |
IPC is disabled |
โNotPresentโ |
[โERRORโ, โNotPresentโ] |
string |
Behavior of the test step when a protocol error occurs (e.g. the control unit does not respond). By default โNotPresentโ is returned. Alternatively, the test step can be evaluated with โERRORโ. |
Jobs ๐ยถ
LearnBPFilterยถ
Learns the endpoints (source IP address and port) of all needed services. Endpoints that are encountered within the specified timeout, but are not needed, will be transformed into a negative Berkeley Packet Filter which drops corresponding network packets. This filter will be used for reception in the test case as well as for pcap(ng) recording via this port. The negative filter may be extended by a user-defined part using BPF syntax. If the recording is already running, the learned filter has no influence on it.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
clearCache |
False |
[False, True] |
bool |
Resets the cache of a previous call. The endpoints which exist in the network will therefore be learned anew. But the call will take longer in this case. |
|
timeout |
5 |
float |
Time in seconds (float) until learning will be stopped |
||
userBpf |
string |
Optional extension of the negative filter. Please provide positive in BPF syntax what should also be discarded by the filter, e.g. โvlan 42โ |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
result |
object |
Dictionary containing neededEndpoints, otherEndpoints (for the negative filter), bpf (the resulting filter Expression), bpfLearn (filter expression temporarily used while learning) |
StartReceivingยถ
Manually starts the reception of network packets