LLee Yarwoodhack: Run bazel-race
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
hack: Run bazel-race Signed-off-by: Lee Yarwood <lyarwood@redhat.com> | 8 个月前 | |
Add license header linter for pkg/network Signed-off-by: avlitman <alitman@redhat.com> | 1 年前 | |
net, vm ctrl: Mv VMI patch up the stack PR #14914 pushed the VMI patch operation down the call stack. Move the VMI patch operation one level up the call stack in order to make it more visible. Signed-off-by: Orel Misan <omisan@redhat.com> | 11 个月前 | |
net, vm ctrl: Adjust VM's detached iface clearing logic Currently, VM's absent interfaces which are not present in the VMI.Status.Interfaces slice, are removed. This is problematic in the following scenario: 1. The dynamic-networks-controller is not deployed. 2. A VM is running with an interface connected to pod network. 3. A secondary interface is hotplugged and the VM is not migrated. 4. The interface above is marked for hot-unplug by setting its state field to absent. In this case, the interface and its matching network are removed from the VM spec, but are kept in the VMI spec. This is because, the controller does not set the VMI's interface state as absent, as in this scenario the naming scheme is unknown and assumed to be ordinal, thus preventing hot-unplug. Adjust the logic for clearing VM interfaces and their matching networks to remove only interfaces that meet the following criteria: 1. The interface state is absent. 2. The interface does not exist in the VMI spec. 3. The interface does not exist in the VMI statue. Following this change, in the scenario described above, the interface and its matching network will be retained both on the VM and VMI specs, until the VM will be migrated. Signed-off-by: Orel Misan <omisan@redhat.com> | 1 年前 | |
Add license header linter for pkg/network Signed-off-by: avlitman <alitman@redhat.com> | 1 年前 | |
Add license header linter for pkg/network Signed-off-by: avlitman <alitman@redhat.com> | 1 年前 |