mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
The current default `p_key` value is `-1`, which is only useful for the recognizability with NetworkManager API. NetworkManager chooses the `-1` as the default pkey value only because the connection should be created on the physical infiniband interface by default and the positive pkey value would make the connection created on the virtual infiniband partition. But NetworkManager should also have represented the default value as not specifying the pkey property initially. Therefore, change the default value of `p_key` into `None`. Signed-off-by: Wen Liang <liangwen12year@gmail.com> |
||
|---|---|---|
| .. | ||
| nm | ||
| __init__.py | ||
| argument_validator.py | ||
| ethtool.py | ||
| myerror.py | ||
| nm_provider.py | ||
| utils.py | ||