Commit graph

141 commits

Author SHA1 Message Date
0xdcarns
f25421f6c4 fixed update issue 2023-03-22 10:48:54 -04:00
0xdcarns
28119c22ee added context to peer updates, moved nodes to memory 2023-03-06 12:21:51 -05:00
0xdcarns
91373953e7 added ability to force delete if node is requested twice 2023-03-03 11:11:02 -05:00
0xdcarns
5014c389ca adjusted main to use one single context 2023-02-24 15:46:06 -05:00
0xdcarns
697450884d remove unused func 2023-02-21 12:02:09 -05:00
Matthew R Kasun
82cac8fa30 use channels for sync 2023-02-14 07:01:38 -05:00
Matthew R Kasun
c3e253fb79 updates to zombie processing 2023-02-13 14:52:39 -05:00
Matthew R Kasun
77cfae41ff remove postup/down 2023-02-02 11:16:54 -05:00
0xdcarns
f034c74838 fixed default expiration date setting and removed unused func 2023-02-01 11:21:30 -05:00
dcarns
cdd8527b51
Merge pull request #1971 from gravitl/bugfix_node_update
Fix address range check
2023-01-26 08:33:31 -05:00
Anish Mukherjee
1b43d6bf1c increase log verbosity for legacy nodes 2023-01-26 14:41:50 +05:30
Anish Mukherjee
131f70b2a4 fix address range check 2023-01-25 16:01:46 +05:30
Abhishek Kondur
73386e8f2e set node defaults 2023-01-24 12:37:12 +04:00
dcarns
0d99b507d6
Merge pull request #1938 from gravitl/mkasun/gra-989-delete_node
when deleting node from UI/API add node to zombie list
2023-01-16 16:41:36 -05:00
Matthew R Kasun
d3b5672029 when deleting node from UI/API add node to zombie list 2023-01-16 13:33:39 -05:00
0xdcarns
e4d44b5fab ee update 2023-01-14 12:00:44 -05:00
Anish Mukherjee
797fd5b211 ignore legacy nodes 2023-01-12 14:10:07 +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
8a9241d5e2 fix keepalive conversion type 2022-12-30 11:43:48 +05:30
Abhishek Kondur
ba2466aa25 delete node fix, mq modify client if host is already created 2022-12-29 19:25:35 +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
df614d6d4f added associate and dissasociate functions 2022-12-23 13:03:33 -05:00
0xdcarns
309cfff577 updated controllers to use conversion routines 2022-12-22 15:44:42 -05:00
Matthew R. Kasun
bc47ef4868 encrypt and save hostpass on HostCreate 2022-12-21 14:43:46 -05:00
Matthew R. Kasun
b07504c286 fix logic 2022-12-21 13:01:32 -05:00
Matthew R. Kasun
3baf5fb6fd reorder brackets 2022-12-21 12:54:52 -05:00
Matthew R. Kasun
72cce05ae6 missing bracket 2022-12-21 12:51:21 -05:00
Matthew R. Kasun
b51ee38db5 set mask on address sent to node 2022-12-21 12:04:06 -05:00
Matthew R. Kasun
23590a1d4a fix panic set node defaults for non dualstack network 2022-12-21 06:50:51 -05:00
Matthew R. Kasun
9c8331e6b8 add validation function for defaultacl 2022-12-21 06:40:43 -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
4df672de68 refactor node deletion 2022-11-15 09:52:17 -05:00
Matthew R. Kasun
3d80c6ea62 set node.HostID on server node creation 2022-11-02 13:51:06 -04:00
Alex Feiszli
4a9e5580fa
Merge pull request #1651 from gravitl/feature_v0.16.2_client_metrics
Feature v0.16.2 client metrics
2022-10-14 09:43:13 -04:00
Alex Feiszli
22c741bd51
Merge pull request #1629 from gravitl/bugfix_0.16.2_zombies
re-enable zombie processing
2022-10-11 16:42:47 -04:00
0xdcarns
b7a24b98ba added controller for ext client metrics and logic for ingress server 2022-10-11 14:13:17 -04:00
Abhishek Kondur
b3df6d1a68 check for empty record 2022-10-06 00:58:13 +05:30
Matthew R Kasun
b6417796c5 re-enable zombie processing 2022-10-03 20:27:09 +00:00
Abhishek Kondur
1827f8c3b5 merge conflicts resolved 2022-09-30 20:15:17 +05:30
afeiszli
c8672818fe adding resets and single peer update on metrics disconnect detections 2022-09-29 14:49:44 -04:00
0xdcarns
4f7583e2ec add peers if no failover present 2022-09-28 15:49:02 -04:00
0xdcarns
d565dbeaf8 initial logic for failover 2022-09-27 10:30:01 -04:00
Abhishek Kondur
f632bec11d merge conflicts resolved 2022-09-26 17:47:20 +05:30
afeiszli
def1487bcf fix default acl 2022-09-19 16:20:58 -04:00
afeiszli
b670755cce refactoring for ee 2022-09-14 13:26:31 -04:00