Commit graph

22 commits

Author SHA1 Message Date
Aceix
163b04966f
fix: correct ids of static and user nodes (#3421)
- fix static and user node ids
- enhance output by adding a "Type" column
2025-04-30 02:57:11 +04:00
Vishal Dalwadi
9a7c13b8a6
NET-1962: add gateway subcommand. (#3339)
* feat(go): add deprecation warning.

* feat(go): add support for gateway commands.

* feat(go): mention the server version in which the commands were deprecated.
2025-02-24 08:50:10 +03:00
pwillis7
3b533952df
NET-1050: change ingress refs in NMCTL to remote access gateways (#2852) 2024-03-12 08:17:34 +07:00
Gabriel de Souza Seibel
cb4b99ffcb
[NET-562] Persistent Keep Alive from node to host (#2604)
* Move PKA field from models node to host level

* Move PKA field from api models node to host level

* Adapt logic package to node->host PKA

* Adapt migration-related code to node->host PKA

* Adapt cli code to node->host PKA

* Change host PKA default to 20s

* On IfaceDelta, check for PKA on host

* On handleHostRegister, set default PKA

* Use a default PKA

* Use int64 for api host pka

* Reorder imports

* Don't use host pka in iface delta

* Fix ConvertAPIHostToNMHost

* Add swagger doc for host PKA field

* Fix swagger.yml

* Set default PKA only for new hosts

* Remove TODO comment

* Remove redundant check

* Have api-host pka be specified in seconds
2023-10-06 10:09:19 +04:00
Matthew R Kasun
823182cf09
add force flag to host/node delete (#2548)
* add force flag to host/node delete

* review comments

---------

Co-authored-by: Abhishek K <32607604+abhishek9686@users.noreply.github.com>
2023-09-13 10:10:17 +05:30
Matthew R Kasun
1e2fae0652
remove node uncordon (#2549) 2023-09-11 09:48:42 +05:30
Abhishek K
6c2582651c
Net-137: Node relays (#2401)
* revert relays

* initial relay commit

* get relayed allowed ips

* add more relay validation checks, peer logic cleanup

* rm relayed nodes from relay node when relayed node is deleted

* fix egress updates for relayed nodes

* rm unused func

* remove  debug logs

* avoid adding egress ranges on the relayed gw node

---------

Co-authored-by: Matthew R Kasun <mkasun@nusak.ca>
2023-06-19 12:26:14 -04:00
Anish Mukherjee
8e09684def add json format output alternative to tables 2023-03-06 12:08:46 +05:30
Abhishek Kondur
98c70e8a20 pr comments 2023-02-06 22:46:50 +04:00
Matthew R Kasun
77cfae41ff remove postup/down 2023-02-02 11:16:54 -05:00
Anish Mukherjee
ebb1349228 fix nmctl node update 2023-01-25 18:02:30 +05:30
Anish Mukherjee
02ba1ce6ae move relay logic to hosts 2023-01-24 16:00:12 +05:30
Anish Mukherjee
f04828f1d4 update node models to ApiNode 2023-01-16 10:32:26 +05:30
Anish Mukherjee
e600fe32ed remove toggle flag 2023-01-06 10:09:35 +05:30
Anish Mukherjee
90ef4fd168 use new node structs 2023-01-05 19:25:47 +05:30
Anish Mukherjee
016e7fd2f9 cleanup comments 2023-01-05 18:53:12 +05:30
Anish Mukherjee
d999f7b86e add comments to exported functions 2022-11-28 18:16:56 +05:30
Anish Mukherjee
db014c93bd add external client config fetch subcommand 2022-11-28 18:16:56 +05:30
Anish Mukherjee
9061c2f26c use tables for displaying list command output 2022-11-28 18:16:56 +05:30
Anish Mukherjee
9d37f068b2 add more flags for create/update operations 2022-11-28 18:16:56 +05:30
Anish Mukherjee
f8d65e2a80 minor refactor 2022-11-28 18:16:56 +05:30
Anish Mukherjee
d9c9d29d33 add node management 2022-11-28 18:16:56 +05:30