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

xapi-project / xen-api / 44513720978
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: CP-314185-typed-card-order
DEFAULT BRANCH: master
Ran 19 Nov 2026 11:20AM UTC
Jobs 1
Files 36
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

19 Nov 2026 11:18AM UTC coverage: 78.996%. Remained the same
44513720978

push

github

web-flow
CP-312187: Allow VMs to restrict PXE boot protocols (#7318)

This PR is an updated version of
https://github.com/xapi-project/xen-api/pull/7312 where the restriction
was applied at the network level, it has been changed to apply at the
VM/template level.

This improvement is from a customer request to avoid network boot using
disabled internet protocols specifically on UEFI VMs.
It is expected the VM sits on a single network which holds the protocol
limitation but this cannot be guaranteed, so we restrict the VM which
can be easily templated to apply across many VMs with finer control.

The Toolstack will populate a XenStore entry before the VM boots which
the virtual firmware will read to determine if a boot device/protocol is
valid.
In XenServer, the firmware will assume the protocol is enabled unless it
can; access XenStore, determine the XenStore entry for the protocol
exists, read the entry, confirm the entry is exactly "false".
Along with populating the default value on create/upgrade; this will
ensure there is no change in behaviour until a user opts into the
feature.

The code in this PR was Co-authored by claude using the Sonnet 5 model

---

Fresh install/upgraded:
```
# xe vm-list uuid=<uuid> params=all
<snip>
                 pxe-dhcp-ipv4-allowed ( RW): true
                 pxe-dhcp-ipv6-allowed ( RW): true
```
Changing the value:
```
# xe vm-param-set uuid=425c249c-7499-c59d-01c0-cd749d34fd5d pxe-dhcp-ipv6-allowed=false
```
```
# xe vm-list uuid=<uuid> params=all
<snip>
                 pxe-dhcp-ipv4-allowed ( RW): true
                 pxe-dhcp-ipv6-allowed ( RW): false
```
XenStore is correctly populated:
```
# xenstore-ls /local/domain/6/dhcp
allow-ipv4 = "true"
allow-ipv6 = "false"
```

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 44513720978.1 19 Nov 2026 11:20AM UTC 36
79.0
GitHub Action Run
Source Files on build 44513720978
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44513720978
  • d592c288 on github
  • Prev Build on gh-readonly-queue/master/pr-7401-9fb74bde44d126a11c7d1979271efb1b7ce520a4 (#44108007072)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc