TelcoNetworkBuilder / Client / put_sol_function_package_content
put_sol_function_package_content#
- TelcoNetworkBuilder.Client.put_sol_function_package_content(**kwargs)#
Uploads the contents of a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
See also: AWS API Documentation
Request Syntax
response = client.put_sol_function_package_content( contentType='application/zip', file=b'bytes'|file, vnfPkgId='string' )
- Parameters:
contentType (string) – Function package content type.
file (bytes or seekable file-like object) –
[REQUIRED]
Function package file.
vnfPkgId (string) –
[REQUIRED]
Function package ID.
- Return type:
dict
- Returns:
Response Syntax
{ 'id': 'string', 'metadata': { 'vnfd': { 'overrides': [ { 'defaultValue': 'string', 'name': 'string' }, ] } }, 'vnfProductName': 'string', 'vnfProvider': 'string', 'vnfdId': 'string', 'vnfdVersion': 'string' }
Response Structure
(dict) –
id (string) –
Function package ID.
metadata (dict) –
Function package metadata.
vnfd (dict) –
Metadata for function package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
overrides (list) –
Lists of function package overrides.
(dict) –
Overrides of the TOSCA node.
defaultValue (string) –
Default value for the override.
name (string) –
Name of the TOSCA override.
vnfProductName (string) –
Function product name.
vnfProvider (string) –
Function provider.
vnfdId (string) –
Function package descriptor ID.
vnfdVersion (string) –
Function package descriptor version.
Exceptions