vswitch: add an example. Integrate with CI#700
Open
JDuchniewicz wants to merge 14 commits intojakub/vswitchfrom
Open
vswitch: add an example. Integrate with CI#700JDuchniewicz wants to merge 14 commits intojakub/vswitchfrom
JDuchniewicz wants to merge 14 commits intojakub/vswitchfrom
Conversation
081854c to
9ccb5b3
Compare
2eef958 to
3f681ee
Compare
9ccb5b3 to
cda9acb
Compare
7c4a802 to
9e46e68
Compare
4b9d441 to
8c66e32
Compare
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
8c66e32 to
c5f83f0
Compare
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
1552eef to
794985b
Compare
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
Signed-off-by: Jakub Duchniewicz <j.duchniewicz@unsw.edu.au>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a vswitch example that extends echo_server. For this purpose 2 PPCs were added to the vswitch, one that reports current IP address assigned to a client and one that queries vswitch for other connected clients and their IPs.
In the example, each client after receiving an IP from a DHCP server performs ICMP echo to all other clients (2 in this case, although this could be extended) and then waits for replies. If a reply is received it means everything works as expected.
The CI script is very similar to echo_server's but has to allow for differing log order, therefore an auxiliary data structure is created to keep track of reported IPs both in DHCP and ICMP requests.
Depends on #685