1 # Copyright © Intel Corporation 2019
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 open_cli_schema_version: 1.0
17 description: Create Vendor Software Product
21 service: sdc.onboarding
22 author: ONAP CLI Team onap-discuss@lists.onap.org
26 description: Onap VSP Name
31 - name: vsp-description
32 description: Description for VSP
35 long_option: vsp-description
38 description: License version
40 long_option: vlm-version
45 description: License Model vendor
47 long_option: vlm-vendor
51 description: License Model ID
56 - name: vlm-agreement-id
57 description: License Agreement ID
59 long_option: vlm-agreement-id
62 - name: vlm-feature-group-id
63 description: Feature Group ID
65 long_option: vlm-feature-group-id
68 - name: onboarding-method
69 description: Method to be used for onboarding (Manual or NetworkPackage)
71 long_option: onboarding-method
74 default_value: NetworkPackage
84 description: VSP Model version
88 description: VSP Model version id
98 uri: /onboarding-api/v1.0/vendor-software-products
101 "category": "resourceNewCategory.generic",
102 "vendorId": "${vlm-id}",
103 "subCategory": "resourceNewCategory.generic.network elements",
104 "description": "${vsp-description}",
105 "licensingVersion": "${vlm-version}",
106 "licensingData": {"featureGroups": ["${vlm-feature-group-id}"], "licenseAgreement": "${vlm-agreement-id}"},
108 "onboardingMethod": "${onboarding-method}",
109 "vendorName": "${vlm-vendor}",
110 "name": "${vsp-name}"
116 version: $b{$.version.name}
117 version-id: $b{$.version.id}