Commit graph

140 commits

Author SHA1 Message Date
0xdcarns
91373953e7 added ability to force delete if node is requested twice 2023-03-03 11:11:02 -05:00
0xdcarns
385232ca5a cleanup unnecessary routines + use peerindexmap for delete check 2023-03-01 10:55:34 -05:00
dcarns
ad4bab064b
Merge pull request #2050 from gravitl/GRA-1198-enrollment_keys
Gra 1198 enrollment keys
2023-02-28 09:26:23 -05:00
dcarns
dbf6f1034b
Merge pull request #2058 from gravitl/feature_emqx
Add emqx boilerplate
2023-02-28 08:41:39 -05:00
0xdcarns
977c9c8c19 send peer update after request + fix pass update issue 2023-02-27 12:32:07 -05:00
Anish Mukherjee
314af6b51d create emqx credentials for host upon creation 2023-02-27 17:18:35 +05:30
0xdcarns
e759637750 Merge branch 'develop' into GRA-1198 2023-02-24 11:23:41 -05:00
0xdcarns
adf3967e0d handled forced deleted peer 2023-02-24 10:41:04 -05:00
0xdcarns
80fda83c0c adjusted peer updates to remove peers properly, slowed zombie check 2023-02-23 10:55:42 -05:00
Anish Mukherjee
5279900b7c add /mqtt for EMQX websocket listen endpoint 2023-02-22 20:37:08 +05:30
Anish Mukherjee
d2adf88b21 add emqx boilerplate 2023-02-22 20:37:08 +05:30
0xdcarns
a1f5d73a58 added request ack 2023-02-17 11:39:30 -05:00
0xdcarns
6b30cef968 handled node additions in more elegant manner 2023-02-17 11:32:02 -05:00
Abhishek Kondur
7f9552b04d remove duplicate peer update 2023-02-13 21:48:16 +04:00
dcarns
6e50011ceb
Merge pull request #1978 from gravitl/GRA-1060/bug_proxy_listen_port
Gra 1060/bug public listen port
2023-01-26 18:28:30 -05:00
Abhishek Kondur
acbd0d6337 only print host id in log 2023-01-26 14:02:47 +04:00
Anish Mukherjee
1b43d6bf1c increase log verbosity for legacy nodes 2023-01-26 14:41:50 +05:30
dcarns
5fb3ec7b79
Merge pull request #1970 from gravitl/static_check_addressing
addressed majority of static checks
2023-01-24 13:14:47 -05:00
0xdcarns
706bba0593 addressed majority of static checks 2023-01-24 11:20:06 -05:00
Abhishek Kondur
18ddb3d5ca update host name on join 2023-01-24 12:10:03 +04:00
Matthew R Kasun
1a739e6660 log level changed for hostUpdate 2023-01-22 17:32:53 -05:00
Abhishek Kondur
c528110541 handle update host logic in mq handler 2023-01-20 06:19:33 -05:00
Abhishek Kondur
be2a730a24 use existing func to parse host id from topic 2023-01-18 22:18:55 +05:30
Abhishek Kondur
10f724310c change public listen port field 2023-01-18 12:00:26 +05:30
Abhishek Kondur
83ea8778d6 Merge branch 'GRA-985/host_updates_logic' of https://github.com/gravitl/netmaker into GRA-985/host_delete_logic 2023-01-17 18:38:36 +05:30
Abhishek Kondur
2ea7f077f7 resolve merge conflicts 2023-01-17 18:37:58 +05:30
Abhishek Kondur
55731ae547 change topic for server host update 2023-01-17 18:36:03 +05:30
Abhishek Kondur
77deff063b handle host deletion in mq host updates 2023-01-17 15:27:20 +05:30
Abhishek Kondur
a9d1df6022 typo in comment 2023-01-17 15:00:57 +05:30
Abhishek Kondur
7af389f5d1 handle update host logic in mq handler 2023-01-17 14:43:16 +05:30
Abhishek Kondur
652ef642bd add switch case statements to host updates mq handler 2023-01-17 14:37:12 +05:30
Abhishek Kondur
cf0b54c1eb comments to add logic for host updates 2023-01-17 11:38:51 +05:30
Abhishek Kondur
acceb6e370 mq handlers for host updates 2023-01-17 11:17:13 +05:30
0xdcarns
e4d44b5fab ee update 2023-01-14 12:00:44 -05:00
Abhishek Kondur
a24717cf2d merge conflicts resolved 2023-01-12 15:21:08 +05:30
Abhishek Kondur
bf9a93c41b remove IsServer field from metric model 2023-01-12 14:50:04 +05:30
0xdcarns
2fa2d50b8f added ability for server to receive and publish host model updates via MQ 2023-01-11 10:33:43 -05:00
Abhishek Kondur
82f0afe9d7 rm proxy metrics field 2023-01-11 11:08:55 +05:30
Abhishek Kondur
b52a47d8aa use new node model on mq update node handler 2023-01-10 21:43:22 +05:30
Abhishek Kondur
9b1d8b1d89 remove parameters from mq peer msg 2023-01-10 10:49:15 +05:30
Abhishek Kondur
893f13d8b4 proxy update json marshal fix 2023-01-09 08:12:26 +05:30
Abhishek Kondur
9f0ef1628c node update fix, nil pointer errors fix 2023-01-06 00:29:55 +05:30
Abhishek Kondur
4c0866723f add new host role with acls 2023-01-04 10:05:05 +05:30
Matthew R. Kasun
bce2f8a45c fix compile errors 2022-12-22 06:42:33 -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
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
55f7a0eb02
Merge pull request #1828 from gravitl/story/GRA-752
fix(GRA-752f): add address string to be sent to frontend
2022-12-16 07:42:07 -05:00
Aceix
457060d41a fix(GRA-752f): add address string to be sent to frontend 2022-12-14 11:39:33 +00:00
Abhishek Kondur
7f5e1a141f store proxy metrics in the server 2022-12-08 14:20:50 +05:30
Abhishek Kondur
5b7ead91e6 merge conflicts resolved 2022-12-02 10:08:01 +05:30