genodelabs / goa

Tool for streamlining the development of Genode applications
GNU Affero General Public License v3.0
19 stars 18 forks source link

Support adding UDP/TCP forwarding rules via runtime #78

Closed jschlatow closed 5 months ago

jschlatow commented 5 months ago

In the scope of developing the goa_testbed subsystem for #77, it became apparent that having the ability to specify forwarding rules would come in handy and remove the need for writing dedicated test environments. As it turned out, we can simply add the necessary information as sub nodes to the <nic/> requirement in the runtime file and let them be interpreted by the linux run target.

jschlatow commented 5 months ago

This feature is implemented by fc0a2c7. See goa help targets for more details. A usage example can be found in my goa-projects repository.

nfeske commented 5 months ago

I love how the runtime files have become such natural hook to express environmental requirements like this.