open-traffic-generator / snappi-ixnetwork

The Keysight IxNetwork implementation of the open-traffic-generator models.
MIT License
17 stars 11 forks source link

Custom patter support for MAC and IP's #557

Open vkuma82 opened 2 years ago

vkuma82 commented 2 years ago

Need to have a way to achieve custom patterns for Mac and Ips using snappi. I want to generate 10M Ip's using some custom pattern and looks like i can't achieve it using snappi. Please see the screenshot, I want to have a way the pattern and More options , outlined in yellow and green rectangle customp

ANISH-GOTTAPU commented 2 years ago

Hi @vkuma82 , custom pattern is not available in the models. As an alternative you can generate MACs and IPs with some logic and apply as shown in this example https://github.com/open-traffic-generator/snappi-ixnetwork/blob/main/tests/vxlan/test_vxlan_b2b_scale.py#L203

If you want the support from models, please raise issue in the models repo https://github.com/open-traffic-generator/models/issues