generated from IBM/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explainability with hcs #477
Merged
Merged
Changes from all commits
Commits
Show all changes
205 commits
Select commit
Hold shift + click to select a range
74ec605
Initial implementation of the optimized TcpLikeProperties (and HyperC…
tanyaveksler c279de6
Extended testcase3 to produce connectivity_map
tanyaveksler 1b1ebbe
Fixed a problem in HyperCubeSet (wrongly changing self in _and_aux.
tanyaveksler 09cfad1
Small fix
tanyaveksler 94fb117
Further fix of the hyper cube set
tanyaveksler 520377a
Further fix of the hyper cube set
tanyaveksler af37b10
Merge remote-tracking branch 'origin/Optimized_HC_set' into Optimized…
tanyaveksler 0339215
Avoiding redundant and heavy copy of layers.
tanyaveksler 564d667
Merge branch 'master' into Optimized_HC_set
tanyaveksler b9810b3
General changes from the Optimized_HC_set branch.
tanyaveksler e82ac99
General changes from the Optimized_HC_set branch.
tanyaveksler 6b3b364
Avoiding lint warnings
tanyaveksler cfb5ee7
Avoiding lint warnings
tanyaveksler 01a9d40
Merge branch 'Small-fixes-for-master' into Optimized_HC_set
tanyaveksler 28e211b
Added support of IpBlocks in optimized hyper cube set implementation.
tanyaveksler d5d97a6
More accurate update of base_peer_set.
tanyaveksler 0a2cb45
Added dedundant fw_rules creation for testing (to be further removed).
tanyaveksler 0800959
Initial implementation of Calico optimized connections handling.
tanyaveksler 05a496c
Fixed the construction of connectivity graph (when some of src_peer o…
tanyaveksler bb6842c
Multiple fixes:
tanyaveksler 0d4bd28
Properly handling 'False' represented by TcpLikeProperties.
tanyaveksler 47d5bd0
Added support to ICMP data in optimized HC set (handled in TCPLikePro…
tanyaveksler 0a8d53f
Added command line flag optimized_run, having 3 possibilities:
tanyaveksler 183eaeb
Small fixes;
tanyaveksler 8e34573
Small fixes;
tanyaveksler 9957228
Fixed building tcp_like_properties form connectivity graph
tanyaveksler 004742b
Optimized the comparison between original and optimized connections (…
tanyaveksler a27899d
Implemented optimized Istio policy handling.
tanyaveksler ebae572
Added Ingress policy support in the optimized solution.
tanyaveksler 25118de
Added Istio Ingress policy support in the optimized solution.
tanyaveksler 9218096
Merge with master.
tanyaveksler 7780876
Further optimization: converting HC set directly to fw rules.
tanyaveksler 8998470
Small bug fix
tanyaveksler 1281b2c
Fixed printing peer sets in FWRules.
tanyaveksler 278b921
More released comparison between original and optimized fw-rules (all…
tanyaveksler 6320d95
Merge with master.
tanyaveksler c408b49
Splitting istio opt properties to tcp and non-tcp properties.
tanyaveksler 4a187f2
Fixed creation TcpLikeProperties with empty methods or protocols.
tanyaveksler 74234ab
Optimizing sidecar priorities handling by refinement of sidecar.selec…
tanyaveksler 1216778
Merge with master.
tanyaveksler 2c4b1af
Adding newline at the end of connectivity test expected results.
tanyaveksler 9ff9d25
Handling exclude_ipv6 print in optimized calculation.
tanyaveksler eb763fb
Fixing initialization of MethodSet in HTTPRoute (None means no method…
tanyaveksler dabbd17
Changed output format of ICMP data.
tanyaveksler 1388a4c
Making default the original (not optimized) implementation in run_all…
tanyaveksler e45a007
1. Merge with master
tanyaveksler 3882e85
1. Merge with master
tanyaveksler 6350ebd
Simplifying and improving make_tcp_like_properties function.
tanyaveksler 54a1708
Fixing lint errors.
tanyaveksler a30fc04
Fixing lint errors.
tanyaveksler ab7dc47
Removed unised classes ConnectivityGraphPrototype and ConnectivityGra…
tanyaveksler e49ddfb
Avoid using creation of TcpLikeProperties directly with init; using m…
tanyaveksler 254412a
Fixing lint errors.
tanyaveksler 8ec0717
Fixing lint errors.
tanyaveksler 95971c4
Fixing ConnectionSet.__str__ to be accurate, since it is used in sort…
tanyaveksler b343603
Merge with master.
tanyaveksler 2bba713
Fixed excluding unused ipv6 blocks in the optimized solution.
tanyaveksler a346c25
Renamed TcpLikeProperties to ConnectivityProperties.
tanyaveksler 0d2661b
Fixing lint errors.
tanyaveksler 64daeed
Fixing lint errors.
tanyaveksler 51b38d5
track expl data
shmfr 464f004
explain connectivity
shmfr b5c6586
explain connectivity
shmfr f8243de
Simplified and cleaned interfaces.
tanyaveksler d77050d
Fixed lint errors.
tanyaveksler 8977f43
Fixed lint errors.
tanyaveksler dae1bb1
Added a new class ConnectivityCube that manages forth and back transl…
tanyaveksler ad299fb
Added set_dims method to set multiple dimensions at once.
tanyaveksler a1c5654
Added get_protocol_set_with_single_protocol function to ProtocolSet.
tanyaveksler ca0cab9
Fixing lint errors.
tanyaveksler 85ae2ea
Fixed connectivity properties unit tests to match the new API.
tanyaveksler e72081f
Aligned get_cube_dict to return str for all dimensions.
tanyaveksler 458c373
Removed unused ICMPDAtaSet class and its unit tests.
tanyaveksler 4fdeed5
Cleaner code using the new ConnectivityCube API.
tanyaveksler 13fcaff
Added missing copy() in ConnectionSet.
tanyaveksler d58118c
Added missing copy() in ConnectionSet.
tanyaveksler 61bcee2
Merge branch 'Optimized_HC_set' of https://github.com/IBM/network-con…
tanyaveksler 52b3ec9
When running with -opt=debug, printing the original results of Connec…
tanyaveksler e38aff1
Made cleaner interface of ConectivityCube class, using __setitem__, _…
tanyaveksler f5f579e
explain connectivity
shmfr 5013659
Made cleaner interface of ConectivityCube class, using __setitem__, _…
tanyaveksler 90bbcee
explain connectivity
shmfr 4119c29
Fixed lint error.
tanyaveksler 9fef3ce
Small fix
tanyaveksler 072701d
merge with HC branch
shmfr e59169f
Added documentation and small code beautifications.
tanyaveksler 26904f8
Improved documentation.
tanyaveksler 3aa9f52
Small fix.
tanyaveksler 4797f3c
Moved empty dimension values to DimensionsManager.
tanyaveksler 484bf2a
Moved empty dimension values to DimensionsManager.
tanyaveksler c221c3b
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler 2cdb462
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler a6d62ff
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler c6ec427
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler 495ac1e
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler 1d952db
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler 6e956bb
Fixed small errors.
tanyaveksler 80613a8
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler df3afe1
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler 380d379
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler 70f1280
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler 62bc9b9
Update nca/CoreDS/ConnectivityProperties.py
tanyaveksler ce3cbda
Update nca/Parsers/CalicoPolicyYamlParser.py
tanyaveksler 66fecd8
Fixed lint errors.
tanyaveksler 7d6a08c
Removed base_peer_set from ConnectivityProperties and ConnectivityCub…
tanyaveksler 0aa712d
Merge branch 'master' into Optimized_HC_set
tanyaveksler c2ccbfa
Removed base_peer_set from ConnectivityProperties and ConnectivityCub…
tanyaveksler 7e2e571
Added check to BasePeerSet.get_peer_interval_of that all peers are tr…
tanyaveksler cbcba8e
updates after merge with HC branch
shmfr ead46b3
updates after merge with HC branch
shmfr 9420f5b
after second merge with HC branch
shmfr 760e1da
removed unused function
shmfr 4cc8de2
added some function descriptions
shmfr 7fbc5ca
txt_no_fe_rules format added
shmfr 75846e3
Added OptimizedPolicyConnections class to hold allowed, denied and pa…
tanyaveksler dca13d5
Fixed lint errors.
tanyaveksler 17a5fe6
Merge branch 'master' into Optimized_HC_set
tanyaveksler 51d8927
The BasePeerSet singleton should be reset in the main (for the cases …
tanyaveksler 835fa33
Added support to calico PASS rules in optimized solution.
tanyaveksler ebe4006
Added support to calico PASS rules in optimized solution.
tanyaveksler 10bceb8
Simplified calico parsing method to avoid lint error.
tanyaveksler 5dc62e9
handling ipBlocks and base ip range
shmfr e200ebd
after merge with HC optimization branch
shmfr 2d4f3c0
Merge with master
tanyaveksler 49a4046
Generalized ServiceEntry implementation for optimized solution.
tanyaveksler 736ea07
Fixing lint errors.
tanyaveksler 9db0f91
xml support for explain_all and default-policy fix
shmfr fc01aa1
merge with HC branch
shmfr 31ff805
Removed unused functions.
tanyaveksler 2604eb6
Separated ConnectivityCube class to its own file.
tanyaveksler 368bb78
Update nca/NetworkConfig/NetworkConfig.py
tanyaveksler c39f53f
Update nca/Resources/NetworkPolicy.py
tanyaveksler f5d1581
Added assertions avoiding incorrect comparisons of "src_peers" and "d…
tanyaveksler ec12351
Update nca/CoreDS/Peer.py
tanyaveksler 9c8ffca
Update nca/CoreDS/ConnectionSet.py
tanyaveksler 310a81d
Update nca/CoreDS/ConnectionSet.py
tanyaveksler bbee710
merge with HC branch
shmfr 93a8ffc
Added shortcut function ConnectivityProperties.make_conn_props_from_d…
tanyaveksler e87c432
Merge branch 'master' into Optimized_HC_set
tanyaveksler e9edad9
Merge remote-tracking branch 'origin/Optimized_HC_set' into Optimized…
tanyaveksler 0cbee6c
Fixed lint errors.
tanyaveksler 2e70105
Code reuse optimization.
tanyaveksler 1a84d7e
Update nca/NetworkConfig/NetworkLayer.py
tanyaveksler 6d92ca7
Update nca/NetworkConfig/NetworkLayer.py
tanyaveksler 21984e1
Update nca/NetworkConfig/NetworkLayer.py
tanyaveksler fd7bc60
Update nca/NetworkConfig/NetworkLayer.py
tanyaveksler 64e5684
Removed unused functions and imports.
tanyaveksler f64b019
Merge remote-tracking branch 'origin/Optimized_HC_set' into Optimized…
tanyaveksler f3eeeba
Making more accurate default all properties, according to all peers i…
tanyaveksler 2a2606b
output_endpoints support.
shmfr 780f0ab
merge with HC
shmfr 99a6b73
support ep modes
shmfr 4f9c0c2
Documentation added
shmfr 8b0e3ac
minor fix
shmfr 802b3fc
use Expl' functions only when activated by user
shmfr 0587e83
some lintings
shmfr ee4d341
supporting scheme files
shmfr 7011930
support only text output formats and '[',']' in peer names
shmfr 65763bf
merged with master
shmfr ea226af
linting
shmfr 697e8ff
small fixes
shmfr 70458d7
small fixes
shmfr 6ba1d4f
adding beautifulsoup4 to requirements
shmfr 429e653
Merge branch 'master' into explainability_with_HCS
shmfr 42a7588
small fix
shmfr 3716922
Merge branch 'explainability_with_HCS' of github.com:IBM/network-conf…
shmfr 41982ec
use TCP conns when istio layer is present
shmfr 8504efb
some fixes and improvements.
shmfr b39146e
extra line
shmfr 70a9892
Merge remote-tracking branch 'origin/master' into explainability_with…
shmfr f0d1b37
adding test
shmfr 10f0737
adding test
shmfr 53e0180
changed 'run_all_tests' so opt parameter can be override by tests
shmfr f2c3a22
added expected results
shmfr c41fdb3
parsing xml without the need of lxml
shmfr 2c0ac6c
parsing xml without the need of lxml
shmfr b876100
update expected results (for new xml parser)
shmfr c0f63da
update expected results and make it deterministic
shmfr 793d935
Merge branch 'master' into explainability_with_HCS
shmfr a35a860
some fixes and new tests
shmfr 857f9fe
Merge branch 'master' into explainability_with_HCS
shmfr 6941aed
temp support in setting peers from the peer container, till fix will …
shmfr f3212bf
new expected results
shmfr 53a2963
new expected results
shmfr 89789d9
manually adding tests
shmfr c0b32de
manually updating test times
shmfr cd9d28f
fixed some testing env agnostic issues
shmfr 92ce374
better handling of ipblocks and some small fixes.
shmfr c402d73
removing explanation for ipblocks
shmfr d835df7
adding policies in one place
shmfr b7ceb53
adding some documentations and test
shmfr 895d75d
after merge with master
shmfr dea4134
updated expected results
shmfr c4761fc
fixed run_all_tests path problem
shmfr fd40627
duplicate line removed
shmfr cdaa329
updated testes and some docs.
shmfr 658811e
little better explanation
shmfr 7c6ac51
some small fixes
shmfr a468689
base_name added
shmfr 224e43b
better documentation for using IP-blocks
shmfr cae6397
added a ip-block test
shmfr 7dcfc67
base_name check
shmfr c33d88a
base_name check
shmfr 43f494b
Merge remote-tracking branch 'origin/master' into explainability_with…
shmfr 2a6e68f
base_name and sync
shmfr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about non-tcp conns?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this phase, when Istio is present, we 'explain' only the tcp connections.