Skip to content

Commit

Permalink
Refs #22427: Update DS python dependency & Improve logs
Browse files Browse the repository at this point in the history
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
  • Loading branch information
cferreiragonz committed Jan 14, 2025
1 parent 6d56416 commit 353bcec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-ubuntu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ jobs:
- name: Install Python dependencies
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@v0
with:
packages: vcstool xmlschema xmltodict==0.13.0 jsondiff==2.0.0 pandas==1.5.2
packages: vcstool xmlschema xmltodict==0.13.0 jsondiff==2.0.0 pandas==1.5.2 psutil

- name: Setup CCache
uses: eProsima/eProsima-CI/external/setup-ccache-action@v0
Expand Down
2 changes: 1 addition & 1 deletion tools/fastdds/fastdds.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self):

if args.command is not None:
if not hasattr(self, args.command):
print('Invalid command')
print(f"Invalid command: '{args.command}'. Use 'fastdds -h' for help.")
else:
getattr(self, args.command)()
elif args.version:
Expand Down
16 changes: 10 additions & 6 deletions tools/fds/CliDiscoveryParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,20 @@ const option::Descriptor usage[] = {
"\t tool.\n"},

{ UNKNOWN, 0, "", "", Arg::None,
"\n\nDaemon options:\n auto\t Handles the daemon start-up automatically." },
"\nDaemon options:\n auto\t Handle the daemon start-up automatically. It will create\n"
"\t a Discovery Server in the specified domain."},

{ UNKNOWN, 0, "", "", Arg::None,
"\n start\t Starts the Discovery Server daemon with the remote connections\n"
"\t specified."},
"\n start\t Start the Discovery Server daemon with the remote connections\n"
"\t specified. (Example: start -d 1 \"127.0.0.1:2;10.0.0.3:42\")."},

{ UNKNOWN, 0, "", "", Arg::None,
"\n stop\t Stops the Discovery Server daemon if it is active." },
"\n stop\t Stop the Discovery Server daemon if it is active. If a domain\n"
"\t is specified with the '-d' arg it will only stop the\n"
"\t corresponding server and the daemon will remain alive."},

{ UNKNOWN, 0, "", "", Arg::None,
"\n add\t Adds new remotes Discovery Servers to the local server. This\n"
"\n add\t Add new remote Discovery Servers to the local server. This\n"
"\t will connect both servers and their sub-networks without\n"
"\t modifying existing remote servers."},

Expand All @@ -234,7 +237,8 @@ const option::Descriptor usage[] = {
"\n list\t List local active discovery servers created with the CLI Tool." },

{ UNKNOWN, 0, "", "", Arg::None,
"\n info \t Inspect the Discovery Server in the specified domain.\n\n"
"\n info \t Inspect the Discovery Server in the specified domain. Feature\n"
"\t not implemented yet.\n\n "
" Daemon parameters: \n "},

{ DOMAIN_OPT, 0, "d", "domain", Arg::check_server_id,
Expand Down

0 comments on commit 353bcec

Please sign in to comment.