blob: a0b0be6c225693de2658508d270c6afe5f878a11 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import requests
import sys
from testscripts.const import MSB_BASE_URL
id = sys.argv[1]
requests.packages.urllib3.disable_warnings()
resp = requests.get(MSB_BASE_URL + '/api/vnfpkgm/v1/vnf_packages/' + id, verify=False)
print(resp.status_code, resp.json())
|