mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
network: add support for podman network update and --network-dns-server
* Add support for `podman network update <>`
```console
network update
Description:
update networks for containers and pods
Usage:
podman network update [options] NAME
Examples:
podman network update podman1
Options:
--dns-add stringArray add network level nameservers
--dns-drop stringArray remove network level nameservers
```
* Add support for `--network-dns-server` to `podman network create`
Extends podman to support recently added features in `netavark` and
`aardvark-dns`
* https://github.com/containers/netavark/pull/497
* https://github.com/containers/aardvark-dns/pull/252
* https://github.com/containers/netavark/pull/503
[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]
Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
@@ -64,6 +64,7 @@ type ContainerEngine interface { //nolint:interfacebloat
|
||||
KubeApply(ctx context.Context, body io.Reader, opts ApplyOptions) error
|
||||
NetworkConnect(ctx context.Context, networkname string, options NetworkConnectOptions) error
|
||||
NetworkCreate(ctx context.Context, network types.Network, createOptions *types.NetworkCreateOptions) (*types.Network, error)
|
||||
NetworkUpdate(ctx context.Context, networkname string, options NetworkUpdateOptions) error
|
||||
NetworkDisconnect(ctx context.Context, networkname string, options NetworkDisconnectOptions) error
|
||||
NetworkExists(ctx context.Context, networkname string) (*BoolReport, error)
|
||||
NetworkInspect(ctx context.Context, namesOrIds []string, options InspectOptions) ([]types.Network, []error, error)
|
||||
|
||||
Reference in New Issue
Block a user