diff --git a/libnetwork/netavark/config.go b/libnetwork/netavark/config.go index 297338ffb..a0d1ce435 100644 --- a/libnetwork/netavark/config.go +++ b/libnetwork/netavark/config.go @@ -317,6 +317,11 @@ func createIpvlanOrMacvlan(network *types.Network) error { if err != nil { return err } + case types.BclimOption: + _, err := strconv.ParseInt(value, 10, 32) + if err != nil { + return fmt.Errorf("failed to parse %q option: %w", key, err) + } default: return fmt.Errorf("unsupported %s network option %s", driver, key) } diff --git a/libnetwork/types/const.go b/libnetwork/types/const.go index e367f9ad3..10ba17437 100644 --- a/libnetwork/types/const.go +++ b/libnetwork/types/const.go @@ -41,6 +41,7 @@ const ( ModeOption = "mode" IsolateOption = "isolate" MetricOption = "metric" + BclimOption = "bclim" ) type NetworkBackend string