commands
drunc.controller.interface.commands
Functions:
echo(obj, text, server, logger, target, execute_along_path, execute_on_all_subsequent_children_in_path)
Log a message locally or send it to the controller server.
Source code in drunc/controller/interface/commands.py
status(obj, target, execute_along_path, execute_on_all_subsequent_children_in_path, extended, width, fit)
Show the status of the controller and its managed components.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
obj
|
ControllerContext
|
The controller context. |
required |
target
|
str
|
The target to address. |
required |
execute_along_path
|
bool
|
Whether to execute the command along the path. |
required |
execute_on_all_subsequent_children_in_path
|
bool
|
Whether to execute the command on all subsequent children in the path. |
required |
extended
|
bool
|
Whether to show additional columns, including the IP address of each endpoint. |
required |
width
|
int | None
|
The table width. Default is automatically calculated. |
required |
fit
|
bool
|
Whether to restrict the table to the available terminal width. |
required |
Returns:
| Type | Description |
|---|---|
None
|
None |