summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-17 10:45:18 -0400
committerGitHub <noreply@github.com>2021-09-17 10:45:18 -0400
commit08e1bb54c3cb390b1f2821222961805bb689df99 (patch)
tree2cfcb2298a83ad24430dc961acd2a1cd44f371ad /cmd/podman
parent9a5987cf6a7729f9d03a663dd361a37ca473da59 (diff)
parentaee0ab98cd3e3b552ac6eb0e7534a9f548b3109f (diff)
downloadpodman-08e1bb54c3cb390b1f2821222961805bb689df99.tar.gz
podman-08e1bb54c3cb390b1f2821222961805bb689df99.tar.bz2
podman-08e1bb54c3cb390b1f2821222961805bb689df99.zip
Merge pull request #11607 from Luap99/ipvlan
CNI: add ipvlan driver support and macvlan modes
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/common/completion.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/common/completion.go b/cmd/podman/common/completion.go
index 193f09e85..2ea5fa10f 100644
--- a/cmd/podman/common/completion.go
+++ b/cmd/podman/common/completion.go
@@ -1111,7 +1111,7 @@ func AutocompleteManifestFormat(cmd *cobra.Command, args []string, toComplete st
// AutocompleteNetworkDriver - Autocomplete network driver option.
// -> "bridge", "macvlan"
func AutocompleteNetworkDriver(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
- drivers := []string{types.BridgeNetworkDriver, types.MacVLANNetworkDriver}
+ drivers := []string{types.BridgeNetworkDriver, types.MacVLANNetworkDriver, types.IPVLANNetworkDriver}
return drivers, cobra.ShellCompDirectiveNoFileComp
}
@@ -1257,7 +1257,7 @@ func AutocompleteNetworkFilters(cmd *cobra.Command, args []string, toComplete st
"id=": func(s string) ([]string, cobra.ShellCompDirective) { return getNetworks(cmd, s, completeIDs) },
"label=": nil,
"driver=": func(_ string) ([]string, cobra.ShellCompDirective) {
- return []string{types.BridgeNetworkDriver, types.MacVLANNetworkDriver}, cobra.ShellCompDirectiveNoFileComp
+ return []string{types.BridgeNetworkDriver, types.MacVLANNetworkDriver, types.IPVLANNetworkDriver}, cobra.ShellCompDirectiveNoFileComp
},
"until=": nil,
}