Code Review
/
vfc
/
nfvo
/
lcm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Modify test scripts of F version and add instructions about it
[vfc/nfvo/lcm.git]
/
resources
/
testscripts
/
F-version
/
vnf
/
vnf_get_one.py
1
import requests
2
import sys
3
4
from testscripts.const import MSB_BASE_URL
5
6
id = sys.argv[1]
7
8
requests.packages.urllib3.disable_warnings()
9
resp = requests.get(MSB_BASE_URL + '/api/vnfpkgm/v1/vnf_packages/' + id, verify=False)
10
print(resp.status_code, resp.json())