Skip to content

Commit

Permalink
Merge pull request #183 from open-traffic-generator/dev-v1.0.0
Browse files Browse the repository at this point in the history
 v1.0.0-7
  • Loading branch information
arkajyoti-cloud authored Feb 5, 2024
2 parents aaaa3f0 + f22d82c commit 9ca1556
Show file tree
Hide file tree
Showing 11 changed files with 508 additions and 45 deletions.
2 changes: 1 addition & 1 deletion conformance
6 changes: 3 additions & 3 deletions deployments/k8s/components/images/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

# Release: https://github.com/open-traffic-generator/ixia-c/releases/tag/v0.1.0-222
# Release: https://github.com/open-traffic-generator/ixia-c/releases/tag/v1.0.0-7
images:
- name: keng-controller
newName: ghcr.io/open-traffic-generator/keng-controller
newTag: "0.1.0-222"
newTag: "1.0.0-7"
- name: otg-gnmi-server
newName: ghcr.io/open-traffic-generator/otg-gnmi-server
newTag: "1.13.7"
newTag: "1.13.8"
- name: ixia-c-traffic-engine
newName: ghcr.io/open-traffic-generator/ixia-c-traffic-engine
newTag: "1.6.0.109"
12 changes: 6 additions & 6 deletions deployments/k8s/network-emulation/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ module ipfwd

go 1.20

require github.com/open-traffic-generator/snappi/gosnappi v0.13.7
require github.com/open-traffic-generator/snappi/gosnappi v1.0.0

require (
github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
golang.org/x/net v0.16.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
google.golang.org/grpc v1.60.1 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/grpc v1.61.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
gopkg.in/yaml.v2 v2.2.3 // indirect
)
418 changes: 409 additions & 9 deletions deployments/k8s/network-emulation/go.sum

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions deployments/k8s/network-emulation/pods.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- args:
- --accept-eula
- --debug
image: ghcr.io/open-traffic-generator/keng-controller:0.1.0-222
image: ghcr.io/open-traffic-generator/keng-controller:1.0.0-7
imagePullPolicy: IfNotPresent
name: keng-controller
volumeMounts:
Expand Down Expand Up @@ -71,7 +71,7 @@ spec:
- env:
- name: INTF_LIST
value: eth1
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.355
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.358
imagePullPolicy: IfNotPresent
name: ixia-c-port1-protocol-engine
securityContext:
Expand Down Expand Up @@ -107,7 +107,7 @@ spec:
- env:
- name: INTF_LIST
value: eth2
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.355
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.358
imagePullPolicy: IfNotPresent
name: ixia-c-port2-protocol-engine
securityContext:
Expand Down
8 changes: 4 additions & 4 deletions deployments/k8s/network-emulation/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ To achieve this, we'll be using [Meshnet CNI](https://github.com/networkop/meshn
docker login ghcr.io
# download ixia-c images
docker pull ghcr.io/open-traffic-generator/keng-controller:0.1.0-222
docker pull ghcr.io/open-traffic-generator/keng-controller:1.0.0-7
docker pull ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.109
docker pull ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.355
docker pull ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.358
# download DUT image
docker pull ubuntu:22.04
Expand All @@ -80,9 +80,9 @@ To achieve this, we'll be using [Meshnet CNI](https://github.com/networkop/meshn
docker pull networkop/init-wait:latest
# push images to nodes
kind load docker-image ghcr.io/open-traffic-generator/keng-controller:0.1.0-222
kind load docker-image ghcr.io/open-traffic-generator/keng-controller:1.0.0-7
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.109
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.355
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.358
kind load docker-image ubuntu:22.04
kind load docker-image networkop/meshnet:latest
kind load docker-image networkop/init-wait:latest
Expand Down
22 changes: 11 additions & 11 deletions docs/deployments-kne.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ Following are the recommended resources for a basic use-case.
data:
versions: |
{
"release": "0.1.0-222",
"release": "1.0.0-7",
"images": [
{
"name": "controller",
"path": "ghcr.io/open-traffic-generator/keng-controller",
"tag": "0.1.0-222"
"tag": "1.0.0-7"
},
{
"name": "gnmi-server",
"path": "ghcr.io/open-traffic-generator/otg-gnmi-server",
"tag": "1.13.7"
"tag": "1.13.8"
},
{
"name": "traffic-engine",
Expand All @@ -78,12 +78,12 @@ Following are the recommended resources for a basic use-case.
{
"name": "protocol-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-protocol-engine",
"tag": "1.00.0.355"
"tag": "1.00.0.358"
},
{
"name": "ixhw-server",
"path": "ghcr.io/open-traffic-generator/keng-layer23-hw-server",
"tag": "0.13.7-1"
"tag": "1.0.0-1"
}
]
}
Expand All @@ -100,20 +100,20 @@ Following are the recommended resources for a basic use-case.
data:
versions: |
{
"release": "0.1.0-222",
"release": "1.0.0-7",
"images": [
{
"name": "controller",
"path": "ghcr.io/open-traffic-generator/keng-controller",
"tag": "0.1.0-222",
"tag": "1.0.0-7",
"env": {
"LICENSE_SERVERS": "ip/hostname of license server"
}
},
{
"name": "gnmi-server",
"path": "ghcr.io/open-traffic-generator/otg-gnmi-server",
"tag": "1.13.7"
"tag": "1.13.8"
},
{
"name": "traffic-engine",
Expand All @@ -123,12 +123,12 @@ Following are the recommended resources for a basic use-case.
{
"name": "protocol-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-protocol-engine",
"tag": "1.00.0.355"
"tag": "1.00.0.358"
},
{
"name": "ixhw-server",
"path": "ghcr.io/open-traffic-generator/keng-layer23-hw-server",
"tag": "0.13.7-1"
"tag": "1.0.0-1"
}
]
}
Expand All @@ -148,7 +148,7 @@ Following are the recommended resources for a basic use-case.
nodes:
- name: otg
vendor: KEYSIGHT
version: 0.1.0-222
version: 1.0.0-7
services:
8443:
name: https
Expand Down
4 changes: 4 additions & 0 deletions docs/news.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# News

* **5th February, 2024**: Ixia-c version 1.0.0 (build 7) released. This conforms to **[v1.0.0](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v1.0.0/artifacts/openapi.yaml)** of the Open Traffic Generator Models specification.

* This build includes new features and bug fixes. [Read more](releases.md)

* **19th January, 2024**: Ixia-c version 0.1.0 (build 222) released. This conforms to **[v0.13.7](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v0.13.7/artifacts/openapi.yaml)** of the Open Traffic Generator Models specification.

* This build includes new features and bug fixes. [Read more](releases.md)
Expand Down
61 changes: 60 additions & 1 deletion docs/releases.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,66 @@
# Ixia-c Release Notes and Version Compatibility


## Release v0.1.0-222 (Latest)
## Release v1.0.0-7 (Latest)
> 5th February, 2024
#### About

This build includes new features and bug fixes.

#### Build Details

| Component | Version |
|-------------------------------|---------------|
| Open Traffic Generator API | [1.0.0](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v1.0.0/artifacts/openapi.yaml) |
| snappi | [1.0.0](https://pypi.org/project/snappi/1.0.0) |
| gosnappi | [1.0.0](https://pkg.go.dev/github.com/open-traffic-generator/snappi/[email protected]) |
| keng-controller | [1.0.0-7](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-controller) |
| ixia-c-traffic-engine | [1.6.0.109](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-traffic-engine) |
| keng-app-usage-reporter | [0.0.1-37](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-app-usage-reporter) |
| ixia-c-protocol-engine | [1.00.0.358](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-protocol-engine) |
| keng-layer23-hw-server | [1.0.0-1](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-layer23-hw-server) |
| keng-operator | [0.3.22](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-operator) |
| otg-gnmi-server | [1.13.8](https://github.com/orgs/open-traffic-generator/packages/container/package/otg-gnmi-server) |
| ixia-c-one | [1.0.0-7](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-one/) |
| UHD400 | [1.0.28](https://downloads.ixiacom.com/support/downloads_and_updates/public/UHD400/1.0/1.0.28/artifacts.tar) |

# Release Features(s)
* <b><i>Ixia Chassis & Appliances(Novus, AresOne)</i></b>: Support added for `snmpv2c` raw traffic.
- User can encode `snmpv2c` packet using `flows` and invoke `set_control_state.traffic.flow_transmit` to transmit the `snmpv2c` packets.
```go
flowEth := flow.Packet().Add().Ethernet()
....
flowIp := flow.Packet().Add().Ipv4()
....
flowUdp := flow.Packet().Add().Udp()
....
flowUdp.DstPort().SetValue(uint32(161)) // 161 = SNMP
flowSnmpv2c := flow.Packet().Add().Snmpv2C()​​​
pdu := flowSnmpv2c.Data().GetRequest()​
pdu.RequestId().SetValue(77777)​​​
varBinds := pdu.VariableBindings().Add()​
varBinds.SetObjectIdentifier(​
"1.3.6....",​
)​​
```
Note: Variable field values within the same flow using `increment`, `decrement` and `values` are not supported for `snmpv2c` fields.

* <b><i>Ixia Chassis & Appliances(Novus, AresOne)</i></b>: Support added for `AresOne-M 800G`` load modules. For using this, `IXOS 10.00` must be installed on the chassis. For other load modules, it will continue to work with `IXOS 9.20 and 9.30` setups.

* This release introduces `snappi v1.0` and `keng-controller v1.0`.

# Bug Fix(s)
* <b><i>Ixia-C</i></b>: Issue where `set_control_state.port.link.state` was not working when applied to member ports of a LAG is now fixed.

#### Known Issues
* <b><i>Ixia Chassis & Appliances(Novus, AresOne)</i></b>: If `keng-layer23-hw-server` version is upgraded/downgraded, the ports which will be used from this container must be rebooted once before running the tests.
* <b><i>Ixia-C</i></b>: Flow Tx is incremented for flow with tx endpoints as LAG, even if no packets are sent on the wire when all active links of the LAG are down.
* <b><i>Ixia-C</i></b>: Supported value for `flows[i].metrics.latency.mode` is `cut_through`.
* <b><i>Ixia-C</i></b>: The metric `loss` in flow metrics is currently not supported.
* <b><i>Ixia-C</i></b>: When flow transmit is started, transmission will be restarted on any existing flows already transmitting packets.

## Release v0.1.0-222
> 19th January, 2024
#### About
Expand Down
6 changes: 3 additions & 3 deletions docs/tests-chassis-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The following procedure shows an example of how to deploy using Docker Compose.
```
services:
keng-controller:
image: ghcr.io/open-traffic-generator/keng-controller:0.1.0-222
image: ghcr.io/open-traffic-generator/keng-controller:1.0.0-7
restart: always
depends_on:
keng-layer23-hw-server:
Expand All @@ -94,7 +94,7 @@ logging:
max-file: "10"
mode: "non-blocking"
keng-layer23-hw-server:
image: ghcr.io/open-traffic-generator/keng-layer23-hw-server:0.13.7-1
image: ghcr.io/open-traffic-generator/keng-layer23-hw-server:1.0.0-1
restart: always
command:
- "dotnet"
Expand All @@ -109,7 +109,7 @@ logging:
max-file: "10"
mode: "non-blocking"
otg-gnmi-server:
image: ghcr.io/open-traffic-generator/otg-gnmi-server:1.13.7
image: ghcr.io/open-traffic-generator/otg-gnmi-server:1.13.8
restart: always
depends_on:
keng-controller:
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</h4>

<p align="center">
<a href="https://github.com/orgs/open-traffic-generator/packages/container/package/keng-controller"><img alt="Release v0.1.0-222" src="https://img.shields.io/badge/release-v0.1.0--222-brightgreen"></a>
<a href="https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v0.13.7/artifacts/openapi.yaml"><img alt="Open Traffic Generator v0.13.7" src="https://img.shields.io/badge/open--traffic--generator-v0.13.7-brightgreen"></a>
<a href="https://pypi.org/project/snappi/0.13.7"><img alt="snappi v0.13.7" src="https://img.shields.io/badge/snappi-v0.13.7-brightgreen"></a>
<a href="https://github.com/orgs/open-traffic-generator/packages/container/package/keng-controller"><img alt="Release v1.0.0-7" src="https://img.shields.io/badge/release-v1.0.0--7-brightgreen"></a>
<a href="https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v1.0.0/artifacts/openapi.yaml"><img alt="Open Traffic Generator v1.0.0" src="https://img.shields.io/badge/open--traffic--generator-v1.0.0-brightgreen"></a>
<a href="https://pypi.org/project/snappi/1.0.0"><img alt="snappi v1.0.0" src="https://img.shields.io/badge/snappi-v1.0.0-brightgreen"></a>
<a href="docs/news.md"><img alt="news" src="https://img.shields.io/badge/-news-blue?logo=github"></a>
<a href="docs/contribute.md"><img alt="news" src="https://img.shields.io/badge/-contribute-blue?logo=github"></a>
<a href="docs/support.md"><img alt="Slack Status" src="https://img.shields.io/badge/slack-support-blue?logo=slack"></a>
Expand Down Expand Up @@ -83,7 +83,7 @@ cd conformance
#### 3. Optionally, run test using [curl](https://curl.se/)

We can also pass equivalent **JSON configuration** directly to **controller**, just by using **curl**.
The description of each node in the configuration is detailed in self-updating [online documentation](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v0.13.7/artifacts/openapi.yaml).
The description of each node in the configuration is detailed in self-updating [online documentation](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v1.0.0/artifacts/openapi.yaml).


```bash
Expand Down

0 comments on commit 9ca1556

Please sign in to comment.