Commit graph

6698 commits

Author SHA1 Message Date
abhishek9686
75307cb726 add migration for extclient tags 2025-03-25 17:01:03 +04:00
Vishal Dalwadi
4c14cfd099
NET-1986: Only report online hosts and external clients (#3375)
* feat(go): only report online hosts.

* feat(go): only report online external clients.

* feat(go): only report online hosts and external clients.
2025-03-17 18:35:17 +04:00
Abhishek K
fb1052e6a5
change check to last checkin status (#3374) 2025-03-17 17:23:06 +04:00
Vishal Dalwadi
346f09ce39
NET-1986: Only report online hosts. (#3370)
* feat(go): only report online hosts.

* feat(go): only report online external clients.
2025-03-14 17:16:31 +04:00
Abhishek K
4105a985e4
Merge pull request #3350 from gravitl/master
Merge pull request #3349 from gravitl/release-v0.30.0
2025-02-28 12:21:35 +04:00
Abhishek K
06484ada33
Merge pull request #3349 from gravitl/release-v0.30.0
Release v0.30.0
2025-02-28 12:21:05 +04:00
abhishek9686
225bf37e02 resolve merge conflicts 2025-02-28 12:18:38 +04:00
Abhishek K
1aa446a53a
Merge pull request #3348 from gravitl/NET-1973
NET-1973: fix ip allocation cache for HA
2025-02-28 12:06:49 +04:00
abhishek9686
c0a88e7c43 add cache internal to the func 2025-02-28 11:09:39 +04:00
abhishek9686
3dedb20f94 fix user email validation 2025-02-27 18:42:09 +04:00
abhishek9686
ce6ec25253 fix network ip allocation in HA 2025-02-27 16:26:15 +04:00
Abhishek K
2f0d289813
Merge pull request #3340 from gravitl/NET-1964
NET-1964: add node mutex to model
2025-02-27 12:39:58 +04:00
abhishek9686
50c3e3aaed import dns field from gw node 2025-02-27 12:29:01 +04:00
abhishek9686
aa84d43f1c import dns field from gw node 2025-02-27 12:12:13 +04:00
abhishek9686
bc1eed3745 fix azure email claims 2025-02-26 16:52:47 +04:00
abhishek9686
46eea43397 add mutex for target nodes 2025-02-25 19:41:57 +04:00
Abhishek K
68345bb1a0
fix ifconig ip endpoint (#3343) 2025-02-24 19:25:14 +03:00
abhishek9686
dd8cd5856e change mutex to write lock 2025-02-24 13:38:34 +03:00
abhishek9686
0256458a59 change mutex lock 2025-02-21 15:12:26 +03:00
abhishek9686
e4b1a84ef2 Merge branch 'release-v0.30.0' of https://github.com/gravitl/netmaker into NET-1964 2025-02-21 14:10:52 +03:00
abhishek9686
3411425bdf fix ifconig ip endpoint 2025-02-21 14:06:13 +03:00
abhishek9686
ce50b965d4 add peer mutex 2025-02-19 23:04:50 +04:00
abhishek9686
92698363cd add node mutex to model 2025-02-19 22:17:40 +04:00
Abhishek K
ee6bea117f
Merge branch 'develop' into master 2025-02-19 01:14:06 +04:00
Abhishek K
e2f61a3fc8
Merge pull request #3337 from gravitl/release-v0.30.0
add mutex around peer tags
2025-02-19 01:11:42 +04:00
abhishek9686
7dd4c048c3 add mutex around peer tags 2025-02-18 22:10:03 +04:00
Abhishek K
f028a6374d
Merge pull request #3332 from gravitl/master
Master
2025-02-17 18:10:19 +04:00
Abhishek K
06bd376603
Merge pull request #3331 from gravitl/release-v0.30.0
clone node tags
2025-02-17 18:09:36 +04:00
abhishek9686
252de61aa7 clone node tags 2025-02-17 17:55:53 +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
Abhishek K
fb02979697
Merge pull request #3330 from gravitl/master
Master
2025-02-14 09:41:34 +04:00
Abhishek K
c57862021d
Merge pull request #3329 from gravitl/release-v0.30.0
v0.30.0: remove debug log, fix concurrent map write issue
2025-02-14 09:41:05 +04:00
abhishek9686
bee1f4dda4 remove debug log, fix concurrent map write issue 2025-02-13 22:53:05 +04:00
Abhishek K
5624bb7eb8
Update bug-report.yml 2025-02-07 12:27:57 +04:00
Abhishek K
91045c63ef
Update bug-report.yml 2025-02-07 11:49:44 +04:00
Abhishek K
491bbda7ce
Merge pull request #3317 from gravitl/revert-3312-NET-1940
Revert "NET-1940: add stun to server stack"
2025-02-06 13:25:52 +04:00
Abhishek K
7b6e544cdc
Revert "add stun to server stack (#3312)"
This reverts commit 39006debba.
2025-02-06 13:25:31 +04:00
Abhishek K
64bc351564
Merge pull request #3315 from gravitl/master
Master
2025-02-04 19:32:14 +04:00
Abhishek K
a80e282882
Merge pull request #3314 from gravitl/release-v0.30.0
Release v0.30.0
2025-02-04 19:31:32 +04:00
Abhishek K
7b04861476
Merge pull request #3313 from gravitl/NET-1902
don't override acl rules for multi-net host
2025-02-04 17:09:53 +04:00
abhishek9686
01e7ccf731 don't override acl rules for multi-net host 2025-02-04 15:34:03 +04:00
Abhishek K
39006debba
add stun to server stack (#3312) 2025-02-04 09:01:36 +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
dependabot[bot]
04fe56db4f
Bump github.com/go-playground/validator/v10 from 10.23.0 to 10.24.0 (#3296)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.23.0 to 10.24.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.23.0...v10.24.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 15:20:36 +04:00
dependabot[bot]
2668fcf1e5
Bump alpine from 3.21.0 to 3.21.2 (#3297)
Bumps alpine from 3.21.0 to 3.21.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 15:19:58 +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
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
dependabot[bot]
6509da9b61
Bump dawidd6/action-download-artifact from 7 to 8 (#3310)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 7 to 8.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 11:27:09 +05:30