Re: [RFC PATCH 1/7] dts: add port topology configuration

2025-02-12 Thread Luca Vizzarro
Thank you Dean! Applied.

Re: [RFC PATCH 1/7] dts: add port topology configuration

2025-02-12 Thread Luca Vizzarro
Great points! Thank you, will apply.

Re: [RFC PATCH 1/7] dts: add port topology configuration

2025-02-11 Thread Dean Marx
On Mon, Feb 3, 2025 at 10:17 AM Luca Vizzarro wrote: > > The current configuration makes the user re-specify the port links for > each port in an unintuitive and repetitive way. Moreover, this design > does not give the user to opportunity to map the port topology as > desired. > > This change add

Re: [RFC PATCH 1/7] dts: add port topology configuration

2025-02-07 Thread Nicholas Pratte
Hi Luca, nice work! See comments below. > > > +class LinkPortIdentifier(NamedTuple): > +"""A tuple linking test run node type to port name.""" > + > +node_type: Literal["sut", "tg"] > +port_name: str > + > + > +class PortLinkConfig(FrozenModel): > +"""A link between the ports of t

[RFC PATCH 1/7] dts: add port topology configuration

2025-02-03 Thread Luca Vizzarro
The current configuration makes the user re-specify the port links for each port in an unintuitive and repetitive way. Moreover, this design does not give the user to opportunity to map the port topology as desired. This change adds a port_topology field in the test runs, so that the user can use