354 Commits

Author SHA1 Message Date
Anthony Harivel
b3f5422a3b
link: add support for IFLA_VFINFO_LIST and IFLA_VF_STATS (#295)
Add support for decoding Virtual Function (VF) information from netlink
messages. This enables users to retrieve SR-IOV VF details when querying
network interfaces.

The implementation adds:
- VFStats struct containing per-VF traffic statistics (packets, bytes,
  broadcast, multicast, dropped counters for both RX and TX)
- VFInfo struct containing VF configuration (MAC address, VLAN, QoS,
  TX rate limits, spoof check, link state, RSS query, trust settings)
- VFLinkState type with Auto/Enable/Disable constants
- NumVF and VFInfoList fields to LinkAttributes
- Decoding logic for IFLA_NUM_VF and IFLA_VFINFO_LIST nested attributes

The VF information follows the kernel's nested attribute structure.

This is useful for monitoring and managing SR-IOV enabled network
interfaces where the Physical Function (PF) exposes multiple Virtual
Functions to guest VMs or containers.

Signed-off-by: Anthony Harivel <aharivel@redhat.com>
v2.1.1
2026-02-08 12:50:40 +01:00
dependabot[bot]
61f4d31e52
build(deps): bump golang.org/x/sys from 0.39.0 to 0.40.0 (#293)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.39.0 to 0.40.0.
- [Commits](https://github.com/golang/sys/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.40.0
  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>
2026-01-09 21:54:03 +01:00
dependabot[bot]
c852f0bcc7
build(deps): bump actions/checkout from 6.0.0 to 6.0.1 (#289)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1af3b93b68...8e8c483db8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  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>
2026-01-09 21:51:57 +01:00
dependabot[bot]
2d8862c121
build(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 (#290)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](e7fa5ac41e...1e7e51e771)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: 9.2.0
  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>
2026-01-09 21:49:29 +01:00
Daniel Swarbrick
2a35d85b9d
Use generic function for creating pointers (#291)
Replace type-specific ptrFoo helper functions with a generic one.

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2026-01-02 11:54:34 +01:00
dependabot[bot]
0968a516a1
build(deps): bump golang.org/x/sys from 0.38.0 to 0.39.0 (#288)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/sys/compare/v0.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.39.0
  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-12-11 14:48:10 +01:00
dependabot[bot]
0fd7dcd295
build(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 (#287)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/sync/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.19.0
  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-12-11 13:52:17 +01:00
dependabot[bot]
6129d21402
build(deps): bump actions/setup-go from 6.0.0 to 6.1.0 (#284)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4469467582...4dc6199c7b)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.1.0
  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-12-04 08:48:29 +01:00
dependabot[bot]
27a5a27dfa
build(deps): bump actions/checkout from 5.0.0 to 6.0.0 (#286)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  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-12-04 08:35:19 +01:00
dependabot[bot]
4b1f826e6a
build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.1.0 (#285)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 8.0.0 to 9.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](4afd733a84...e7fa5ac41e)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: 9.1.0
  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-12-01 08:31:20 +01:00
dependabot[bot]
a2d340e824
build(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0 (#283)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sync/compare/v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.18.0
  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-11-10 11:02:33 +01:00
dependabot[bot]
f90876207f
build(deps): bump golang.org/x/sys from 0.37.0 to 0.38.0 (#282)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/sys/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.38.0
  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-11-10 07:59:51 +01:00
dependabot[bot]
73b758e84d
build(deps): bump github.com/cilium/ebpf from 0.19.0 to 0.20.0 (#281)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-version: 0.20.0
  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-11-03 17:46:23 +01:00
dependabot[bot]
fc40eea5d6
build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 (#276)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.17.0
  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>
v2.1.0
2025-10-30 23:04:00 +01:00
dependabot[bot]
960d5be8c5
build(deps): bump golang.org/x/sys from 0.35.0 to 0.37.0 (#279)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.35.0 to 0.37.0.
- [Commits](https://github.com/golang/sys/compare/v0.35.0...v0.37.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.37.0
  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-10-30 23:02:35 +01:00
Jeroen Simonetti
3b540fed7d Update go version
Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2025-10-30 23:00:18 +01:00
Jeroen Simonetti
f543eb39e5 Update go version
Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2025-10-30 22:57:58 +01:00
Jeroen Simonetti
5c41262525
Implement additional drivers (#280)
Add drivers for bridge, macvlan, vlan, vxlan and add helpers to
LinkService to use them (SetMaster, RemoveMaster)

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2025-10-30 22:55:44 +01:00
dependabot[bot]
09ef11e471
build(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#278)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](d35c59abb0...4469467582)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.0.0
  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-10-01 15:18:51 +02:00
dependabot[bot]
77c6bbdd48
build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#275)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  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-09-01 16:17:54 +02:00
dependabot[bot]
499070d4f3
build(deps): bump github.com/mdlayher/netlink from 1.7.2 to 1.8.0 (#274)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-version: 1.8.0
  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-08-27 08:31:48 +02:00
Daniel Swarbrick
f8dffafbb8
Use golang.org/x/sys/cpu.IsBigEndian (#273)
github.com/mdlayher/netlink v1.8.0 changed the return of
nlenc.NativeEndian() such that comparing it against encoding.BigEndian
or encoding.LittleEndian does not work as expected.

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2025-08-26 19:57:38 +02:00
dependabot[bot]
563e77dc80
build(deps): bump golang.org/x/sys from 0.34.0 to 0.35.0 (#272)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.34.0 to 0.35.0.
- [Commits](https://github.com/golang/sys/compare/v0.34.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.35.0
  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-08-08 08:52:42 +02:00
dependabot[bot]
9caaa41201
build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 (#271)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/sync/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.16.0
  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-07-10 07:59:08 +02:00
dependabot[bot]
0d5d015c65
build(deps): bump golang.org/x/sys from 0.33.0 to 0.34.0 (#270)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/sys/compare/v0.33.0...v0.34.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.34.0
  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-07-10 07:37:40 +02:00
dependabot[bot]
898f15c4d7
build(deps): bump github.com/cilium/ebpf from 0.18.0 to 0.19.0 (#269)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-version: 0.19.0
  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>
v2.0.5
2025-06-27 07:58:57 +02:00
dependabot[bot]
858ea9dbff
build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (#267)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](1481404843...4afd733a84)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: 8.0.0
  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-06-06 12:29:47 +02:00
Jeroen Simonetti
69aec85f93 chore: fix golanglint-ci
Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2025-06-06 12:21:21 +02:00
dependabot[bot]
c6507c88a6
build(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0 (#268)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sync/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.15.0
  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-06-06 12:19:33 +02:00
dependabot[bot]
7fc9ad5e18
build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (#266)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0aaccfd150...d35c59abb0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  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-06-01 09:36:01 +02:00
dependabot[bot]
6e33595ca1
build(deps): bump golang.org/x/sys from 0.32.0 to 0.33.0 (#263)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/sys/compare/v0.32.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.33.0
  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-05-11 14:30:59 +02:00
dependabot[bot]
c4ee585960
build(deps): bump golang.org/x/sync from 0.13.0 to 0.14.0 (#264)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sync/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.14.0
  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-05-11 14:28:51 +02:00
Terin Stock
5d4f0c437b
feat(route): list with kernel filtering (#262)
A new "ListMatch" function has been added to the RouteService to allow
for kernel-based filtering of the routing tables. The netlink flags
required for getting a route for an IP (eg, rtnl.RouteGetAll) is
different than those required while filtering the table.

This changeset removes the superfluous "netlink.DumpFiltered" flag from
the Get function of RouteService, as this flag is for kernel responses.

Signed-off-by: Terin Stock <terinjokes@gmail.com>
2025-05-11 12:06:36 +02:00
dependabot[bot]
92febc2b64
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 (#261)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 11:15:32 +02:00
dependabot[bot]
54d6074900
build(deps): bump github.com/cilium/ebpf from 0.17.3 to 0.18.0 (#260)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.17.3 to 0.18.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.17.3...v0.18.0)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-version: 0.18.0
  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-04-16 12:10:18 +02:00
dependabot[bot]
8a2c0b9f95
build(deps): bump golang.org/x/sync from 0.12.0 to 0.13.0 (#259)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/sync/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.13.0
  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-04-16 10:42:12 +02:00
dependabot[bot]
81989250f1
build(deps): bump golang.org/x/sys from 0.31.0 to 0.32.0 (#258)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/sys/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.32.0
  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-04-16 08:07:28 +02:00
Jeroen Simonetti
4f94b95172
chore: fix CI issues (#257)
* chore: fix CI issues
* chore: fix golangci-lint version issue

---------

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
v2.0.3
2025-04-15 10:21:45 +02:00
Andrey Smirnov
cff2178760
feat: add support for address priority (#256)
This allows to set route priority/metric for prefix routes created
automatically when an address is assigned.

E.g. `10.0.0.0/8` with metric `32` would generate a route:

```
10.0.0.0/8 via <if> metric 32
```

The default metric is zero. A custom metric allows to prefer
one interface over another when the prefixes overlap.

See https://github.com/siderolabs/talos/issues/10696

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-04-15 10:06:46 +02:00
dependabot[bot]
6bb564ace8
build(deps): bump actions/setup-go from 5.3.0 to 5.4.0 (#255)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](f111f3307d...0aaccfd150)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.4.0
  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-04-01 09:55:01 +02:00
dependabot[bot]
9c6a2d4e2c
build(deps): bump golangci/golangci-lint-action from 6.5.0 to 7.0.0 (#254)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.5.0 to 7.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](2226d7cb06...1481404843)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: 7.0.0
  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-04-01 09:54:31 +02:00
dependabot[bot]
1ac6950fae
build(deps): bump golang.org/x/sync from 0.1.0 to 0.12.0 (#253)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.1.0 to 0.12.0.
- [Commits](https://github.com/golang/sync/compare/v0.1.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  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-03-20 11:04:39 +01:00
dependabot[bot]
f6c26aac77
build(deps): bump github.com/cilium/ebpf from 0.12.3 to 0.17.3 (#252)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.12.3 to 0.17.3.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.12.3...v0.17.3)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  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-03-19 11:30:58 +01:00
dependabot[bot]
cca85477f4
build(deps): bump golang.org/x/sys from 0.20.0 to 0.31.0 (#251)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.20.0 to 0.31.0.
- [Commits](https://github.com/golang/sys/compare/v0.20.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  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-03-19 11:29:11 +01:00
dependabot[bot]
651981dc37
build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (#250)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  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-03-19 11:25:52 +01:00
dependabot[bot]
85e4a06418
build(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 (#249)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-19 11:21:54 +01:00
dependabot[bot]
8f2d608e5b
build(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.5.0 (#248)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.2.0 to 6.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](ec5d18412c...2226d7cb06)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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-03-01 10:55:17 +01:00
Jeroen Simonetti
64966466e3
update ci test go versions (#247)
Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2025-02-24 17:17:08 +01:00
dependabot[bot]
c3c8328c19
build(deps): bump actions/setup-go from 5.2.0 to 5.3.0 (#244)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](3041bf56c9...f111f3307d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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-01 10:23:27 +01:00
dependabot[bot]
97315e0843
build(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 (#245)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](971e284b60...ec5d18412c)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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-01 10:21:35 +01:00