[PR #583] [CLOSED] add command argument --show-routes to node list. #1499

Closed
opened 2025-12-29 02:30:17 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/583
Author: @deonthomasgy
Created: 5/12/2022
Status: Closed

Base: mainHead: dev/thomas/show-routable-ips


📝 Commits (5)

  • e704f04 we can now use --show-routes to get a list of enabled/disabled routes
  • 078ece2 commit for gen/ go.mod go.sum
  • fe832e5 add an asterisk to routes that are enabled
  • 640c03e remove newline
  • c0969a1 Merge branch 'main' into dev/thomas/show-routable-ips

📊 Changes

6 files changed (+284 additions, -179 deletions)

View changed files

📝 cmd/headscale/cli/nodes.go (+27 -1)
📝 gen/go/headscale/v1/headscale.pb.gw.go (+126 -84)
📝 gen/go/headscale/v1/machine.pb.go (+108 -87)
📝 gen/openapiv2/headscale/v1/headscale.swagger.json (+12 -0)
📝 machine.go (+8 -6)
📝 proto/headscale/v1/machine.proto (+3 -1)

📄 Description

It's very hard to find routes using headscale route, there's also nowhere to list all nodes and routes.

headscale node list --show-routes

image

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/583 **Author:** [@deonthomasgy](https://github.com/deonthomasgy) **Created:** 5/12/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev/thomas/show-routable-ips` --- ### 📝 Commits (5) - [`e704f04`](https://github.com/juanfont/headscale/commit/e704f04fd964851bc70ac06f22ec8d9d602a296c) we can now use --show-routes to get a list of enabled/disabled routes - [`078ece2`](https://github.com/juanfont/headscale/commit/078ece238854abf2a8476b980964e1f6847b8322) commit for gen/ go.mod go.sum - [`fe832e5`](https://github.com/juanfont/headscale/commit/fe832e5f5614266ff59b427ebad3e8236d7dd753) add an asterisk to routes that are enabled - [`640c03e`](https://github.com/juanfont/headscale/commit/640c03e38000fd8d3da30c1263d838044ce26b03) remove newline - [`c0969a1`](https://github.com/juanfont/headscale/commit/c0969a1cbc111d3e710887a765f4d1d91940a855) Merge branch 'main' into dev/thomas/show-routable-ips ### 📊 Changes **6 files changed** (+284 additions, -179 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/nodes.go` (+27 -1) 📝 `gen/go/headscale/v1/headscale.pb.gw.go` (+126 -84) 📝 `gen/go/headscale/v1/machine.pb.go` (+108 -87) 📝 `gen/openapiv2/headscale/v1/headscale.swagger.json` (+12 -0) 📝 `machine.go` (+8 -6) 📝 `proto/headscale/v1/machine.proto` (+3 -1) </details> ### 📄 Description It's very hard to find routes using `headscale route`, there's also nowhere to list all nodes and routes. `headscale node list --show-routes` ![image](https://user-images.githubusercontent.com/150036/168151044-fa39006b-e93e-4ad0-9af9-7c4d2ef4b73b.png) <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#user-content-contributing) - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:30:17 +01:00
adam closed this issue 2025-12-29 02:30:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1499