Skip to content

Commit

Permalink
Merge pull request #2245 from M1cha/per-network-opts
Browse files Browse the repository at this point in the history
PerNetworkOptions: add driver specific options
  • Loading branch information
openshift-merge-bot[bot] authored Nov 12, 2024
2 parents 2d713bd + 1836db5 commit 305e9ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libnetwork/types/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ type PerNetworkOptions struct {
// InterfaceName for this container. Required in the backend.
// Optional in the frontend. Will be filled with ethX (where X is a integer) when empty.
InterfaceName string `json:"interface_name"`
// Driver-specific options for this container.
Options map[string]string `json:"options,omitempty"`
}

// NetworkOptions for a given container.
Expand Down

0 comments on commit 305e9ce

Please sign in to comment.