Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
v4.0
- Netspoc is a two pass compiler now. Second pass optionally reuses code files from previous compiler run, if intermediate code hasn't changed. This gives a huge runtime improvement, because changes in ruleset typically effect only a small part of all managed devices. - First pass reads netspoc configuration and generates intermediate files *.config and *.rules in code directory. - Second pass reads intermediate files, applies local and secondary optimization, finds object-groups and generates final code files. - Previous intermediate and code files are stored in subdirectory '.prev/'. - Uses namespace Netspoc::Compiler. - Fixed optimizations: - A port range [B--C] was't merged with [A--(B-1)], if some larger port range [B--D] with D>C existed. - Subnet relation is recognized in more complicated cases now. - Local and secondary optimization work more synchronized now. - Removed options --comment_acls, --comment_routes. - Removed unused feature to read watchers from JSON.
- Loading branch information