1
0
mirror of https://github.com/containers/netavark.git synced 2026-02-05 06:45:56 +01:00
Commit Graph

2069 Commits

Author SHA1 Message Date
Paul Holzinger
0b5994352d Merge pull request #1383 from containers/renovate/tokio-1.x
fix(deps): update rust crate tokio to 1.49.0
2026-01-05 12:16:31 +01:00
renovate[bot]
26854297aa fix(deps): update rust crate tokio to 1.49.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-03 13:54:49 +00:00
Brent Baude
49c942e199 Merge pull request #1369 from Luap99/network-ordered
make network setup order deterministic
2025-12-11 12:59:00 -06:00
Brent Baude
6f77f76ee9 Merge pull request #1372 from Luap99/mozim
bump mozim to v0.3.1
2025-12-05 11:47:01 -06:00
Paul Holzinger
d8901d00d6 bump mozim to v0.3.1
Fixes: #1368

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-12-05 17:01:34 +01:00
Paul Holzinger
49ee09b249 make network setup order deterministic
Change the file format of the networks json to use an array for the
PerNetworkOptions. With that we can get a defined order in which we
setup the networks and do that deterministically.

In order to provide backwards compatibility we use a custom json
deserializer function that accepts both the old and new format.
That allows us to still use the old podman against the new netavark
with this patch.

I also added PartialEq trait to the types so the unit test can compare
two loaded Networks.

I only converted a few of our test configs to the new format to keep the
diff smaller. We can convert most of them another time.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-12-05 14:08:46 +01:00
Paul Holzinger
957d8d2082 Merge pull request #1370 from containers/renovate/hyper-util-0.x
fix(deps): update rust crate hyper-util to 0.1.19
2025-12-03 19:56:29 +01:00
renovate[bot]
eaa44031d1 fix(deps): update rust crate hyper-util to 0.1.19
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-03 14:10:02 +00:00
Paul Holzinger
f2df7bdf11 Merge pull request #1367 from containers/renovate/log-0.x
fix(deps): update rust crate log to 0.4.29
2025-12-03 11:54:02 +01:00
renovate[bot]
d42622bcfc fix(deps): update rust crate log to 0.4.29
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-03 03:57:27 +00:00
Paul Holzinger
e578d28668 Merge pull request #1365 from containers/renovate/clap-4.x
fix(deps): update rust crate clap to ~4.5.53
2025-12-01 13:18:36 +01:00
renovate[bot]
658740ee7f fix(deps): update rust crate clap to ~4.5.53
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-01 10:59:09 +00:00
Paul Holzinger
553d638348 Merge pull request #1353 from l0rd/iptables-rm
Iptables support removal
2025-11-25 19:08:45 +01:00
Paul Holzinger
10368ec811 Merge pull request #1364 from containers/renovate/actions-checkout-6.x
[skip-ci] Update actions/checkout action to v6
2025-11-21 12:38:50 +01:00
renovate[bot]
6c2066a3fc [skip-ci] Update actions/checkout action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-20 17:26:21 +00:00
Brent Baude
5f121d25db Merge pull request #1363 from Luap99/new-images
New images 2025-11-20
2025-11-20 11:25:43 -06:00
Paul Holzinger
02ae64f625 New images 2025-11-20
from https://github.com/containers/automation_images/pull/428

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-20 16:05:08 +01:00
Mario Loriedo
2355b14495 Minor documentation and style fixes
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-11-17 19:02:48 +01:00
Mario Loriedo
7054ba66fd Add test cases that existed for iptables but not for nftables
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-11-17 19:02:48 +01:00
Mario Loriedo
0fa48211bd Remove iptables support
Code and documentation changes to remove the support of
iptables as a firewall driver.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2025-11-17 19:02:16 +01:00
Brent Baude
c5bd6a1cae Merge pull request #1180 from lto-dev/main
Add outbound_addr to allow for SNAT instead of MASQ
2025-11-17 11:04:47 -06:00
Brent Baude
49400cd09b Merge pull request #1361 from containers/renovate/hyper-util-0.x
fix(deps): update rust crate hyper-util to 0.1.18
2025-11-17 11:02:27 -06:00
renovate[bot]
37446a174d fix(deps): update rust crate hyper-util to 0.1.18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-13 21:30:53 +00:00
openshift-merge-bot[bot]
b05811c769 Merge pull request #1359 from Luap99/release
Release v1.17.0
2025-11-12 14:47:43 +00:00
Paul Holzinger
1df9198441 bump to v2.0.0-dev
This means we are ready to merge breaking changes such as the iptables
removal.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-12 14:13:33 +01:00
Paul Holzinger
53a710a5ec release v1.17.0
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
v1.17.0
2025-11-12 13:34:41 +01:00
Paul Holzinger
35e1f235a5 release notes for v1.17.0
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-12 13:28:34 +01:00
Paul Holzinger
6cd4a15ab9 sync release notes from v1.16.1
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-12 13:15:41 +01:00
openshift-merge-bot[bot]
2d4a788c8c Merge pull request #1356 from Luap99/cargo-update
run cargo update
2025-11-11 20:26:59 +00:00
openshift-merge-bot[bot]
13b24feac5 Merge pull request #1357 from shivkr6/conntrack
refactor(netlink): Generalize socket for multi-protocol support
2025-11-10 14:01:42 +00:00
Shivang K Raghuvanshi
b83903b0ea refactor(netlink): Generalize socket for multi-protocol support
The existing `netlink.rs` was specific to `NETLINK_ROUTE`. To prepare for adding `NETLINK_NETFILTER` support for conntrack, this commit refactors the netlink socket implementation to be generic.

- A new generic `Socket<P>` is introduced in `src/network/netlink.rs` to handle common send/receive logic.
- All routing-specific code, types, and functions are moved to a new `src/network/netlink_route.rs`, which now uses `Socket<NetlinkRoute>`.
- All imports and type signatures across the codebase have been updated to use this new structure.

This is a pure refactoring with no functional changes.

Signed-off-by: Shivang K Raghuvanshi <shivangraghuvanshi2005@gmail.com>
2025-11-09 13:04:32 +05:30
Paul Holzinger
0b5a12c441 run cargo update
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-07 19:49:45 +01:00
openshift-merge-bot[bot]
4c794dc3c8 Merge pull request #1354 from Luap99/serde-update
Update serde and serde_json
2025-11-07 18:47:47 +00:00
Matt Heon
3d2effea27 Merge pull request #1352 from Luap99/action
fix download artifact action
2025-11-07 13:43:44 -05:00
openshift-merge-bot[bot]
16987205a0 Merge pull request #1355 from Luap99/test-dhcp
test-dhcp: use /24 subnet for bridge
2025-11-07 13:30:16 +00:00
Paul Holzinger
b50a043904 test-dhcp: use /24 subnet for bridge
Fix gateway_from_subnet and strip_last_octet_from_subnet usage to
actually accept a first argument with the subnet like some callers where
using. This makes more sense then depending on the global variable.

Fixes: #1344

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-06 18:42:42 +01:00
Paul Holzinger
ec06f11290 update serde and serde_json
To 1.0.228 and 1.0.145 respectively.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-06 15:35:40 +01:00
Paul Holzinger
d8fd16dd05 varktables: remove use of private serde type
The type can no longer be used. I hav eno idea why it was used here, we
just return a normal Result so can use the default Rust Ok() here.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-06 15:33:20 +01:00
openshift-merge-bot[bot]
de9f438f4a Merge pull request #1185 from containers/renovate/iptables-0.x
fix(deps): update rust crate iptables to 0.6.0
2025-11-06 12:52:23 +00:00
openshift-merge-bot[bot]
0d12ca6d70 Merge pull request #1339 from containers/renovate/clap-4.x
fix(deps): update rust crate clap to ~4.5.51
2025-11-06 12:30:02 +00:00
renovate[bot]
560b00d273 fix(deps): update rust crate iptables to 0.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-06 12:19:15 +00:00
renovate[bot]
fdeb95500d fix(deps): update rust crate clap to ~4.5.51
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-06 12:05:02 +00:00
openshift-merge-bot[bot]
4a7b1648ef Merge pull request #1343 from cathay4t/main
Upgrade to mozim 0.3.0
2025-11-05 15:33:56 +00:00
Paul Holzinger
cd8d1bf787 fix download artifact action
The v5 update broke the download location, it seems to extarct to the
root now and no longer into the release-artifacts directory. So fix this
by specifying the path explicitly, see
https://github.com/actions/download-artifact/issues/419.

Fixes: #1312

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-11-05 15:21:33 +01:00
Gris Ge
ed733e5de9 Upgrade to mozim 0.3.0
Highlights for mozim 0.3:
 * Full tokio based rewrite which does not require standalone thread for
   Future wakeup.
 * Removed `nispor` as dependency.

Signed-off-by: Gris Ge <fge@redhat.com>
2025-11-05 15:05:36 +01:00
openshift-merge-bot[bot]
c1bc4ba86b Merge pull request #1350 from timcoding1988/rotate_aws_meta_task_key
rotating aws key for metadata task
2025-11-04 14:05:53 +00:00
Tim Zhou
0d7867ed79 rotating aws metadata task key
Signed-off-by: Tim Zhou <tizhou@redhat.com>
2025-11-04 08:38:25 -05:00
renovate[bot]
0f3b790593 [skip-ci] Update GitHub Artifact Actions
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-24 22:01:01 +00:00
openshift-merge-bot[bot]
ca8681520f Merge pull request #1340 from timcoding1988/rotate_aws_key
rotate aws keys
2025-10-22 14:39:32 +00:00
Tim Zhou
ddf7e3209e rotate aws keys
Signed-off-by: Tim Zhou <tizhou@redhat.com>
2025-10-22 10:01:37 -04:00