diff options
author | 2019-06-26 01:50:15 -0400 | |
---|---|---|
committer | 2019-06-26 12:46:31 +0000 | |
commit | 1b31a1d43b9be2938fde5639ab7aaea6262adc4f (patch) | |
tree | 9a4ac9b08801746e311a00c7673ac73c66036b9f /test/vcpe/healthcheck.py | |
parent | fdae148d303b3153e2dec38d830d3784491b6f65 (diff) |
Clean up vCPE script
Signed-off-by: Yang Xu <yang.xu@futurewei.com>
Issue-ID: INT-847
Change-Id: I1158442cd73c6e0d943e9cc111cb12dae1381d36
Diffstat (limited to 'test/vcpe/healthcheck.py')
-rwxr-xr-x | test/vcpe/healthcheck.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/vcpe/healthcheck.py b/test/vcpe/healthcheck.py deleted file mode 100755 index b94848e13..000000000 --- a/test/vcpe/healthcheck.py +++ /dev/null @@ -1,30 +0,0 @@ -#! /usr/bin/python - -import logging -import json -from vcpecommon import * -import commands - - -logging.basicConfig(level=logging.INFO, format='%(message)s') -common = VcpeCommon() - -print('Checking vGMUX REST API from SDNC') -cmd = 'curl -u admin:admin -X GET http://10.0.101.21:8183/restconf/config/ietf-interfaces:interfaces' -ret = commands.getstatusoutput("ssh -i onap_dev root@sdnc '{0}'".format(cmd)) -sz = ret[-1].split('\n')[-1] -print('\n') -print(sz) - -print('Checking vBRG REST API from SDNC') -cmd = 'curl -u admin:admin -X GET http://10.3.0.2:8183/restconf/config/ietf-interfaces:interfaces' -ret = commands.getstatusoutput("ssh -i onap_dev root@sdnc '{0}'".format(cmd)) -sz = ret[-1].split('\n')[-1] -print('\n') -print(sz) - -print('Checking SDNC DB for vBRG MAC address') -mac = common.get_brg_mac_from_sdnc() -print(mac) - - |