All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. From http://keepachangelog.com
- ipv6 support
- 'source' directive support: wildcard sources files can now be loaded
- 'nameservers' directive support
- mypy typing (thanks @ObjatieGroba)
- update dev dependencies
- Fix interfaces unique names checking on dnsmasq (thanks @ObjatieGroba)
- Changing exported dict should not affect on adapter (thanks @ObjatieGroba)
- Fix module version specification (thanks @ObjatieGroba)
- support for lines with spaces in param value (thanks @ObjatieGroba)
- handle lines with spaces in the parameter section (they were dropped) (thanks @ObjatieGroba)
- Add missing post-up handling (thansk @patrickcjh)
- Increased portability using short args (thanks @lucascoelhof)
- wpa-conf to adapter and reader/writer. (thanks @mikeodr)
- parsing of options dict as 'bridge-opts' as this is the true attribute title when reading it back from 'attributes' accessor. (thanks @mikeodr)
- existing parsing of set_options for dns-search. (thanks @mikeodr)
- Bug with new ability to add comments
- Ability to provide header comments (thanks @mikeodr)
- Parsing of 'dns-search' (thanks @mikeodr)
- Adding missing option 'bridge_maxwait' to interfaces writer. (thanks @mikeodr)
- Only one DNS IP was being read or written by the library. (thanks @Jude188)
- Strict ordering of dns-search option after the dns-namerservers (thanks @mikeodr)
- Docs to read the docs :-)
- Class can be imported more easily as in the example : from debinterface import Interfaces
- DeprecationWarning for hotplug key, will be changed to allow-hotplug in 4.0
- PR from mchubby: chmod destination file to 0644
- dnsmasqRange.rm_itf_range returns False is nothing was changed
- Removed validation code from NetworkAdapter to its own class
- Do not backup/restore if creating a new interfaces file
- shutil.copy is replaced by os.rename which is atomic
- bad if/else
- failing tests
- NetworkAdapter : missing pre-down, post-up functions
- ifup command was not an absolute path (thanks @ymolinet)
- wrong paramter to ifup, thanks dimagafurov
- Makes flake8 happy
- REMOVED compatibility with python 2.6
- Code is ready to be deployed to PyPi
- InterfacesWritter : uses ifup --no-act to check for /etc/network/interfaces validity
- adapter : it is possible to access its properties
- a changelog...
- toolutils : safe_subprocess : enforce shell command being an array
- interfacesWriter : uses 'ifup -a --no-act' to check the interfaces file just written.
- refactoring which breaks retrocompatibility
- Read, writing, and editing supported.
- Specify file locations in constants.py