#!/bin/bash
ip_address=$(kubectl get svc | grep topology | tr -s ' ' | cut -d ' ' -f 3)
opid=0
curl -s -S http://$ip_address:8080/netq/telemetry/v1/object/topology/opid/$opid |  json_pp
