Skip to content

Commit

Permalink
Release v1.7.2-1
Browse files Browse the repository at this point in the history
  • Loading branch information
biplamal committed Aug 7, 2024
1 parent 6c92811 commit c0f7f5c
Show file tree
Hide file tree
Showing 14 changed files with 120 additions and 2,695 deletions.
2 changes: 1 addition & 1 deletion conformance
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/v1.6.2-1
# Release: https://github.com/open-traffic-generator/ixia-c/releases/tag/v1.7.2-1
images:
- name: keng-controller
newName: ghcr.io/open-traffic-generator/keng-controller
newTag: "1.6.2-13"
newTag: "1.7.2-1"
- name: otg-gnmi-server
newName: ghcr.io/open-traffic-generator/otg-gnmi-server
newTag: "1.14.6"
newTag: "1.14.7"
- name: ixia-c-traffic-engine
newName: ghcr.io/open-traffic-generator/ixia-c-traffic-engine
newTag: "1.8.0.12"
newTag: "1.8.0.25"
14 changes: 8 additions & 6 deletions deployments/k8s/network-emulation/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ module ipfwd

go 1.19

require github.com/open-traffic-generator/snappi/gosnappi v1.6.2
require github.com/open-traffic-generator/snappi/gosnappi v1.7.2

require (
github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
google.golang.org/grpc v1.64.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect
google.golang.org/grpc v1.65.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/yaml.v2 v2.2.3 // indirect
)
2,634 changes: 14 additions & 2,620 deletions deployments/k8s/network-emulation/go.sum

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions deployments/k8s/network-emulation/ipfwd.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func main() {
api.NewHttpTransport().SetLocation(testConst["apiLocation"].(string)).SetVerify(false)

log.Println("Constructing OTG configuration ...")
c := otgConfig(api, testConst)
c := otgConfig(testConst)

log.Println("Pushing OTG configuration ...")
if wrn, err := api.SetConfig(c); err != nil {
Expand Down Expand Up @@ -74,7 +74,7 @@ func main() {
}
}

func otgConfig(api gosnappi.GosnappiApi, tc map[string]interface{}) gosnappi.Config {
func otgConfig(tc map[string]interface{}) gosnappi.Config {
c := gosnappi.NewConfig()

ptx := c.Ports().Add().SetName("ptx").SetLocation(tc["txPortLocation"].(string))
Expand Down Expand Up @@ -142,7 +142,7 @@ func otgConfig(api gosnappi.GosnappiApi, tc map[string]interface{}) gosnappi.Con
return c
}

func ipNeighborsOk(api gosnappi.GosnappiApi, tc map[string]interface{}) bool {
func ipNeighborsOk(api gosnappi.Api, tc map[string]interface{}) bool {
count := 0

log.Println("Getting IPv4 neighbors ...")
Expand All @@ -168,7 +168,7 @@ func ipNeighborsOk(api gosnappi.GosnappiApi, tc map[string]interface{}) bool {
return count == 2
}

func flowMetricsOk(api gosnappi.GosnappiApi, tc map[string]interface{}) bool {
func flowMetricsOk(api gosnappi.Api, tc map[string]interface{}) bool {
pktCount := uint64(tc["pktCount"].(uint32))

log.Println("Getting flow metrics ...")
Expand Down
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:1.6.2-13
image: ghcr.io/open-traffic-generator/keng-controller:1.7.2-1
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.8.0.12
image: ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.8.0.25
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.390
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.392
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.8.0.12
image: ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.8.0.25
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.390
image: ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.392
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:1.6.2-13
docker pull ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.8.0.12
docker pull ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.390
docker pull ghcr.io/open-traffic-generator/keng-controller:1.7.2-1
docker pull ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.8.0.25
docker pull ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.392
# 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:1.6.2-13
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.8.0.12
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.390
kind load docker-image ghcr.io/open-traffic-generator/keng-controller:1.7.2-1
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-traffic-engine:1.8.0.25
kind load docker-image ghcr.io/open-traffic-generator/ixia-c-protocol-engine:1.00.0.392
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": "1.6.2-13",
"release": "1.7.2-1",
"images": [
{
"name": "controller",
"path": "ghcr.io/open-traffic-generator/keng-controller",
"tag": "1.6.2-13"
"tag": "1.7.2-1"
},
{
"name": "gnmi-server",
"path": "ghcr.io/open-traffic-generator/otg-gnmi-server",
"tag": "1.14.6"
"tag": "1.14.7"
},
{
"name": "traffic-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-traffic-engine",
"tag": "1.8.0.12"
"tag": "1.8.0.25"
},
{
"name": "protocol-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-protocol-engine",
"tag": "1.00.0.390"
"tag": "1.00.0.392"
},
{
"name": "ixhw-server",
"path": "ghcr.io/open-traffic-generator/keng-layer23-hw-server",
"tag": "1.6.2-4"
"tag": "1.7.1-4"
}
]
}
Expand All @@ -100,35 +100,35 @@ Following are the recommended resources for a basic use-case.
data:
versions: |
{
"release": "1.6.2-13",
"release": "1.7.2-1",
"images": [
{
"name": "controller",
"path": "ghcr.io/open-traffic-generator/keng-controller",
"tag": "1.6.2-13",
"tag": "1.7.2-1",
"env": {
"LICENSE_SERVERS": "ip/hostname of license server"
}
},
{
"name": "gnmi-server",
"path": "ghcr.io/open-traffic-generator/otg-gnmi-server",
"tag": "1.14.6"
"tag": "1.14.7"
},
{
"name": "traffic-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-traffic-engine",
"tag": "1.8.0.12"
"tag": "1.8.0.25"
},
{
"name": "protocol-engine",
"path": "ghcr.io/open-traffic-generator/ixia-c-protocol-engine",
"tag": "1.00.0.390"
"tag": "1.00.0.392"
},
{
"name": "ixhw-server",
"path": "ghcr.io/open-traffic-generator/keng-layer23-hw-server",
"tag": "1.6.2-4"
"tag": "1.7.1-4"
}
]
}
Expand All @@ -148,7 +148,7 @@ Following are the recommended resources for a basic use-case.
nodes:
- name: otg
vendor: KEYSIGHT
version: 1.6.2-13
version: 1.7.2-1
services:
8443:
name: https
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/hello-snappi.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ After the set up is completed, install the python packages:
* [dpkt](https://pypi.org/project/dpkt/) - for processing `.pcap` files.

```sh
python -m pip install --upgrade snappi==1.6.2 dpkt
python -m pip install --upgrade snappi==1.7.2 dpkt
```

## Create the API Handle
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

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

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

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

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

## Release v1.6.2-13 (Latest)

## Release v1.7.2-1 (Latest)
> 7th August, 2024

#### Build Details

| Component | Version |
|-------------------------------|---------------|
| Open Traffic Generator API | [1.7.1](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v1.7.1/artifacts/openapi.yaml) |
| snappi | [1.7.2](https://pypi.org/project/snappi/1.7.2) |
| gosnappi | [1.7.2](https://pkg.go.dev/github.com/open-traffic-generator/snappi/[email protected]) |
| keng-controller | [1.7.2-1](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-controller) |
| ixia-c-traffic-engine | [1.8.0.25](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-traffic-engine) |
| keng-app-usage-reporter | [0.0.1-52](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-app-usage-reporter) |
| ixia-c-protocol-engine | [1.00.0.392](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-protocol-engine) |
| keng-layer23-hw-server | [1.7.1-4](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-layer23-hw-server) |
| keng-operator | [0.3.30](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-operator) |
| otg-gnmi-server | [1.14.7](https://github.com/orgs/open-traffic-generator/packages/container/package/otg-gnmi-server) |
| ixia-c-one | [1.7.2-1](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-one/) |
| UHD400 | [1.3.5](https://downloads.ixiacom.com/support/downloads_and_updates/public/UHD400/1.3/1.3.5/artifacts.tar) |


# Release Features(s)
* TBD

### Bug Fix(s)
* TBD


#### 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 Chassis & Appliances(Novus, AresOne)</i></b>: `StartProtocols`/`set_control_state.protocol.all.start` can get stuck till the time all DHPCv4 clients receive the leased IPv4 addresses from the DHCPv4 server/relay agent. This may result in getting `"context deadline exceeded"` error in the test program.
* <b><i>UHD400</i></b>: Packets will not be transmitted if `flows[i].rate.pps` is less than 50.
* <b><i>UHD400</i></b>: `values` for fields in flow packet headers can be created with maximum length of 1000 values.
* <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 v1.6.2-13
> 19th July, 2024
#### Build Details
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:1.6.2-13
image: ghcr.io/open-traffic-generator/keng-controller:1.7.2-1
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:1.6.2-4
image: ghcr.io/open-traffic-generator/keng-layer23-hw-server:1.7.1-4
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.14.6
image: ghcr.io/open-traffic-generator/otg-gnmi-server:1.14.7
restart: always
depends_on:
keng-controller:
Expand Down
39 changes: 12 additions & 27 deletions notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,25 @@

| Component | Version |
|-------------------------------|---------------|
| Open Traffic Generator API | [1.6.2](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v1.6.2/artifacts/openapi.yaml) |
| snappi | [1.6.2](https://pypi.org/project/snappi/1.6.2) |
| gosnappi | [1.6.2](https://pkg.go.dev/github.com/open-traffic-generator/snappi/gosnappi@v1.6.2) |
| keng-controller | [1.6.2-13](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-controller) |
| ixia-c-traffic-engine | [1.8.0.12](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-traffic-engine) |
| Open Traffic Generator API | [1.7.1](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/v1.7.1/artifacts/openapi.yaml) |
| snappi | [1.7.2](https://pypi.org/project/snappi/1.7.2) |
| gosnappi | [1.7.2](https://pkg.go.dev/github.com/open-traffic-generator/snappi/gosnappi@v1.7.2) |
| keng-controller | [1.7.2-1](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-controller) |
| ixia-c-traffic-engine | [1.8.0.25](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-traffic-engine) |
| keng-app-usage-reporter | [0.0.1-52](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-app-usage-reporter) |
| ixia-c-protocol-engine | [1.00.0.390](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-protocol-engine) |
| keng-layer23-hw-server | [1.6.2-4](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-layer23-hw-server) |
| ixia-c-protocol-engine | [1.00.0.392](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-protocol-engine) |
| keng-layer23-hw-server | [1.7.1-4](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-layer23-hw-server) |
| keng-operator | [0.3.30](https://github.com/orgs/open-traffic-generator/packages/container/package/keng-operator) |
| otg-gnmi-server | [1.14.6](https://github.com/orgs/open-traffic-generator/packages/container/package/otg-gnmi-server) |
| ixia-c-one | [1.6.2-13](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-one/) |
| UHD400 | [1.3.3](https://downloads.ixiacom.com/support/downloads_and_updates/public/UHD400/1.3/1.3.3/artifacts.tar) |
| otg-gnmi-server | [1.14.7](https://github.com/orgs/open-traffic-generator/packages/container/package/otg-gnmi-server) |
| ixia-c-one | [1.7.2-1](https://github.com/orgs/open-traffic-generator/packages/container/package/ixia-c-one/) |
| UHD400 | [1.3.5](https://downloads.ixiacom.com/support/downloads_and_updates/public/UHD400/1.3/1.3.5/artifacts.tar) |


# Release Features(s)
* <b><i>Ixia-C, Ixia Chassis & Appliances(Novus, AresOne)</i></b>: gNMI support added for `first-timestamp` and `last-timestamp` in flow metrics. [details](https://github.com/open-traffic-generator/models-yang/blob/main/artifacts/open-traffic-generator-flow.txt)
- User needs to set `flows[i].metrics.timestamps=true` to fetch these new fields.

```gNMI
module: open-traffic-generator-flow​
+--rw flows​
+--ro flow* [name]​
+--ro name -> ../state/name​
+--ro state​
| +--ro name? string​
.........
| +--ro first-timestamp? decimal64​
| +--ro last-timestamp? decimal64​
```
* TBD

### Bug Fix(s)
* <b><i>Ixia Chassis & Appliances(Novus, AresOne)</i></b>: Issue where `devices[i].rsvp.ipv4_interfaces[j].summary_refresh_interval` was not setting correctly, is fixed.

* <b><i>Ixia Chassis & Appliances(Novus, AresOne)</i></b>: Issue where destination mac address was not getting resolved properly for traffic over ISIS IPv6 routes, is fixed.
* TBD


#### Known Issues
Expand Down
Loading

0 comments on commit c0f7f5c

Please sign in to comment.