7 "gracefulTerminationTimeout": 600,
8 "terminationType": "FORCEFUL"
10 headers = {'content-type': 'application/json', 'accept': 'application/json'}
12 auth_type = "rest_no_auth"
13 http = httplib2.Http(ca_certs=ca_certs, disable_ssl_certificate_validation=(auth_type == "rest_no_auth"))
14 http.follow_all_redirects = True
15 resp, resp_content = http.request('https://192.168.235.89:30283/api/nslcm/v1/ns/' + id + '/terminate',
17 body=json.dumps(data),
19 print(resp['status'], resp_content)