1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-10-21 02:20:06 +00:00

refactor(vrtManager): replace vendored IPy with stdlib ipaddress and add tests

- Migrate network_size and wvmNetwork IP methods to Python built-in ipaddress
- Remove obsolete vendored vrtManager/IPy.py (1650+ lines)
- Add comprehensive unit test suite in vrtManager/test_network_ip.py (15 tests)
- Clean up obsolete IPy exclusion in .travis.yml
This commit is contained in:
catborise 2026-09-24 22:52:12 +03:00
parent ba9bc2c3b9
commit 6d8a62a95e
4 changed files with 185 additions and 1683 deletions

View file

@ -7,7 +7,7 @@ env:
install:
- pip install -r dev/requirements.txt
script:
- pep8 --exclude=IPy.py --ignore=E501 vrtManager accounts admin appsettings \
- pep8 --ignore=E501 vrtManager accounts admin appsettings \
computesconsole create datasource instances \
interfaceslogs networks nwfilters storages \
virtsecrets