Commit graph

412 commits

Author SHA1 Message Date
Yabin Ma
5f21c8bb1d
NET-1778: scale test code changes (#3203)
* comment ACL call and add debug message

* add cache for network nodes

* fix load node to network cache issue

* add peerUpdate call 1 min limit

* add debug log for scale test

* release maps

* avoid default policy for node

* 1 min limit for peerUpdate trigger

* mq options

* Revert "mq options"

This reverts commit 10b93d0118.

* set peerUpdate run in sequence

* update for emqx 5.8.2

* remove batch peer update

* change the sleep to 10 millisec to avoid timeout

* add compress and change encrypt for peerUpdate message

* add mem profiling and automaxprocs

* add failover ctx mutex

* ignore request to failover peer

* remove code without called

* remove debug logs

* update emqx to v5.8.2

* change broker keepalive

* add OLD_ACL_SUPPORT setting

* add host version check for message encrypt

* remove debug message

* remove peerUpdate call control

---------

Co-authored-by: abhishek9686 <abhi281342@gmail.com>
2024-12-10 10:15:31 +04:00
Yabin Ma
87ef555542
NET1847:Add STUN settings (#3235)
* add setting to turn on/off STUN

* sync stun setting in peerUpdate

* sync stun servers setting in peerUpdate
2024-12-06 09:38:32 +04:00
Yabin Ma
508c4cf8a9
fix nm-quick.sh -p issue (#3234) 2024-12-03 13:29:44 +04:00
Abhishek K
8546f858c1
NET-1780: Bind Caddy to public IP, set default netclient to use port 443 (#3220)
* bind caddy to public ip

* set netclient on server to 443
2024-12-03 13:25:49 +04:00
abhishek9686
a964d2bf7d set managed to false by default 2024-11-08 10:44:30 +04:00
abhishek9686
c11629b8b4 set up failover only in pro 2024-11-06 11:53:37 +04:00
abhishek9686
20fd996aae remove passwd prompt for mq 2024-11-06 11:17:03 +04:00
abhishek9686
79136ba5e7 remove default pro installation from script 2024-11-06 10:56:21 +04:00
Max Ma
5c15f3d9eb
NET-1603: Manage DNS NM changes (#3124)
* add switch for manage dns

* manage DNS sync publish

* add dns sync api

* add manageDNS field in peerUpdate

* add default dns for extClent if manage dns enabled

* add DEFAULT_DOMAIN for internal DNS lookup

* move DNSSync to peerUpdate

* fix empty host in network issue

* sync up dns when custom dns add/delete

* fix custom DNS ip4/ipv6 validator issue
2024-10-29 13:53:45 +04:00
the_aceix
f5c2eaf042 docs: update docs links 2024-10-16 10:34:22 +00:00
abhishek9686
961077f29d update meta data field 2024-10-07 16:06:20 +04:00
abhishek9686
1e8ce1f9f7 chane metadata for internet gw 2024-10-07 10:49:19 +04:00
abhishek9686
51eced8bf7 chane metadata for internet gw 2024-10-07 10:48:55 +04:00
abhishek9686
701584fcd3 fix ingress update dns 2024-10-07 10:35:10 +04:00
abhishek9686
441c190d33 fix jq ingressdns parsing 2024-10-07 10:15:20 +04:00
abhishek9686
f3cea1c8c9 break loop 2024-10-07 09:43:37 +04:00
abhishek9686
c045508725 fix jq parsing of inet network 2024-10-07 09:26:38 +04:00
abhishek9686
aab0c351e4 wait until two network are registered 2024-10-07 08:54:25 +04:00
abhishek9686
d5c24e3720 fix nmctl typo 2024-10-07 08:33:22 +04:00
abhishek9686
f5ff9b903d check if networks output is null 2024-10-07 08:31:55 +04:00
abhishek9686
ea610281d1 update inet gw dns 2024-10-04 18:41:34 +04:00
abhishek9686
675a900b9a fix data arg 2024-10-04 14:27:31 +04:00
abhishek9686
0060d2bd04 fix inet gw creation req 2024-10-04 12:33:53 +04:00
abhishek9686
cc0a2ae4b3 fix inet gw creation req 2024-10-04 12:30:45 +04:00
abhishek9686
3d1c3ad3fb setup internet-access-vpn network 2024-10-03 20:22:29 +04:00
abhishek9686
61e2b46f9d change network to carrier grade reserved range 2024-09-30 12:43:51 +04:00
abhishek9686
de1b5f51ed change cidr to /16 2024-09-30 12:06:40 +04:00
abhishek9686
8eb0e5bfae change network log 2024-09-30 11:26:08 +04:00
abhishek9686
e2f0bf5a0f rename used tenant id var in script 2024-09-06 20:10:42 +04:00
abhishek9686
76d57c4d65 Merge branch 'NET-1574' of https://github.com/gravitl/netmaker into NET-1574 2024-09-06 16:53:31 +04:00
abhishek9686
ac6c99b6a8 copy license and tenant id from previous config 2024-09-06 16:53:17 +04:00
Abhishek K
ce19f5d3aa
Merge branch 'develop' into NET-1574 2024-09-06 18:15:56 +05:30
abhishek9686
57434423a5 use jq -r 2024-09-06 12:03:35 +04:00
abhishek9686
cc003c8f73 trim double quotes from netmaker token 2024-09-06 06:43:51 +04:00
abhishek9686
f475abafec trim double quotes from netmaker tag 2024-09-06 06:27:54 +04:00
abhishek9686
f467dda773 get token if exists already 2024-09-04 13:12:16 +05:30
abhishek9686
883902d91e add pro arg 2024-09-04 12:55:40 +05:30
abhishek9686
b534c670b6 resolve merge conflicts 2024-09-04 12:42:43 +05:30
Max Ma
5d9ff1f10c add BATCH_PEER_UPDATE in netmaker.env with default values 2024-09-04 09:03:19 +02:00
Aceix
19d7bb1ea2
fix: update yml references to json for v0.25.0 (#3083) 2024-08-28 18:52:59 +05:30
abhishek9686
ece5951625 add pro arg to usage 2024-08-27 09:31:47 +05:30
abhishek9686
5bded324ef add install log 2024-08-27 09:21:45 +05:30
abhishek9686
3e35dfcc9a collect tenant id and license on pro install 2024-08-27 09:20:00 +05:30
abhishek9686
c6ebc004c6 collect tenant id and license on pro install 2024-08-27 09:19:16 +05:30
abhishek9686
f25ee0aab4 add flag to install pro 2024-08-27 08:53:37 +05:30
Abhishek K
1924da2956
Net 1227 v1 (#3063)
* generalise smtp config

* copy over smtp vars

* env new line

* fix master key api access

* comment user tests

* fix network and user invite for master key access

* remove email sender type
2024-08-22 13:03:49 +05:30
abhishek9686
e29b4e080b remove email sender type 2024-08-22 13:01:38 +05:30
Abhishek K
aa64e50374
Net 1227 (#3060)
* generalise smtp config

* copy over smtp vars

* env new line
2024-08-22 08:36:38 +05:30
abhishek9686
c8eec1ed04 env new line 2024-08-22 08:35:37 +05:30
abhishek9686
82eecf5666 copy over smtp vars 2024-08-22 08:34:31 +05:30