add scripts
This commit is contained in:
parent
4b003bf0c1
commit
5d2e2133b8
2
getIP
Executable file
2
getIP
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
kubectl get pods -Ao wide | grep $1 | sed -E 's/.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*/\1/g'
|
4
getRoutes
Executable file
4
getRoutes
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
SUBMGR=`./getIP rtmgr`
|
||||||
|
echo "route manager ip: $SUBMGR"
|
||||||
|
curl -X GET -H "accept: application/json" http://$SUBMGR:3800/ric/v1/getdebuginfo | jq
|
@ -1,3 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
SUBMGR=$1
|
SUBMGR=`./getIP submgr`
|
||||||
|
echo "subscription manager ip: $SUBMGR"
|
||||||
curl -X GET http://$SUBMGR:8088/ric/v1/subscriptions
|
curl -X GET http://$SUBMGR:8088/ric/v1/subscriptions
|
Loading…
Reference in New Issue
Block a user