Open tpreclik opened 1 year ago
I would like to use the plugin in passthrough mode with a null ipam driver. However, the joining of a container to such a network fails:
Error response from daemon: NetworkDriver.Join: Parse gateway [] error: invalid CIDR address:
The problem is that Join tries to parse the gateway address and statically sets DisableGatewayService to false: https://github.com/Mellanox/docker-sriov-plugin/blob/b8d6f3fc5696ec2fbe9a0a4f3555c94dc2c8d48d/driver/driver.go#L413
Join
DisableGatewayService
false
I would like to use the plugin in passthrough mode with a null ipam driver. However, the joining of a container to such a network fails:
Error response from daemon: NetworkDriver.Join: Parse gateway [] error: invalid CIDR address:
The problem is that
Join
tries to parse the gateway address and statically setsDisableGatewayService
tofalse
: https://github.com/Mellanox/docker-sriov-plugin/blob/b8d6f3fc5696ec2fbe9a0a4f3555c94dc2c8d48d/driver/driver.go#L413