Comments (10)
@shramroy @biplamal @ashutshkumr I believe we've resolved this issue, right? If so, please confirm and close it.
from ixia-c.
Hi,
sorry for the late in testing it. I just tryied with the last release but it doesn't work. If i try to start only one of the two configured flows, the engine doesn't start.
This is my conf:
{"ports":[{"location":"localhost:5555","name":"p1"},{"location":"localhost:5555","name":"p2"}],"layer1":[{"port_names":["p1","p2"],"speed":"speed_1_gbps","name":"ly"}],"captures":[{"port_names":["p1"],"name":"cp"}],"flows":[{"name":"f1","tx_rx":{"port":{"tx_name":"p1","rx_name":"p2"},"choice":"port"},"size":{"fixed":"576","choice":"fixed"},"duration":{"fixed_seconds":{"seconds":300},"choice":"fixed_seconds"},"rate":{"mbps":"1","choice":"mbps"},"packet":[{"ethernet":{"src":{"value":"00:0C:29:5D:18:88","choice":"value"},"dst":{"value":"00:50:56:FF:BF:77","choice":"value"}},"choice":"ethernet"},{"ipv4":{"src":{"value":"192.168.163.133","choice":"value"},"dst":{"value":"10.10.10.10","choice":"value"}},"choice":"ipv4"},{"udp":{"src_port":{"increment":{"start":5000,"step":2,"count":10},"choice":"increment"},"dst_port":{"values":[10000],"choice":"values"}},"choice":"udp"}],"metrics":{"enable":true}},{"name":"f2","tx_rx":{"port":{"tx_name":"p1","rx_name":"p2"},"choice":"port"},"size":{"fixed":"576","choice":"fixed"},"duration":{"fixed_seconds":{"seconds":300},"choice":"fixed_seconds"},"rate":{"mbps":"1","choice":"mbps"},"packet":[{"ethernet":{"src":{"value":"00:0C:29:5D:18:88","choice":"value"},"dst":{"value":"00:50:56:FF:BF:77","choice":"value"}},"choice":"ethernet"},{"ipv4":{"src":{"value":"192.168.163.133","choice":"value"},"dst":{"value":"10.10.10.20","choice":"value"}},"choice":"ipv4"},{"udp":{"src_port":{"increment":{"start":5000,"step":2,"count":10},"choice":"increment"},"dst_port":{"values":[10000],"choice":"values"}},"choice":"udp"}],"metrics":{"enable":true}}]}
and this is the start.json:
{
"flow_names": [
"f1"
],
"state": "start"
}
from ixia-c.
@jamirovolt this is still not out as part of the release. It is planned for the release weโre planning to put out in second week of July.
Will announce the release version here as soon as itโs out.
from ixia-c.
@ashutshkumr Thank you. Just a question: in the next release there also will be the possibility to upgrade the configuration of a flow without restarting the other flows?
from ixia-c.
@jamirovolt We currently support upgrading the flow rate without stopping or restarting any flow. You can visit the below link and explore the api - https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/master/artifacts/openapi.yaml&nocors#tag/Control/operation/update_flows .
Any other field of the flow do you need to upgrade likewise?
from ixia-c.
@shramroy I would like to stop a certain flow (e.g. f1) without stopping the other started flows (e.g. f2), change destination IP Address, Test duration, Rate and Packet Size of the flow f1 and then restart the flow f1 without any impact on the flow f2. In this way i would be able to test different targets without stopping other tests.
from ixia-c.
@jamirovolt this is currently not supported from the spec itself, and the reason is to avoid complexity.
Just trying to understand the use case in more details here so I can further discuss with team.
You can always have multiple flows with different configurations that can be started/stopped independent of each other (thus avoiding reconfiguration of single flow). i.e. in your case, you could have two different flows, each with different ip/rate/size.
from ixia-c.
@ashutshkumr Yes, but i need to change when i want the configuration of a flow without affecting the others.
from ixia-c.
@jamirovolt that's why I'm trying to understand the use case better. So far whatever use case you've presented does not require re-configuring existing flow.
e.g. in your case, here's what the test step would look like
- configure flows f1, f2 and f3
- f3 would basically be "reconfigured version" of f1
- f2 is that independent flow that you don't wish to interrupt
- Start f1 and f2
- Stop f1
- Start f3
Please note, stopping and restarting an existing flow will always clear flow metrics - hence you're better off working with multiple flows instead of reconfiguring single flow (at least for the use case you presented).
from ixia-c.
@ashutshkumr The problem is that i can't know the configuration of all flows in advance because i'm trying to provide a web portal by which a user can generate traffic towards an IP destination when he wants.
from ixia-c.
Related Issues (20)
- OTG: RX stats missing in flow statistics even though port is recieving HOT 2
- Randomly "context deadline exceeded" error seen while pushing config to ixia HW with OTG
- gnmi get for out-pkts failing in OTG with ixia HW HOT 2
- TE-3.7: OTG pushconfig is failing HOT 2
- TE-11.3: OTG inner IP header checksum is incorrect and causign for drops in decap HOT 1
- TE-3.5 , TE-3.6 : failign to get ARP entry as protocol start missing after OTG config HOT 2
- Need support for IPoUDP stack and loopback config for GUEv1/UDP tunnel HOT 2
- Capability YAML for OTG models coverage
- Traffic config failing with error "No port found for OTG device name ateSrc.BGP4.peer\" HOT 1
- Need support for Tunnel encapsulation attribute
- can it be ran on arm cpus ? HOT 1
- Unable to fetch bgp rib-in prefixes with gnmic on OTG HOT 2
- Ixia-c-one 0.1.0-3 potential race condition with updating LocationMap
- Missing `10-ixia-enable-ipv6.conf`
- https://github.com/open-traffic-generator/ixia-c/blob/main/docs/readme.md error 404
- hello_snappi.py looks broken
- please add support for EVPN - VXLAN
- bug: ipv4.header.priority.raw with ixia-hw controller HOT 1
- ixiatg-configmap has a typo HOT 3
- bursty traffic caused when flow count > 1 per port
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ixia-c.