Add test scripts of F version
[vfc/nfvo/lcm.git] / resources / testscripts / F-version / ns / ns_upload.py
1 import requests
2
3 requests.packages.urllib3.disable_warnings()
4 url = 'https://192.168.235.89:30283/api/nsd/v1/ns_descriptors/84090010-6e67-4536-81cc-61ae7b0b4ecd/nsd_content'
5 resp = requests.put(url, files={'file': open(r"C:\Users\86187\Desktop\vfc-tests\ns\ns-new\ns_vgw.csar", 'rb')}, verify=False)
6 print(resp.status_code)