abhishek9686
bb25739bd9
resolve merge conflicts
2025-03-06 22:41:56 +04:00
Abhishek K
1ad8b8b7b4
Merge pull request #3358 from gravitl/master
...
Master
2025-03-06 22:17:24 +04:00
abhishek9686
b45a926649
optimise static node rules, fix traffic flows for static nodes
2025-03-05 14:26:35 +04:00
abhishek9686
d21411392b
fix integration tests
2025-03-03 12:05:23 +04:00
abhishek9686
48b805bbc2
add loadbalance endpoint for extclients
2025-03-02 20:59:53 +04:00
abhishek9686
33fafa83e6
add nameservers to dns settins
2025-02-28 21:49:53 +04:00
abhishek9686
21826d41b6
add nameservers to network settings
2025-02-28 21:27:18 +04:00
abhishek9686
225bf37e02
resolve merge conflicts
2025-02-28 12:18:38 +04:00
abhishek9686
c0a88e7c43
add cache internal to the func
2025-02-28 11:09:39 +04:00
abhishek9686
ce6ec25253
fix network ip allocation in HA
2025-02-27 16:26:15 +04:00
abhishek9686
e50da805d4
Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911
2025-02-24 08:53:49 +03:00
Abhishek K
48535f7ef1
NET-1956: Async Node Status API ( #3341 )
...
* add node status api
* upsate node status api to return map data
* resolve merge conflicts
2025-02-24 08:48:24 +03:00
Aceix
2fcdd865c8
fix: unlnk deleted networks and tags from enrollment keys ( #3328 )
2025-02-24 08:22:18 +03:00
Aceix
f46030e40f
fix: add user group struct to get user response ( #3336 )
...
* fix: add user group struct to user response
* fix: set auto-created network groups as default
2025-02-24 08:17:55 +03:00
abhishek9686
9590f9e5a4
resolve merge conflicts
2025-02-19 09:33:23 +04:00
Abhishek K
ee6bea117f
Merge branch 'develop' into master
2025-02-19 01:14:06 +04:00
abhishek9686
7dd4c048c3
add mutex around peer tags
2025-02-18 22:10:03 +04:00
abhishek9686
41fa0b1bce
resolve merge conflicts
2025-02-14 18:24:56 +04:00
Abhishek K
689b9b6b52
NET-1941: failover signaling optimized, new endpoint for metrics peer info ( #3322 )
...
* optimise acl cache with network map
* fix mutex clash
* fix acl mutex
* add new endpoint for metrics peer info
* fix static check
* add new endpoint for metrics peer info
* fix host peer info api params
* cache failover data
* add json tag
* avoid duplicate calls to failover
* add failover check ctx
* add failover check ctx
* fix failover debug log
* optimise failover operations
* remove debug logs
* rm unused model
* rm unused model
2025-02-14 16:06:26 +04:00
abhishek9686
61bf479e50
upsert on color update
2025-02-07 17:23:53 +04:00
abhishek9686
9cf2ad4fc5
add color coding to tags
2025-02-06 15:14:15 +04:00
abhishek9686
a9c14c4643
Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911
2025-02-04 19:32:25 +04:00
Abhishek K
64bc351564
Merge pull request #3315 from gravitl/master
...
Master
2025-02-04 19:32:14 +04:00
Abhishek K
e13bf2c0eb
NET-1923: Add Metric Port to server config ( #3306 )
...
* set default metrics port 8889
* set default metrics port 51821
* add metrics port to server config
* bind caddy only on tcp
* add var for pulling files
* add new line
* update peer update model
* check if port is not zero
* set replace peer to false on pull
* do not replace peers on failover sync
* remove debug log
* add old peer update fields for backwards compatibility
* add old json tag
* add debug log in caller trace func
2025-02-04 08:44:24 +04:00
Abhishek K
4431dc99a7
NET-1933: option to force destroy network ( #3311 )
...
* option to force destroy network
* fix network tests
* fix network defaults func
* fix network destroy action
* delete network if node count is zero
* push peer update network deletion
* send node update
2025-02-03 15:19:44 +04:00
abhishek9686
d2d5658a01
Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911
2025-01-31 20:26:24 +04:00
abhishek9686
68b257b2ec
update default acl field
2025-01-30 15:55:41 +04:00
Vishal Dalwadi
cec48be354
NET-1906: Add endpoints for Sync All Hosts and Upgrade All Hosts. ( #3302 )
...
* feat(go): add endpoint to sync all hosts.
* feat(go): add endpoint to upgrade all hosts.
* feat(go): allow force upgrade of hosts.
* fix(go): config yaml tag.
2025-01-28 11:33:38 +05:30
Abhishek K
8297642b90
NET-1914: add gw apis, move relays into CE ( #3309 )
...
* add gw apis, move relays into CE
* set gw field on relay and ingress creation
* add gw handlers to relay and ingress apis
* if node is inetgw and gw add dns
* remove pro check on relays
* fetch node before updating
2025-01-28 11:28:31 +05:30
abhishek9686
0e3e9162c7
Merge branch 'develop' of https://github.com/gravitl/netmaker into NET-1911
2025-01-26 20:00:17 +05:30
abhishek9686
557270acdb
add config to check for reset peer udpate
2025-01-20 17:56:33 +05:30
abhishek9686
8de1f4f6ca
single node acl group
2025-01-20 17:43:13 +05:30
abhishek9686
021023d999
allow single devices in the acl policies
2025-01-17 15:58:40 +05:30
abhishek9686
715ed23553
remove default value on dns domain
2024-12-18 23:07:37 +04:00
Abhishek K
fc8675bf9c
NET-1867: add default domain to all entries ( #3252 )
...
* add dns entry validation check
* append default domain if not append
* add dot for default domain
* fix dns tests
2024-12-16 12:18:32 +04:00
Abhishek K
116e2ef959
Net 1784 latest ( #3250 )
...
* fix all resources rules
* for any service set defaults
2024-12-12 10:02:31 +04:00
Abhishek K
7093373c77
NET-1784: Migrate All Policies ( #3245 )
...
* migrate all policies
* migrate all policies
* add acl policy type for any traffic
* use any service type for migration
2024-12-10 11:55:37 +04:00
Abhishek K
f124b10c35
NET-1784: Adv Acl Rules ( #3239 )
...
* define direction on acl req
* define protocol types and rule model
* get rules for node
* fetch acl rule for a node
* redine acl firewall model
* add json tags
* update port,protocol, and direction
* add json tags to acl options
* convert protocol to string
* simplify acl map
* add json tags to acl rules
* add networks to fw update
* add acls rules
* NET-1784: add allow all field
* add allow all field on fw udpate
* remove debug logs
* fix port and protocol types
* migrate default acl policies
* define constants for service types
* add adv options for user rules on ingress gw
* debug log
* allow whole network
* add static nodes to acl rules
* replace peers on acl updates
* initiliase rule map
* add user acl rules on target node
* revert acl check on extclient
* handle static node rules on ingress gw
* update multiple policies for users
* check allowed direction
* remove debug logs
2024-12-10 11:21:14 +04:00
Abhishek K
31c2311bef
NET-1782: Fetch Node Connection Status from metrics ( #3237 )
...
* add live status of node
* handle static node status
* add public IP field to server configuration
* get public Ip from config
* improve node status logic
* improvise status check
* use only checkin status on old nodes
---------
Co-authored-by: the_aceix <aceixsmartx@gmail.com>
2024-12-10 10:46:05 +04:00
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
c56f1cab15
fix swagger generation issue ( #3241 )
2024-12-10 08:41:41 +04:00
Abhishek K
5cb49e3d45
Merge pull request #3231 from gravitl/NET-1842
...
NET-1842:initialize cache in startup
2024-12-04 12:33:05 +04:00
Aceix
89751480e8
feat: receive device info and public endpoint from rac ( #3215 )
2024-12-03 13:19:43 +04:00
Yabin Ma
71162e401d
forbid duplicated ip in Edit node ( #3206 )
2024-12-03 13:18:02 +04:00
Max Ma
e8d3e80b08
initialize cache in startup
2024-11-29 11:35:34 +01:00
abhishek9686
8a948187bb
block tag deletion if used by a acl policy
2024-11-15 15:39:36 +04:00
abhishek9686
dcbe94eeb5
avoid adding static nodes to tags
2024-11-11 21:31:10 +04:00
abhishek9686
348a4d963b
comment out default pro trial
2024-11-11 09:48:18 +04:00
abhishek9686
32dfcecdff
add security to cpu profile
2024-11-08 10:36:25 +04:00
abhishek9686
16b693815f
add cpu profiling endpoint
2024-11-07 18:18:08 +04:00