1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/interfaces
catborise 443b31d86b fix(interfaces): a host interface can be created with DHCP or no IPv4, and every value is validated
The IPv4 address and gateway were required even for DHCP or no IPv4, so
such an interface could not be created; malformed addresses passed and a
missing prefix crashed the XML builder. They are validated like the IPv6
fields now (netmask notation accepted, IPv6 scope ids rejected), and a
static address without a gateway gets no empty route. Interface names
follow the Linux rule (up to 15 letters, digits, . _ -). A bridge member,
or the device an ethernet interface configures, must be a device of the
host (the page no longer falls back to made-up names), a bridge cannot
contain itself, and needs STP and a non-negative delay.
2026-10-07 20:42:02 +03:00
..
api ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates fix(interfaces): a host interface can be created with DHCP or no IPv4, and every value is validated 2026-10-07 20:42:02 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
forms.py fix(interfaces): a host interface can be created with DHCP or no IPv4, and every value is validated 2026-10-07 20:42:02 +03:00
models.py format python code with black 2022-11-02 08:54:35 +03:00
test_forms.py fix(interfaces): a host interface can be created with DHCP or no IPv4, and every value is validated 2026-10-07 20:42:02 +03:00
tests.py ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
views.py fix(interfaces): a host interface can be created with DHCP or no IPv4, and every value is validated 2026-10-07 20:42:02 +03:00