1
- Release 0.2.0 (unreleased )
2
- --------------------------
1
+ Release 0.2.0 (released Jan 4, 2019 )
2
+ ------------------------------------
3
3
4
4
New Features
5
5
~~~~~~~~~~~~
6
6
7
+ - A colored StepReporter was added and can be used with ``pytest
8
+ --lg-colored-steps ``.
9
+ - ``labgrid-client `` can now use the last changed information to sort listed
10
+ resources and places.
7
11
- ``labgrid-client ssh `` now uses ip/user/password from NetworkService resource
8
12
if available
9
- - ManagedFile: the managedfile takes a local file and synchronizes it to a
13
+ - The environement files can contain feature flags which can be used to control
14
+ which tests are run in pytest.
15
+ - The new "managed file" support takes a local file and synchronizes it to a
10
16
resource on a remote host. If the resource is not a `NetworkResource `, the
11
17
local file is used instead.
12
18
- ProxyManager: a class to automatically create ssh forwardings to proxy
13
19
connections over the exporter
14
- - SSHManager: a global sshmanager to multiplex connections to different exporters
20
+ - SSHManager: a global manager to multiplex connections to different exporters
15
21
- The target now saves it's attached drivers, resources and protocols in a
16
22
lookup table, avoiding the need of importing many Drivers and Protocols (see
17
23
`Syntactic sugar for Targets `_)
24
+ - When multiple Drivers implement the same Protocol, the best one can be
25
+ selected using a priority (see below).
18
26
- The new subcommand ``labgrid-client monitor `` shows resource or places
19
27
changes as they happen, which is useful during development or debugging.
20
- - The new `QEMUDriver ` runs a system image in QEmu and implements the
21
- :any: `ConsoleProtocol ` and :any: `PowerProtocol `.
22
- This allows using labgrid without any real hardware.
23
- - The bootloader drivers now have a ``reset `` method.
24
- - The `BareboxDriver `'s boot string is now configurable, which allows it to work
25
- with the ``quiet `` Linux boot parameter.
26
28
- The environment yaml file can now list Python files (under the 'imports' key).
27
29
They are imported before constructing the Targets, which simplifies using
28
30
custom Resources, Drivers or Strategies.
@@ -35,11 +37,54 @@ New Features
35
37
- Resource matches for places configured in the coordinator can now have a
36
38
name, allowing multiple resources with the same class.
37
39
- The new `Target.__getitem__ ` method makes writing using protocols less verbose.
38
- - The `NetworkPowerDriver ` now support the newer NETIO 4 models.
39
- - The `ShellDriver ` now supports configuring the login prompt timeout.
40
+ - Experimental: The labgrid-autoinstall tool was added (see below).
41
+
42
+ New and Updated Drivers
43
+ ~~~~~~~~~~~~~~~~~~~~~~~
44
+
45
+ - The new `DigitalOutputResetDriver ` adapts a driver implementing the
46
+ DigitalOutputProtocol to the ResetProtocol.
47
+ - The new `ModbusCoilDriver ` support outputs on a ModbusTCP device.
48
+ - The new `NetworkUSBStorageDriver ` allows writing to remote USB storage
49
+ devices (such as SD cards or memory sticks connected to a mux).
50
+ - The new `QEMUDriver ` runs a system image in QEmu and implements the
51
+ :any: `ConsoleProtocol ` and :any: `PowerProtocol `.
52
+ This allows using labgrid without any real hardware.
53
+ - The new `QuartusHPSDriver ` controls the "Quartus Prime Programmer and Tools"
54
+ to flash a target's QSPI.
55
+ - The new `SerialPortDigitalOutputDriver ` controls the state of a GPIO using
56
+ the control lines of a serial port.
57
+ - The new `SigrokDriver ` uses a (local or remote) device supported by sigrok to
58
+ record samples.
59
+ - The new `SmallUBootDriver ` supports the extremely limited U-Boot found in
60
+ cheap WiFi routers.
61
+ - The new `USBSDMuxDriver ` controls a Pengutronix USB-SD-Mux device.
62
+ - The new `USBTMCDriver ` can fetch measurements and screenshots from the
63
+ "Keysight DSOX2000 series" and the "Tektronix TDS 2000 series".
64
+ - The new `USBVideoDriver ` can stream video from a remote H.264
65
+ UVC (USB Video Class) camera using gstreamer over SSH. Currently,
66
+ configuration for the "Logitech HD Pro Webcam C920" exists.
67
+ - The new `XenaDriver ` allows interacting with Xena network testing equipment.
68
+ - The new `YKUSHPowerDriver ` and `USBPowerDriver ` support software-controlled
69
+ USB hubs.
70
+ - The bootloader drivers now have a ``reset `` method.
71
+ - The `BareboxDriver `'s boot string is now configurable, which allows it to work
72
+ with the ``quiet `` Linux boot parameter.
73
+ - The `IMXUSBLoader ` now recognizes more USB IDs.
74
+ - The `OpenOCDDriver ` is now more flexible with loading configuration files.
75
+ - The `NetworkPowerDriver ` now additionally supports:
76
+
77
+ - 24 port "Gude Expert Power Control 8080"
78
+ - 8 port "Gude Expert Power Control 8316"
79
+ - NETIO 4 models (via telnet)
80
+ - a simple REST interface
81
+
40
82
- The `SerialDriver ` now supports using plain TCP instead of RFC 2217, which is
41
83
needed from some console servers.
42
- - Experimental: The labgrid-autoinstall tool was added (see below).
84
+ - The `ShellDriver ` has been improved:
85
+
86
+ - It supports configuring the various timeouts used during the login process.
87
+ - It can use xmodem to transfer file from and to the target.
43
88
44
89
Incompatible Changes
45
90
~~~~~~~~~~~~~~~~~~~~
@@ -128,6 +173,17 @@ New (with real names):
128
173
>> > SerialDriver(t, " MyDriver" )
129
174
SerialDriver(target = Target(name = ' MyTarget' , env = None ), name = ' MyDriver' , state = < BindingState.bound: 1 > , txdelay = 0.0 )
130
175
176
+ Priorities
177
+ ~~~~~~~~~~
178
+
179
+ Each driver supports a priorities class variable.
180
+ This allows drivers which implement the same protocol to add a priority option
181
+ to each of their protocols.
182
+ This way a `NetworkPowerDriver ` can implement the `ResetProtocol `, but if another
183
+ `ResetProtocol ` driver with a higher protocol is available, it will be selected
184
+ instead.
185
+ See the documentation for details.
186
+
131
187
Auto-Installer Tool
132
188
~~~~~~~~~~~~~~~~~~~
133
189
@@ -146,6 +202,8 @@ gadget.
146
202
.. note ::
147
203
``labgrid-autoinstall `` is still experimental and no documentation has been written.
148
204
205
+ Contributions from: Ahmad Fatoum, Bastian Krause, Björn Lässig, Chris Fiege, Enrico Joerns, Esben Haabendal, Felix Lampe, Florian Scherf, Georg Hofmann, Jan Lübbe, Jan Remmet, Johannes Nau, Kasper Revsbech, Kjeld Flarup, Laurentiu Palcu, Oleksij Rempel, Roland Hieber, Rouven Czerwinski, Stanley Phoong Cheong Kwan, Steffen Trumtrar, Tobi Gschwendtner, Vincent Prince
206
+
149
207
Release 0.1.0 (released May 11, 2017)
150
208
-------------------------------------
151
209
0 commit comments