Change-Id: I6b0f26e2d3c99e5fd51ed665ea74a22ebbbbd01f
Issue-Id: VFC-195
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
ASSETTYPE_SERVICES = "services"
def call_sdc(resource, method, content=''):
+ additional_headers = {
+ 'X-ECOMP-InstanceID': 'VFC-NFVO-LCM'
+ }
return restcall.call_req(base_url=SDC_BASE_URL,
user=SDC_USER,
passwd=SDC_PASSWD,
auth_type=restcall.rest_no_auth,
resource=resource,
method=method,
- content=content)
+ content=content,
+ additional_headers=additional_headers)
def get_artifacts(asset_type):
resource = "/sdc/v1/catalog/{assetType}"