Commit graph

382 commits

Author SHA1 Message Date
dcarns
94108e0007
Merge pull request #1962 from gravitl/GRA-1024/mq_dyn_sec_refactor
Gra 1024/mq dyn sec refactor
2023-01-23 15:00:33 -05:00
Matthew R Kasun
9b072e1050 remove network capabilities from netmaker
remove NET_ADMIN, NET_RAW, SYS_MODULE capabilities from docker-compose
files
remove sysctls from dockerfiles
remove ManageIPTables and PortForwardServices from ServerConfig
remove functions related to removed attributes
2023-01-23 12:37:07 -05:00
Abhishek Kondur
41afd3cd4d rm comment 2023-01-23 15:11:34 +04:00
Matthew R Kasun
1a739e6660 log level changed for hostUpdate 2023-01-22 17:32:53 -05:00
Abhishek Kondur
f301c287df add only generic role 2023-01-22 17:58:32 +04:00
Abhishek Kondur
20bad4e2ee remove unwanted roles 2023-01-22 16:27:04 +04:00
Abhishek Kondur
c528110541 handle update host logic in mq handler 2023-01-20 06:19:33 -05:00
Abhishek Kondur
81e9febf2a rm mq dynamic security, add mq username,password to config 2023-01-19 23:11:28 +05:30
Abhishek Kondur
be2a730a24 use existing func to parse host id from topic 2023-01-18 22:18:55 +05:30
Abhishek Kondur
9a9eaec3d4 fix topic parser for host ID 2023-01-18 22:15:20 +05:30
Abhishek Kondur
fd9b924357 add host id role while modifying mq client to hole role list 2023-01-18 22:09:29 +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
Abhishek Kondur
522b37cea4 add required acls for host updates 2023-01-17 10:27:01 +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
dc2c1e39c2 addressed comment 2023-01-11 11:51:32 -05:00
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
599656618d func comments,rm old proxy code 2023-01-10 19:52:54 +05:30
Abhishek Kondur
9b1d8b1d89 remove parameters from mq peer msg 2023-01-10 10:49:15 +05:30
Abhishek Kondur
3e2d22a16b add proxy action to peer update 2023-01-09 09:11:39 +05:30
Abhishek Kondur
893f13d8b4 proxy update json marshal fix 2023-01-09 08:12:26 +05:30
Abhishek Kondur
95b578455d proxy updates refactor changes 2023-01-08 18:50:02 +05:30
Abhishek Kondur
023f29ee71 pr comments 2023-01-06 21:27:40 +05:30
Abhishek Kondur
2e7f9524e3 rm unwanted acl 2023-01-06 19:03:08 +05:30
Abhishek Kondur
68ed1b8b33 periodic host updates 2023-01-06 17:52:17 +05:30
Abhishek Kondur
ca3d9dc40b fix node update 2023-01-06 16:58:41 +05:30
Abhishek Kondur
9f0ef1628c node update fix, nil pointer errors fix 2023-01-06 00:29:55 +05:30
Abhishek Kondur
72e4b914b9 move peers to host level 2023-01-05 09:24:46 +05:30
Abhishek Kondur
21133bca7d host based updates 2023-01-04 20:02:02 +05:30
Abhishek Kondur
88902f7823 fix host peer update model,add server name to peer update topic 2023-01-04 11:03:13 +05:30
Abhishek Kondur
f789e92023 delete host role when client is delete 2023-01-04 10:07:29 +05:30
Abhishek Kondur
4c0866723f add new host role with acls 2023-01-04 10:05:05 +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
2cb3ee65af change proxy models reference paths 2022-12-27 21:56:55 +05:30
Matthew R. Kasun
eae92470c5 refactor of peerUpdate
contains some debugging logging
2022-12-23 13:41:17 -05:00
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