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

xapi-project / xen-api / 15440657040 / 1
80%
master: 80%

Build:
DEFAULT BRANCH: master
Ran 04 Jun 2025 11:09AM UTC
Files 33
Run time 2s
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

04 Jun 2025 10:48AM UTC coverage: 77.719%. Remained the same
15440657040.1

push

github

web-flow
xapi_vif: Guarantee the device parameter is an unsigned decimal integer (#6495)

This has been always true as xapi will call valid_device on VIF creation
to
make sure device is an integer, but the datamodel type of 'device' is
string,
    without any such guarantees.

Specify the guarantee in the documentation and make the check stricter
(int_of_string will accept "0x9fe" as an integer, for example), making
sure
that the device is specifically a decimal unsigned integer.
allowed_VIF_devices
has already enforced the unsigned decimal integer limitation on
compliant clients.

This could be helpful in ensuring that the clients will always be right
in
sorting devices as numbers, not as strings (so that "2" follows "1"
instead of
    the string order of "1"->"10"->"11", etc.).

3359 of 4322 relevant lines covered (77.72%)

0.78 hits per line

Source Files on job python3.11 - 15440657040.1
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15440657040
  • 4bfdf7e7 on github
  • Prev Job for on master (#15439600266.1)
  • Next Job for on master (#15457633250.1)
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

© 2025 Coveralls, Inc