Commit Graph

158 Commits

Author SHA1 Message Date
Abhishek Kondur
ca3d9dc40b fix node update 2023-01-06 16:58:41 +05:30
Abhishek Kondur
950fd3c290 rm peer from host model 2023-01-05 16:17:09 +05:30
Abhishek Kondur
bff68bd945 rm peers from node model 2023-01-05 14:56:20 +05:30
Abhishek Kondur
2ff8684fd4 keep node level peers for now 2023-01-05 09:42:41 +05:30
Abhishek Kondur
4c63478888 get node fix 2023-01-05 09:31:31 +05:30
Abhishek Kondur
72e4b914b9 move peers to host level 2023-01-05 09:24:46 +05:30
Abhishek Kondur
3f8f841313 Merge branch 'netclient_refactor_latest' of https://github.com/gravitl/netmaker into netclient_refactor_peer_updates 2023-01-05 08:46:49 +05:30
Matthew R. Kasun
8bfe255eab Merge remote-tracking branch 'origin/develop' into netclient_refactor_latest
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2023-01-04 14:16:12 -05:00
Abhishek Kondur
21133bca7d host based updates 2023-01-04 20:02:02 +05:30
Abhishek Kondur
bf2f51ec3b update host struct in memory, set to proxy port if peer host is using proxy 2023-01-03 09:14:48 +05:30
Abhishek Kondur
7455bf7d6c send peer update after node has left the network 2022-12-30 15:47:02 +05:30
Abhishek Kondur
2c2b3a4b9b pr comment 2022-12-29 21:20:29 +05:30
Abhishek Kondur
ba2466aa25 delete node fix, mq modify client if host is already created 2022-12-29 19:25:35 +05:30
0xdcarns
8c92308ccf made mq functions a little easier to read and re-use 2022-12-28 12:10:03 -05:00
Abhishek Kondur
9941c6bedc remove proxy payload from get node response 2022-12-28 08:01:27 +05:30
Abhishek Kondur
2cb3ee65af change proxy models reference paths 2022-12-27 21:56:55 +05:30
Abhishek Kondur
5f2d73dd52 get host info from db before updating 2022-12-27 17:43:31 +05:30
Matthew R. Kasun
319193c18a update IsIPUnique
also:
 - remove unnecessary call to UpertHost in create node
 - remove debugging logs
2022-12-23 18:06:59 -05:00
Matthew R Kasun
a371b7ae21 Merge branch 'netclient_refactor_latest' into GRA-824-getPeerUpdate 2022-12-23 15:59:55 -05:00
0xdcarns
8058640cdf change local address and join create func 2022-12-23 14:22:34 -05:00
Matthew R. Kasun
eae92470c5 refactor of peerUpdate
contains some debugging logging
2022-12-23 13:41:17 -05:00
0xdcarns
5f5f8be5d5 created functions 2022-12-23 12:38:22 -05:00
walkerwmanuel
6611941ca2 Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
0xdcarns
2ed6a65f02 changed apinode -> node on return 2022-12-22 16:30:44 -05:00
0xdcarns
59a89707ed create nodeNodeUpdate func for node to server updates 2022-12-22 16:16:58 -05:00
0xdcarns
309cfff577 updated controllers to use conversion routines 2022-12-22 15:44:42 -05:00
dcarns
7328fbd351 Merge pull request #1849 from gravitl/fix_peer_errors
fix compile errors
2022-12-22 08:49:08 -05:00
Matthew R. Kasun
bce2f8a45c fix compile errors 2022-12-22 06:42:33 -05:00
Matthew R. Kasun
bc47ef4868 encrypt and save hostpass on HostCreate 2022-12-21 14:43:46 -05:00
Matthew R. Kasun
a219f8f22c create host on join if host does not exist 2022-12-21 06:08:52 -05:00
Matthew R. Kasun
38cd4d7700 refactor join
also removes server node
suspect there may be issues with proxy
and UI interactions with nodes
2022-12-20 15:29:09 -05:00
walkerwmanuel
71d66b7f93 Refactored user functions to use refrences rather than values 2022-12-20 15:10:40 -05:00
Matthew R. Kasun
c086e9499d rebase
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
Matthew R. Kasun
bf2d4ccf1e rejoin using updatenode vice createnode 2022-12-10 06:58:54 -05:00
Matthew R. Kasun
653229feba add endpoint for re-joins (migration) 2022-12-09 17:41:44 -05:00
Abhishek Kondur
e00199a650 update proxy pkg path 2022-12-09 00:54:11 +05:30
Abhishek Kondur
80c7d46ec6 docker compose update, add stun to caddyfile 2022-12-06 19:27:38 +05:30
Abhishek Kondur
5b7ead91e6 merge conflicts resolved 2022-12-02 10:08:01 +05:30
Abhishek Kondur
cff3508425 Merge branch 'develop' of https://github.com/gravitl/netmaker into feature_proxy_metrics 2022-12-01 19:31:56 +05:30
Anish Mukherjee
fb84ddc6f1 remove unused endpoints 2022-11-30 16:20:05 +05:30
Abhishek Kondur
f95306ddbd make proxy optional 2022-11-20 09:35:29 +05:30
Abhishek Kondur
c54080e150 fix relay updates for proxy 2022-11-18 10:48:28 +05:30
Matthew R. Kasun
4df672de68 refactor node deletion 2022-11-15 09:52:17 -05:00
Matthew R. Kasun
b453897e65 ensure netclient version is compatible 2022-11-14 14:41:34 -05:00
Abhishek Kondur
a7c0abe2fc refactor proxy updates 2022-11-07 01:25:04 +05:30
Matthew R. Kasun
b3f90f2929 add hostid and separate server name/broker name 2022-11-02 11:22:40 -04:00
Abhishek Kondur
17e05d430b sync peers updates with proxy 2022-11-02 15:33:42 +05:30
Abhishek Kondur
28ca66b32d delete node api fix 2022-10-06 00:54:05 +05:30
Abhishek Kondur
524cef8c29 rm invalid mq command 2022-10-04 23:17:53 +05:30
Abhishek Kondur
479cd377c8 delete mq client for node when delete api recieved from node 2022-10-04 23:12:03 +05:30