fix sdnc.cluster script to use new NodePort prefix 13/65313/1
authorjmac <james.macnider@amdocs.com>
Fri, 7 Sep 2018 20:23:53 +0000 (20:23 +0000)
committerjmac <james.macnider@amdocs.com>
Fri, 7 Sep 2018 20:24:02 +0000 (20:24 +0000)
Change-Id: Ie2c84aad411e26019eb38cb9262ff98096345ad6
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-1379

kubernetes/sdnc/resources/geo/bin/sdnc.cluster

index 87cdeff..48db574 100755 (executable)
@@ -42,7 +42,7 @@ PASSWORD=admin
 for pod_number in {0..2}
 do
 
-   response=`curl -s -u $USERNAME:$PASSWORD -H "Content-Type: application/json" -H "Accept: application/json" -X GET http://localhost:3026$((${pod_number} + 1))/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-$((${MEMBER_NUMBER} + ${pod_number}))-shard-default-config,type=DistributedConfigDatastore`
+   response=`curl -s -u $USERNAME:$PASSWORD -H "Content-Type: application/json" -H "Accept: application/json" -X GET http://localhost:3046$((${pod_number} + 1))/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-$((${MEMBER_NUMBER} + ${pod_number}))-shard-default-config,type=DistributedConfigDatastore`
 
    if [ $? -ne 0 ]; then
       continue