openlvc / disco

Java library for Distributed Interactive Simulation
11 stars 3 forks source link

Allow WAN clients to specify ingress settings #6

Closed timpokorny closed 8 years ago

timpokorny commented 8 years ago

Story

{As a} simulation administrator, {I want} to be able to set config properties for ingress data to a WAN link from a REALY, {So that I can} I can use bundling, rate-limiting or other settings on the connection TO the connecting link

Context

Currently, when a WAN link connects to a RELAY you can specify configuration properties that govern how data is sent to the RELAY. This includes things like bundling.

However, there are no configuration options you can set that govern how data is sent back down the pipe to the remote link. Defaults are used in this case.

To allow bi-directional control we need to be able to configure properties in both directions.

Acceptance Criteria

Once complete, the system shall:

timpokorny commented 8 years ago

Support now added.

Connection will handshake with RELAY and send a site name as well as the local connection settings. On the RELAY site, the connection settings are then used to configure the newly created link. Bundling values are copied, and currently the ingress filter settings of the local connection are copied to the egress filter settings of the remote connection, thus preventing the unnecessary use of network bandwidth by blocking it at the sender.