Skip to content

Commit e17fbb1

Browse files
committed
doc/configuration: document optional index in NetworkPowerPort
Signed-off-by: Trevor Gamblin <[email protected]>
1 parent fbb5fdc commit e17fbb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ The example describes port 0 on the remote power switch
146146
Arguments:
147147
- model (str): model of the power switch
148148
- host (str): hostname of the power switch
149-
- index (int): number of the port to switch
149+
- index (int, default=0): optional, number of the port to switch
150150

151151
The ``model`` property selects one of several `backend implementations
152152
<https://github.com/labgrid-project/labgrid/tree/master/labgrid/driver/power>`_.

0 commit comments

Comments
 (0)