From 60b1570c7b462c1b3a84b6f5c04b23f1832e6403 Mon Sep 17 00:00:00 2001 From: anjan-keysight Date: Thu, 7 Apr 2022 09:04:53 +0000 Subject: [PATCH] Support for new gNMI server --- controllers/ixiatg_controller.go | 4 ++-- version | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/ixiatg_controller.go b/controllers/ixiatg_controller.go index f1edbfe..145305f 100644 --- a/controllers/ixiatg_controller.go +++ b/controllers/ixiatg_controller.go @@ -731,8 +731,8 @@ func (r *IxiaTGReconciler) containersForController(ixia *networkv1alpha1.IxiaTG, name := "gnmi" image := pubRel.Path + ":" + pubRel.Tag - args := []string{} - command := []string{"python3", "-m", "otg_gnmi", "--server-port", "50051", "--app-mode", "athena", "--target-host", CONTROLLER_SERVICE, "--target-port", "443", "--insecure"} + args := []string{"-http-server", "https://localhost:443", "--debug"} + command := []string{} var ports []corev1.ContainerPort ports = append(ports, corev1.ContainerPort{Name: "gnmi", ContainerPort: 50051, Protocol: "TCP"}) log.Infof("Adding Pod: %s, Container: %s, Image: %s", CONTROLLER_NAME, name, image) diff --git a/version b/version index b76f49a..4ed248b 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.0.77 +0.0.78