Skip to content
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

add network.[Must]GetDataNetworkIP; add popular param types. #12

Merged
merged 2 commits into from
May 3, 2020

Conversation

raulk
Copy link
Contributor

@raulk raulk commented May 3, 2020

This PR cherry picks a useful function that is commonplace in test plans: GetDataNetworkIP(). It scans the local interfaces and matches against the assigned data plane subnet, returning the assigned IP address on the data plane

Additionally, this PR introduces a new package ptypes offering a few JSON-encodable commonplace parameter types: Size, Duration, Rate, paving the way for the near future, when test parameters will be packed as JSON rather than pipe-delimited key-value tuples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant