Work in progress.
- Added parser for WireGuard
- Added parser for ZeroTier
Dependencies:
- Bumped
networkx>=2.6,<3.4
- Added support for Python
3.10
- Dropped support for Python
3.7
- [deps] Updated dependencies and dependency monitoring badge
- [change] Added compatibility for latest OLSRd1 jsoninfo format
- Backward incompatible change for OpenVPN Parser: switched to use common name as netjson ID to avoid duplicate nodes when multiple nodes are behind the same public IP, for more information see Specialized features: OpenVPN
- Fix: fixed parsing issue in OpenVPN which caused some node and links to be missed if the OpenVPN nodes had same IP but different ports
- Feature: detect changes in nodes and links
- Change: Added/remove/changed nodes/links are now sorted
- Change: Unspecified fields like node's label and link's
cost_text
are now always shown as empty string if they are not specified - Change: Parse
cost_text
field from links - Backward incompatible change: the output of
diff
in this release differs slightly from the previous versions. Applications using previous netdiff versions will likely need minor adjustments to their code - Documentation Improvements
- Added support for openwisp-utils~=0.5.0
- Dropped support for python 2
- Added
DiGraph
support for NetJsonParser - Updated networkx version
- [openvpn] Ignore UNDEF nodes
- 2283d6d: [openvpn] Convert node properties to integer
- 6b72dab: [openvpn] Avoid failing if data is empty
- #56: Updated networkx to 2.0
- #55: Added a label in OpenvpnParser output
- #52: Added a label in NetjsonParser output
- #49: Added support to TAP mode in OpenVPN parser
- #47: Added OpenVPN parser
- #40: implemented stricter input (backward incompatible)
- pinned precise supported versions of dependencies to avoid incompatibilities
- c79b745: fixed
return value of
_get_primary_address()
inBatmanParser
- #36: fixed wrong diff when same nodes but different links
- #34: show
local_addresses
in NetJSON output (OlsrParser
,BatmanParser
andNetJsonParser
) - #29: support additional properties in NetJSON output
- #32: mock telnet requests in tests
- 63a5e8a: added
"Unrecognized format"
message inParserError
exceptions - 9ed48a4: added
arbitrary metric value (average of tx and rx) in
Bmx6Parser
- #27: added support
for txtinfo format to
BatmanParser
- ab9c40, 9ac89a: minor
optimizations and simplifications in
BatmanParser
- 990a30: minor
optimization in
Bmx6Parser
- 64f8f44: the parse() method of each parser now must return a networkx.Graph instance instead of storing it
- deea34: skip
links with infinite cost in
OlsrParser
- #13: added support for OLSR 0.6.x txtinfo plugin
- e94e91: updated
default "version" attribute of
OlsrParser
- #21: breaking
change made
diff
output consistent with NetJSONNetworkGraph
- #24: add "changed"
section to
diff
to show changes in weight - a6a161a:
diff
now returns an OrderedDict
- #26: renamed exceptions with "NetParser" prefix
- #25: raise Exception if topology file/URL not reachable
- 53e02cc: flagged
to_python
ofBaseParser
as public - 48d2927: refactored exceptions, added explaination in README
- c91e4e:
corrected weight in
OlsrParser
- #22: added subtraction operator as a shortcut to diff function
- be9f476:
corrected
MANIFEST.in
to fix egg builds
- #18: added CNML parser
- #17: added BMX6 (b6m tool) parser
- #16: added
NetParserJsonException
which is raised if no JSON object can be decoded in_to_python
- #14: replaced
startswith
string method withurlparse
module for URL scheme recognition
- #12: Added support for
telnet urls in
BaseParser
- Added
OlsrParser
- Added
BatmanParser
- Added
NetJsonParser
- Added
json
method toBaseParser
which returns valid NetJSON - Added
diff
function