Skip to content

Commit aac6d06

Browse files
committed
CHANGES: update for 0.2.0 release
Signed-off-by: Jan Luebbe <[email protected]>
1 parent a0e01cc commit aac6d06

File tree

1 file changed

+71
-13
lines changed

1 file changed

+71
-13
lines changed

CHANGES.rst

+71-13
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
1-
Release 0.2.0 (unreleased)
2-
--------------------------
1+
Release 0.2.0 (released Jan 4, 2019)
2+
------------------------------------
33

44
New Features
55
~~~~~~~~~~~~
66

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.
711
- ``labgrid-client ssh`` now uses ip/user/password from NetworkService resource
812
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
1016
resource on a remote host. If the resource is not a `NetworkResource`, the
1117
local file is used instead.
1218
- ProxyManager: a class to automatically create ssh forwardings to proxy
1319
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
1521
- The target now saves it's attached drivers, resources and protocols in a
1622
lookup table, avoiding the need of importing many Drivers and Protocols (see
1723
`Syntactic sugar for Targets`_)
24+
- When multiple Drivers implement the same Protocol, the best one can be
25+
selected using a priority (see below).
1826
- The new subcommand ``labgrid-client monitor`` shows resource or places
1927
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.
2628
- The environment yaml file can now list Python files (under the 'imports' key).
2729
They are imported before constructing the Targets, which simplifies using
2830
custom Resources, Drivers or Strategies.
@@ -35,11 +37,54 @@ New Features
3537
- Resource matches for places configured in the coordinator can now have a
3638
name, allowing multiple resources with the same class.
3739
- 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+
4082
- The `SerialDriver` now supports using plain TCP instead of RFC 2217, which is
4183
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.
4388

4489
Incompatible Changes
4590
~~~~~~~~~~~~~~~~~~~~
@@ -128,6 +173,17 @@ New (with real names):
128173
>>> SerialDriver(t, "MyDriver")
129174
SerialDriver(target=Target(name='MyTarget', env=None), name='MyDriver', state=<BindingState.bound: 1>, txdelay=0.0)
130175
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+
131187
Auto-Installer Tool
132188
~~~~~~~~~~~~~~~~~~~
133189

@@ -146,6 +202,8 @@ gadget.
146202
.. note::
147203
``labgrid-autoinstall`` is still experimental and no documentation has been written.
148204

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+
149207
Release 0.1.0 (released May 11, 2017)
150208
-------------------------------------
151209

0 commit comments

Comments
 (0)