Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance status command #382

Merged
merged 8 commits into from
Jul 5, 2022
Merged

Enhance status command #382

merged 8 commits into from
Jul 5, 2022

Conversation

mlsmaycon
Copy link
Collaborator

@mlsmaycon mlsmaycon commented Jul 4, 2022

Print peer status from the package

Added --detail flag for detailed status output

Preview of output

# show summary - daemon status, management, signal status and peer conn status ()
$ netbird status

Management: Connected
Signal: Connected
IP: 100.82.112.100/16
Interface type: Kernel|UserSpace
Peers: 19/20 Connected

#shows all peers
$ netbird status --detail

Management: Connected to https://api.netbird.io:33073
Signal: Connected to https://signal.netbird.io:33073
IP: 100.82.112.100/16
Interface type: Kernel|UserSpace

Peers:
...
peer: 
  NetBird IP: 100.82.112.157
  PubKey: kn2lknklenfkjwnklc
  Status: Connected|Connecting|Disconnected
  -- detail -- 
  Connection type: P2P|Relayed
  Direct: True
  ICE candidate (Local/Remote): host/prflx
  Last connection update: 2022-07-03 23:56:30.393623 +0000 UTC
  ...
19/20 Connected

Print peer status from the package

Added --detail flag for detailed status output
@mlsmaycon mlsmaycon requested a review from braginini July 4, 2022 00:42
@mlsmaycon mlsmaycon marked this pull request as ready for review July 4, 2022 06:13
@mlsmaycon mlsmaycon merged commit 49e9113 into main Jul 5, 2022
@mlsmaycon mlsmaycon deleted the enhance-status-command branch July 5, 2022 17:47
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
Print peer status from the package

Added --detail flag for detailed status output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants