Commit graph

245 commits

Author SHA1 Message Date
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
Abhishek Kondur
5dd5b73607 added comment 2022-09-30 21:09:45 +05:30
Abhishek Kondur
4678332e3a make node acls generic 2022-09-30 20:59:03 +05:30
Abhishek Kondur
1827f8c3b5 merge conflicts resolved 2022-09-30 20:15:17 +05:30
Abhishek Kondur
0df6d1761e add subscription pattern to acls,fix NaN value in metrics for uptime,get real iface name for mac 2022-09-30 18:31:57 +05:30
afeiszli
c8672818fe adding resets and single peer update on metrics disconnect detections 2022-09-29 14:49:44 -04:00
Abhishek Kondur
677d9fcc8d added comments 2022-09-29 23:59:18 +05:30
Abhishek Kondur
a95468111d added roles,acls for clients 2022-09-29 22:54:41 +05:30
0xdcarns
f2606dd3cb addressed PR comments 2022-09-29 09:49:06 -04:00
0xdcarns
eb75a6829c added wipe failover cases and ceased node update on metrics update 2022-09-28 16:17:49 -04:00
0xdcarns
b95f3eb846 initial PoC completed 2022-09-28 14:59:21 -04:00
Abhishek Kondur
fed66c4b8d json tag fix,create client with password before hashing 2022-09-28 17:58:43 +05:30
afeiszli
54258bcbac add ability to set failover nodes 2022-09-27 14:04:28 -04:00
Abhishek Kondur
878430bf75 create client for nodes on authenticate,generate dyn sec file on startup 2022-09-27 17:36:33 +05:30