diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-27 12:16:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 12:16:50 -0500 |
commit | bedbc3e6fc2509ffa3b9a64da224fb21cd649284 (patch) | |
tree | 1b98f7142724855573d0a1e2976cb2d015ee5fc4 /pkg | |
parent | 5d6b5a03557385e1a0d6d6ecc29522b0101e22dd (diff) | |
parent | 6961d912061c81b7a444e7c00163ae240e318c42 (diff) | |
download | podman-bedbc3e6fc2509ffa3b9a64da224fb21cd649284.tar.gz podman-bedbc3e6fc2509ffa3b9a64da224fb21cd649284.tar.bz2 podman-bedbc3e6fc2509ffa3b9a64da224fb21cd649284.zip |
Merge pull request #13042 from Luap99/subnets
network create: allow multiple subnets
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/domain/entities/network.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/domain/entities/network.go b/pkg/domain/entities/network.go index 79edc3227..a057640b3 100644 --- a/pkg/domain/entities/network.go +++ b/pkg/domain/entities/network.go @@ -43,12 +43,12 @@ type NetworkRmReport struct { type NetworkCreateOptions struct { DisableDNS bool Driver string - Gateway net.IP + Gateways []net.IP Internal bool Labels map[string]string MacVLAN string - Range net.IPNet - Subnet net.IPNet + Ranges []string + Subnets []string IPv6 bool // Mapping of driver options and values. Options map[string]string |