• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xcp-ng / xen-api / 27414689679
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: gtn-image-format-26.1.9-lcm
DEFAULT BRANCH: master
Ran 12 Jun 2026 12:09PM UTC
Jobs 1
Files 34
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Jun 2026 11:55AM UTC coverage: 80.459%. First build
27414689679

push

github

last-genius
Add DHCP setting for VIF IP configuration

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).

Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
(cherry picked from commit d045710cb)

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 27414689679.1 12 Jun 2026 12:09PM UTC 34
80.46
GitHub Action Run
Source Files on build 27414689679
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27414689679
  • 2e1706ce on github
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc