-
Notifications
You must be signed in to change notification settings - Fork 299
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
Stateful NFV Packet Filtering #403
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
dddb3b9
[neutron2snabb] Generate stateful PF rules unless
eugeneia f9d5a48
[neutron2snabb] filter: *Do* return a `PacketFilter' config even if no
eugeneia d2955c8
[snabbnfv fuzz] Fix generated PacketFilter configs to new
eugeneia beca07e
[snabbnfv selftest] Added stateful PF tests and remove some broken test
eugeneia 13930f4
[PacketFilter] Add two trivial unit tests.
eugeneia b5dc6ab
[neutron2snabb] Do not generate filter config unless
eugeneia 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
Binary file not shown.
Binary file not shown.
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
19 changes: 19 additions & 0 deletions
19
src/program/snabbnfv/test_fixtures/nfvconfig/test_functions/stateful-filter.ports
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
return { | ||
{ vlan = 0, | ||
mac_address = "52:54:00:00:00:00", | ||
port_id = "A" | ||
}, | ||
{ vlan = 0, | ||
mac_address = "52:54:00:00:00:01", | ||
port_id = "B", | ||
ingress_filter = { rules = { { ethertype='ipv6', | ||
protocol='icmp' }, | ||
{ ethertype='ipv6', | ||
protocol='tcp', | ||
dest_port_min=12345 } }, | ||
state_track = "test" }, | ||
egress_filter = { rules = { { ethertype='ipv6', | ||
protocol='icmp' } }, | ||
state_check = "test" } | ||
}, | ||
} |
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.
@lukego This line looks a bit fishy too now that I think about it. We never use the
gbps
field innfvconfig
... (and some sort oftx_police_gbps
is missing too).