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
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
83 description: VSP Model version
93 uri: /onboarding-api/v1.0/vendor-software-products
96 "category": "resourceNewCategory.generic",
97 "vendorId": "${vlm-id}",
98 "subCategory": "resourceNewCategory.generic.abstract",
99 "description": "${vsp-description}",
100 "licensingVersion": "${vlm-version}",
101 "licensingData": {"featureGroups": ["${vlm-feature-group-id}"], "licenseAgreement": "${vlm-agreement-id}"},
103 "onboardingMethod": "${onboarding-method}",
104 "vendorName": "${vlm-vendor}",
105 "name": "${vsp-name}"
111 version: $b{$.version.id}