Release v0.0.1-3889
About
This build includes new features.
Build Details
Component | Version |
---|---|
Open Traffic Generator API | 0.11.4 |
snappi | 0.11.6 |
gosnappi | 0.11.6 |
ixia-c-controller | 0.0.1-3889 |
ixia-c-traffic-engine | 1.6.0.35 |
ixia-c-app-usage-reporter | 0.0.1-37 |
ixia-c-protocol-engine | 1.00.0.290 |
ixia-c-ixhw-server | 0.11.4-1 |
ixia-c-operator | 0.3.1 |
ixia-c-gnmi-server | 1.11.5 |
ixia-c-one | 0.0.1-3889 |
Features(s)
-
All API response errors over gRPC and HTTP transport can now be inspected like so:
# snippet of error handling in snappi try: # call set config api.set_config(payload) except Exception as e: err = api.from_exception(e) # helper function to parse exception if err is not None: # exception was of otg error format print(err.code) print(err.errors) else: # some other exception print(e)
// gosnappi snippet for error handling resp, err := api.SetConfig(config) if err != nil { // helper function to parse error // retuns a bool with err, indicating wheather the error was of otg error format errSt, ok := api.FromError(err) if ok { fmt.Println(errSt.Code()) if errSt.errSt.HasKind() { fmt.Println(errSt.Kind()) } fmt.Println(errSt.Errors()) } else { fmt.Println(err.Error()) } }
Known Issues
- Supported value for
flows[i].metrics.latency.mode
iscut_through
. - The metric
loss
in flow metrics is currently not supported. - When flow transmit is started, transmission will be restarted on any existing flows already transmitting packets.
- #118