|
Ran
|
Jobs
1
|
Files
34
|
Run time
1min
|
Badge
README BADGES
|
push
github
[backport] Add DHCP setting for VIF IP configuration (#7124) XAPI exposes a VIF.configure_ipv4/v6 message to instruct guest agents to configure the VM's IP settings on the host's behalf. This feature currently works by setting /local/domain/<domid>/xenserver/ device/vif/<N>/static-ip-setting/enabled to one of the following values: enabled=0: None (unconfigured), so IP settings are decided by the VM itself enabled=1: Static, using the address and gateway values in the same key From the modes above, there's no way to go from a static IP config back to DHCP, and therefore, someone wanting to switch back to DHCP would need to log into the VM and make the changes there. Add a new VIF configuration mode that specifies enabled=2. This mode instructs the guest to configure its VIF to use DHCP (on IPv4) or any appropriate method to obtain an IP address automatically (on IPv6). Backport of #7118. (cherry picked from commit d045710cb)
3504 of 4355 relevant lines covered (80.46%)
0.8 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | python3.11 - 27404625750.1 | 34 |
80.46 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|