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

create flow function to build OTG flow config #14

Closed
20 tasks done
bortok opened this issue Aug 31, 2022 · 0 comments · Fixed by #17
Closed
20 tasks done

create flow function to build OTG flow config #14

bortok opened this issue Aug 31, 2022 · 0 comments · Fixed by #17
Assignees
Labels
enhancement New feature or request

Comments

@bortok
Copy link
Collaborator

bortok commented Aug 31, 2022

Example usage:

otgen create tcp -s 1.1.1.1 -d 2.2.2.2 -p 80 --rate 1000pps

should produce an OTG config on stdout that can be further passed to otgen run stdin

TODO:

  • flow boilerplate with TCP
  • dst parameter - single value
  • src parameter - single value
  • smac/dmac params - single value
  • rate parameter
  • count parameter - fixed_packets
  • size parameter - fixed
  • port parameter
  • flow name
  • metrics enable
    • latency modes
  • tcp | udp selector
  • ipv4 | ipv6 selector
  • icmp proto
  • review env vars for envsubst
  • mac address env vars
  • ip address env vars
  • select tx and rx ports
  • add alternative to create to read config from stdin and add to it
  • swap

Moved these to #19

  • delay parameter for flows
  • make flow a default subcommand
  • add array of values
  • add increment and decrement values
@bortok bortok self-assigned this Aug 31, 2022
@bortok bortok linked a pull request Sep 23, 2022 that will close this issue
@bortok bortok added the enhancement New feature or request label Oct 11, 2022
@bortok bortok changed the title create function to build OTG config create flow function to build OTG flow config Oct 11, 2022
bortok added a commit that referenced this issue Mar 6, 2023
…fic-generator-snappi-gosnappi-0.x

Update module github.com/open-traffic-generator/snappi/gosnappi to v0.10.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant