TelcoNetworkBuilder / Client / put_sol_network_package_content
put_sol_network_package_content#
- TelcoNetworkBuilder.Client.put_sol_network_package_content(**kwargs)#
Uploads the contents of a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
See also: AWS API Documentation
Request Syntax
response = client.put_sol_network_package_content( contentType='application/zip', file=b'bytes'|file, nsdInfoId='string' )
- Parameters:
contentType (string) – Network package content type.
file (bytes or seekable file-like object) –
[REQUIRED]
Network package file.
nsdInfoId (string) –
[REQUIRED]
Network service descriptor info ID.
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'id': 'string', 'metadata': { 'nsd': { 'overrides': [ { 'defaultValue': 'string', 'name': 'string' }, ] } }, 'nsdId': 'string', 'nsdName': 'string', 'nsdVersion': 'string', 'vnfPkgIds': [ 'string', ] }
Response Structure
(dict) –
arn (string) –
Network package ARN.
id (string) –
Network package ID.
metadata (dict) –
Network package metadata.
nsd (dict) –
Metadata for network package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
overrides (list) –
Lists network package overrides.
(dict) –
Overrides of the TOSCA node.
defaultValue (string) –
Default value for the override.
name (string) –
Name of the TOSCA override.
nsdId (string) –
Network service descriptor ID.
nsdName (string) –
Network service descriptor name.
nsdVersion (string) –
Network service descriptor version.
vnfPkgIds (list) –
Function package IDs.
(string) –
Exceptions