Code Review
/
vfc
/
nfvo
/
lcm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add test scripts of F version
[vfc/nfvo/lcm.git]
/
resources
/
testscripts
/
F-version
/
ns_instance
/
get_job_id.py
1
import requests
2
import sys
3
4
requests.packages.urllib3.disable_warnings()
5
jobId = '1'
6
if len(sys.argv) > 1:
7
jobId = sys.argv[1]
8
resp = requests.get('https://192.168.235.89:30283/api/nslcm/v1/jobs/%s' % jobId, verify=False)
9
print(resp.status_code, resp.json())