-
Notifications
You must be signed in to change notification settings - Fork 59
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
generateifrequired not regenerating traffic items #66
Comments
Traffic generate will update the traffic with learned info from the protocols. For example, it will fill in the dest mac addresses learned from the ARP Request/Reply done when the protocol is started.
“generate” is per traffic item. You need to do a loop and generate on each traffic item.
In step 3, please pass in the traffic item in arg 1: {'json': {'arg1': '/api/v1/sessions/1/ixnetwork/traffic/1'}}.
Regards,
Theresa Kong
Senior Tech Support Engineer
Keysight Technologies
From: pw <notifications@github.com>
Sent: Monday, June 24, 2019 2:47 AM
To: OpenIxia/IxNetwork <IxNetwork@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [OpenIxia/IxNetwork] generateifrequired not regenerating traffic items (#66)
[EXTERNAL]
What is .../ixnetwork/traffic/operations/generateifrequired supposed to do ? I know it should regenerate "dirty" traffic but what does it mean exactly ? Does it recognize NexGen protocols ?
My case is like follows:
1. I load config. It has some NexGen protocols and traffic items between them configured
2. I start all protocols
3. When protocols are up I do: post - http://10.10.0.222:11019/api/v1/sessions/1/ixnetwork/traffic/operations/generateifrequired<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.10.0.222%3A11019%2Fapi%2Fv1%2Fsessions%2F1%2Fixnetwork%2Ftraffic%2Foperations%2Fgenerateifrequired&data=02%7C01%7C%7Ca437b6231f0c442b003e08d6f888f551%7C63545f2732324d74a44dcdd457063402%7C1%7C0%7C636969664467940061&sdata=J92bvtfqHjJ5JWgozZfZ%2B%2B5kXB%2BQZ%2FmP5UbvZGdQUzg%3D&reserved=0> - {'json': {'arg1': '/api/v1/sessions/1/ixnetwork/traffic'}} and get 202 success
4. I apply and start traffic but traffic fails (100% loss).
If I go to API browser and generate each traffic item one by one using
ixnetwork/traffic/trafficItem//operations/generate and then apply and run traffic it works fine (0% loss)
Best Regards,
PW
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOpenIxia%2FIxNetwork%2Fissues%2F66%3Femail_source%3Dnotifications%26email_token%3DAIRRUUJO5UW2FS5NSUWQGBDP4CJ2VA5CNFSM4H244OT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3H5IJA&data=02%7C01%7C%7Ca437b6231f0c442b003e08d6f888f551%7C63545f2732324d74a44dcdd457063402%7C1%7C0%7C636969664467950074&sdata=l%2BNNCSeKDozoyf6QCPADrfB1t0UdkX8w1XpsoqxsW8o%3D&reserved=0>, or mute the thread<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIRRUUJK466555WYRULL5ITP4CJ2VANCNFSM4H244OTQ&data=02%7C01%7C%7Ca437b6231f0c442b003e08d6f888f551%7C63545f2732324d74a44dcdd457063402%7C1%7C0%7C636969664467960078&sdata=GAyvlMCFZ0U%2FH1Ho3E3XM5PawZSSrp0%2BOFYs%2BIf8j8s%3D&reserved=0>.
|
API browser shows that generateifrequired doesn't accept traffic item as parameter. |
Yes, I see that generateifRequierd() is for traffic level. |
Ok. I see it's better to forget about generateifrequired and simply loop through traffic items and call generate on each one. |
What is .../ixnetwork/traffic/operations/generateifrequired supposed to do ? I know it should regenerate "dirty" traffic but what does it mean exactly ? Does it recognize NexGen protocols ?
My case is like follows:
If I go to API browser and generate each traffic item one by one using
ixnetwork/traffic/trafficItem//operations/generate and then apply and run traffic it works fine (0% loss)
Best Regards,
PW
The text was updated successfully, but these errors were encountered: