Skip to content

Commit

Permalink
Merge branch 'main' into docs-licensing
Browse files Browse the repository at this point in the history
  • Loading branch information
bortok committed Dec 8, 2023
2 parents 373879c + 7045688 commit 5678f1f
Show file tree
Hide file tree
Showing 10 changed files with 208 additions and 62 deletions.
8 changes: 4 additions & 4 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-53
# Release: https://github.com/open-traffic-generator/ixia-c/releases/tag/v0.1.0-84
images:
- name: keng-controller
newName: ghcr.io/open-traffic-generator/keng-controller
newTag: "0.1.0-53"
newTag: "0.1.0-84"
- name: otg-gnmi-server
newName: ghcr.io/open-traffic-generator/otg-gnmi-server
newTag: "1.13.0"
newTag: "1.13.2"
- name: ixia-c-traffic-engine
newName: ghcr.io/open-traffic-generator/ixia-c-traffic-engine
newTag: "1.6.0.85"
newTag: "1.6.0.100"
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.0
require github.com/open-traffic-generator/snappi/gosnappi v0.13.2

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.12.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/grpc v1.58.3 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v2 v2.2.3 // indirect
)
86 changes: 66 additions & 20 deletions deployments/k8s/network-emulation/go.sum

Large diffs are not rendered by default.

10 changes: 5 additions & 5 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-53
image: ghcr.io/open-traffic-generator/keng-controller:0.1.0-84
imagePullPolicy: IfNotPresent
name: keng-controller
volumeMounts:
Expand Down Expand Up @@ -63,15 +63,15 @@ spec:
value: "5555"
- name: ARG_CORE_LIST
value: 1 1 1
image: ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.85
image: ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.100
imagePullPolicy: IfNotPresent
name: ixia-c-port1-traffic-engine
securityContext:
privileged: true
- env:
- name: INTF_LIST
value: eth1
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.337
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.340
imagePullPolicy: IfNotPresent
name: ixia-c-port1-protocol-engine
securityContext:
Expand Down Expand Up @@ -99,15 +99,15 @@ spec:
value: "5555"
- name: ARG_CORE_LIST
value: 1 1 1
image: ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.85
image: ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.100
imagePullPolicy: IfNotPresent
name: ixia-c-port2-traffic-engine
securityContext:
privileged: true
- env:
- name: INTF_LIST
value: eth2
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.337
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.340
imagePullPolicy: IfNotPresent
name: ixia-c-port2-protocol-engine
securityContext:
Expand Down
12 changes: 6 additions & 6 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-53
docker pull ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.85
docker pull ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.337
docker pull ghcr.io/open-traffic-generator/keng-controller:0.1.0-84
docker pull ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.100
docker pull ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.340
# 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-53
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.85
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.337
kind load docker-image ghcr.io/open-traffic-generator/keng-controller:0.1.0-84
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.6.0.100
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.340
kind load docker-image ubuntu:22.04
kind load docker-image networkop/meshnet:latest
kind load docker-image networkop/init-wait:latest
Expand Down
26 changes: 13 additions & 13 deletions docs/deployments-kne.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,32 +58,32 @@ Following are the recommended resources for a basic use-case.
data:
versions: |
{
"release": "0.1.0-53",
"release": "0.1.0-84",
"images": [
{
"name": "controller",
"path": "ghcr.io/open-traffic-generator/keng-controller",
"tag": "0.1.0-53"
"tag": "0.1.0-84"
},
{
"name": "gnmi-server",
"path": "ghcr.io/open-traffic-generator/otg-gnmi-server",
"tag": "1.13.0"
"tag": "1.13.2"
},
{
"name": "traffic-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-traffic-engine",
"tag": "1.6.0.85"
"tag": "1.6.0.100"
},
{
"name": "protocol-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-protocol-engine",
"tag": "1.00.0.337"
"tag": "1.00.0.340"
},
{
"name": "ixhw-server",
"path": "ghcr.io/open-traffic-generator/keng-layer23-hw-server",
"tag": "0.13.0-6"
"tag": "0.13.2-2"
}
]
}
Expand All @@ -100,35 +100,35 @@ Following are the recommended resources for a basic use-case.
data:
versions: |
{
"release": "0.1.0-53",
"release": "0.1.0-84",
"images": [
{
"name": "controller",
"path": "ghcr.io/open-traffic-generator/keng-controller",
"tag": "0.1.0-53",
"tag": "0.1.0-84",
"env": {
"LICENSE_SERVERS": "ip/hostname of license server"
}
},
{
"name": "gnmi-server",
"path": "ghcr.io/open-traffic-generator/otg-gnmi-server",
"tag": "1.13.0"
"tag": "1.13.2"
},
{
"name": "traffic-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-traffic-engine",
"tag": "1.6.0.85"
"tag": "1.6.0.100"
},
{
"name": "protocol-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-protocol-engine",
"tag": "1.00.0.337"
"tag": "1.00.0.340"
},
{
"name": "ixhw-server",
"path": "ghcr.io/open-traffic-generator/keng-layer23-hw-server",
"tag": "0.13.0-6"
"tag": "0.13.2-2"
}
]
}
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-53
version: 0.1.0-84
services:
8443:
name: https
Expand Down
8 changes: 8 additions & 0 deletions docs/news.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# News

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

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

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

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

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

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

## Release v0.1.0-53 (Latest)
## Release v0.1.0-84 (Latest)
> 7th December, 2023
#### About

This build includes new features.

#### Build Details

| Component | Version |
|-------------------------------|---------------|
| Open Traffic Generator API | [0.13.2](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v0.13.2/artifacts/openapi.yaml) |
| snappi | [0.13.2](https://pypi.org/project/snappi/0.13.2) |
| gosnappi | [0.13.2](https://pkg.go.dev/github.com/open-traffic-generator/snappi/[email protected]) |
| keng-controller | [0.1.0-84](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-controller) |
| ixia-c-traffic-engine | [1.6.0.100](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.340](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-protocol-engine) |
| keng-layer23-hw-server | [0.13.2-2](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-layer23-hw-server) |
| keng-operator | [0.3.13](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-operator) |
| otg-gnmi-server | [1.13.2](https://github.com/orgs/open-traffic-generator/packages/container/package/otg-gnmi-server) |
| ixia-c-one | [0.1.0-84](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-one/) |
| UHD400 | [1.0.27](https://downloads.ixiacom.com/support/downloads_and_updates/public/UHD400/1.0/1.0.27/artifacts.tar) |

# Release Features(s)
* <b><i>Ixia-C</i></b>: Support added to trigger link `up/down` on test ports using the API `set_control_state.port.link`. This applicable only when the test port is directly connected to device under test via `veth` connection, e.g in KNE single node cluster, containerlab.
```go
portStateAction := gosnappi.NewControlState()
linkState := portStateAction.Port().Link().
SetPortNames([]string{port.Name()}).
SetState(gosnappi.StatePortLinkState.DOWN/UP)
api.SetControlState(portStateAction)
```
- It removes the deviation (`deviation_ate_port_link_state_operations_unsupported`) which was added in `featuresprofile` tests for no supporting the LinkState trigger in <b><i>Ixia-C</i></b>.


#### 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-81
> 24th November, 2023
#### About

This build includes new features and bug fixes.

#### Build Details

| Component | Version |
|-------------------------------|---------------|
| Open Traffic Generator API | [0.13.2](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v0.13.2/artifacts/openapi.yaml) |
| snappi | [0.13.2](https://pypi.org/project/snappi/0.13.2) |
| gosnappi | [0.13.2](https://pkg.go.dev/github.com/open-traffic-generator/snappi/[email protected]) |
| keng-controller | [0.1.0-81](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-controller) |
| ixia-c-traffic-engine | [1.6.0.100](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.339](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-protocol-engine) |
| keng-layer23-hw-server | [0.13.2-2](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-layer23-hw-server) |
| keng-operator | [0.3.13](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-operator) |
| otg-gnmi-server | [1.13.2](https://github.com/orgs/open-traffic-generator/packages/container/package/otg-gnmi-server) |
| ixia-c-one | [0.1.0-81](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-one/) |
| UHD400 | [1.0.27](https://downloads.ixiacom.com/support/downloads_and_updates/public/UHD400/1.0/1.0.27/artifacts.tar) |

# Release Features(s)
* Support for BGP/BGP+ passive mode <b><i>Ixia-C, UHD400 and Ixia Chassis & Appliances(Novus, AresOne)</i></b>. If `passive_mode` of a peer is set to true, it will wait for the remote peer to initiate the BGP session.
- User needs to set `devices[i].bgp.ipv4/v6_interfaces[j].peers[k].advance.passive_mode` to `true` for enabling passive mode.

* When `layer1[i].speed` is not explicitly set, the current speed of underlying test interface shall be assumed.
- This allows setting of `layer1` MTU in tests to run on setups with different port speeds on <b><i>Ixia-C and Ixia Chassis & Appliances(Novus, AresOne)</i></b> without any modifications.
```go
otgConfig.Layer1().Add().
SetName("layerOne").
SetPortNames(portNames).
SetMtu(9000)
```
- For traffic with `flow.rate.percentage` specified and `layer1[i].speed` not specified, the rate is now automatically calculated based on the port speed of the port from where traffic is being transmitted.

# Bug Fix(s)
* Issue where `devices[i].bgp.ipv4/v6_interfaces[j].peers[k].v4/v6_routes[m].communities` was not being sent properly for <b><i>Ixia Chassis & Appliances(Novus, AresOne)</i></b> 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-53
> 10th November, 2023

#### 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-53
image: ghcr.io/open-traffic-generator/keng-controller:0.1.0-84
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.0-6
image: ghcr.io/open-traffic-generator/keng-layer23-hw-server:0.13.2-2
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.0
image: ghcr.io/open-traffic-generator/otg-gnmi-server:1.13.2
restart: always
depends_on:
keng-controller:
Expand Down
Loading

0 comments on commit 5678f1f

Please sign in to comment.