Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimized HC-set finalization - changing expected results (#712)
* Initial implementation of building and minimizing fw-rules directly from connectivity properties. Signed-off-by: Tanya <[email protected]> * Fixed lint errors. Signed-off-by: Tanya <[email protected]> * Updating (some of) expected results for explainability queries, according to more condensed optimized output. Signed-off-by: Tanya <[email protected]> * Fixed converting fw-rules to connectivity properties, while taking into account TCP/non-TCP protocol restriction. Signed-off-by: Tanya <[email protected]> * Optimized handling IpBlocks in optimized fw-rules minimization Signed-off-by: Tanya <[email protected]> * Optimized initial namespace grouping (by grouping few namespaces together, according to grouping in cubes). Also, added grouping by labels to initial grouping. Signed-off-by: Tanya <[email protected]> * Optimized initial namespace grouping (by grouping few namespaces together, according to grouping in cubes). Also, added grouping by labels to initial grouping. Signed-off-by: Tanya <[email protected]> * More optimization in calculation partial ns grouping. Signed-off-by: Tanya <[email protected]> * Fixed lint error Signed-off-by: Tanya <[email protected]> * Refining basic namespace grouping by finding more opportunities to use properties in containing connections. Signed-off-by: Tanya <[email protected]> * One more refinemenet of basic namespace grouping Signed-off-by: Tanya <[email protected]> * One more refinemenet of basic namespace grouping Signed-off-by: Tanya <[email protected]> * More refinemenets of peer grouping from properties Signed-off-by: Tanya <[email protected]> * More refinemenets of peer grouping from properties Signed-off-by: Tanya <[email protected]> * More refinements of peer grouping from properties Signed-off-by: Tanya <[email protected]> * Added outputEndpoints option handling to PeerSetElement. Refined ns-set pairs grouping computation -trying starting from src_peers and from dst_peers and choosing a more compact grouping. Added grouping by full IpBlock. Signed-off-by: Tanya <[email protected]> * Fixing lint errors. Signed-off-by: Tanya <[email protected]> * Fixing handling txt-no_fw_rules format in the optimized solution Signed-off-by: Tanya <[email protected]> * Fixing lint error Signed-off-by: Tanya <[email protected]> * Fix: taking into account connectivity restriction (TCP/non-TCP) in generation of dot output in optimized solution Signed-off-by: Tanya <[email protected]> * Small fixes in txt_no_fw_rules_format Signed-off-by: Tanya <[email protected]> * Small fixes in txt_no_fw_rules_format Signed-off-by: Tanya <[email protected]> * Added grouping by dns entries to the optimized algorithm. Signed-off-by: Tanya <[email protected]> * Changed expected results of connectivity map query tests according to optimized runs Signed-off-by: Tanya <[email protected]> * Changed optimized semantic diff query implementation according to the optimized fw-rules minimization algorithm. Fixed get_connection_set_and_peers_from_cube. Changed some of the expected results of semantic diff tests. Signed-off-by: Tanya <[email protected]> * Keeping every dns entry separate in minimization of fw rules. Updated more semantic diff expected results. Signed-off-by: Tanya <[email protected]> * Updated containment, permits, forbids expected results. Signed-off-by: Tanya <[email protected]> * Cleaning up unused code and refactoring accordingly. Signed-off-by: Tanya <[email protected]> * Fixed lint error. Signed-off-by: Tanya <[email protected]> * Changed default to be the optimized run. Signed-off-by: Tanya <[email protected]> * In opt='debug' the result explanation should ne according to the optimized run. Signed-off-by: Tanya <[email protected]> * Restoring resource in scheme, changed by mistake. Signed-off-by: Tanya <[email protected]> * Updating more expected results. Signed-off-by: Tanya <[email protected]> * Small optimizations. Signed-off-by: Tanya <[email protected]> * Initial implementation of building and minimizing fw-rules directly from connectivity properties. Signed-off-by: Tanya <[email protected]> * Fixed lint errors. Signed-off-by: Tanya <[email protected]> * Updating (some of) expected results for explainability queries, according to more condensed optimized output. Signed-off-by: Tanya <[email protected]> * Fixed converting fw-rules to connectivity properties, while taking into account TCP/non-TCP protocol restriction. Signed-off-by: Tanya <[email protected]> * Optimized handling IpBlocks in optimized fw-rules minimization Signed-off-by: Tanya <[email protected]> * Optimized initial namespace grouping (by grouping few namespaces together, according to grouping in cubes). Also, added grouping by labels to initial grouping. Signed-off-by: Tanya <[email protected]> * Optimized initial namespace grouping (by grouping few namespaces together, according to grouping in cubes). Also, added grouping by labels to initial grouping. Signed-off-by: Tanya <[email protected]> * More optimization in calculation partial ns grouping. Signed-off-by: Tanya <[email protected]> * Fixed lint error Signed-off-by: Tanya <[email protected]> * Refining basic namespace grouping by finding more opportunities to use properties in containing connections. Signed-off-by: Tanya <[email protected]> * One more refinemenet of basic namespace grouping Signed-off-by: Tanya <[email protected]> * One more refinemenet of basic namespace grouping Signed-off-by: Tanya <[email protected]> * More refinemenets of peer grouping from properties Signed-off-by: Tanya <[email protected]> * More refinemenets of peer grouping from properties Signed-off-by: Tanya <[email protected]> * More refinements of peer grouping from properties Signed-off-by: Tanya <[email protected]> * Added outputEndpoints option handling to PeerSetElement. Refined ns-set pairs grouping computation -trying starting from src_peers and from dst_peers and choosing a more compact grouping. Added grouping by full IpBlock. Signed-off-by: Tanya <[email protected]> * Fixing lint errors. Signed-off-by: Tanya <[email protected]> * Fixing handling txt-no_fw_rules format in the optimized solution Signed-off-by: Tanya <[email protected]> * Fixing lint error Signed-off-by: Tanya <[email protected]> * Fix: taking into account connectivity restriction (TCP/non-TCP) in generation of dot output in optimized solution Signed-off-by: Tanya <[email protected]> * Small fixes in txt_no_fw_rules_format Signed-off-by: Tanya <[email protected]> * Small fixes in txt_no_fw_rules_format Signed-off-by: Tanya <[email protected]> * Added grouping by dns entries to the optimized algorithm. Signed-off-by: Tanya <[email protected]> * Changed expected results of connectivity map query tests according to optimized runs Signed-off-by: Tanya <[email protected]> * Changed optimized semantic diff query implementation according to the optimized fw-rules minimization algorithm. Fixed get_connection_set_and_peers_from_cube. Changed some of the expected results of semantic diff tests. Signed-off-by: Tanya <[email protected]> * Keeping every dns entry separate in minimization of fw rules. Updated more semantic diff expected results. Signed-off-by: Tanya <[email protected]> * Updated containment, permits, forbids expected results. Signed-off-by: Tanya <[email protected]> * Cleaning up unused code and refactoring accordingly. Signed-off-by: Tanya <[email protected]> * Fixed lint error. Signed-off-by: Tanya <[email protected]> * Changed default to be the optimized run. Signed-off-by: Tanya <[email protected]> * In opt='debug' the result explanation should ne according to the optimized run. Signed-off-by: Tanya <[email protected]> * Restoring resource in scheme, changed by mistake. Signed-off-by: Tanya <[email protected]> * Updating more expected results. Signed-off-by: Tanya <[email protected]> * Small optimizations. Signed-off-by: Tanya <[email protected]> * Small optimizations. Signed-off-by: Tanya <[email protected]> --------- Signed-off-by: Tanya <[email protected]>
- Loading branch information