1 Cli Create Csar Command Guide
2 ===============================
9 usage: oclip vlm-create
12 [-m | --host-url] [-C | --no-catalog] [-f | --format]
13 [-h | --help] [-V | --verify] [-t | --no-title]
14 [-d | --debug] [-v | --version] [-y | --description]
15 [-s | --long] [-D | --context] [-x | --vendor-name]
16 [-u | --host-username] [-a | --no-auth] [-p | --host-password]
18 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
20 "oclip vlm-create -x {} -u {} -p {} -m {}".format(parameters["vendor-name"], \
21 parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_onboarding_url"])
28 usage: oclip vsp-create
29 Create Vendor Software Product
31 [-m | --host-url] [-j | --vlm-feature-group-id] [-C | --no-catalog]
32 [-f | --format] [-h | --help] [-V | --verify]
33 [-t | --no-title] [-d | --debug] [-v | --version]
34 [-o | --onboarding-method] [-e | --vlm-vendor] [-x | --vsp-name]
35 [-y | --vsp-description] [-s | --long] [-D | --context]
36 [-i | --vlm-agreement-id] [-c | --vlm-version] [-u | --host-username]
37 [-a | --no-auth] [-g | --vlm-id] [-p | --host-password]
39 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
41 "oclip vsp-create -j {} -o {} -e {} -x {} -y {} -i {} -c {} -g {} -u {} -p {} -m {}".format( in_list[0], \
42 parameters["onboarding-method"], parameters["vendor-name" ], value.get("vsp-name"), value.get("vsp-desc"), in_list[1], \
43 in_list[2], in_list[3], parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_onboarding_url"] )
51 usage: oclip vf-model-create
52 Create Virtual function from Vendor Software Product
54 [-m | --host-url] [-C | --no-catalog] [-f | --format]
55 [-h | --help] [-V | --verify] [-t | --no-title]
56 [-d | --debug] [-v | --version] [-y | --description]
57 [-g | --vsp-version] [-x | --name] [-s | --long]
58 [-D | --context] [-z | --vendor-name] [-u | --host-username]
59 [-a | --no-auth] [-b | --vsp-id] [-p | --host-password]
61 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
63 "oclip vf-model-create -y {} -g {} -x {} -z {} -b {} -u {} -p {} -m {}".format(value.get("vf-description"), \
64 value.get("vsp-version"), value.get("vf-name"), parameters["vendor-name"], vsp_dict[name], \
65 parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_catalog_url"])
67 4. create-service-model
68 -----------------------
72 usage: oclip service-model-create
73 Create Service model in SDC
75 [-m | --host-url] [-C | --no-catalog] [-f | --format]
76 [-h | --help] [-V | --verify] [-t | --no-title]
77 [-d | --debug] [-v | --version] [-z | --project-code]
78 [-y | --description] [-e | --icon-id] [-c | --category-display-name]
79 [-s | --long] [-D | --context] [-x | --service-name]
80 [-u | --host-username] [-a | --no-auth] [-b | --category]
81 [-p | --host-password]
83 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
85 "oclip service-model-create -z {} -y {} -e {} -x {} -c {} -b {} -u {} -p {} -m {} |grep ID".format(parameters["project-code"], \
86 parameters["service-model-desc"], parameters["icon-id"], parameters["service-model-name"], parameters["category-display"], \
87 parameters["category"],parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_catalog_url"])
89 5. vfc-catalog-onboard-vnf
90 --------------------------
94 usage: oclip vfc-catalog-onboard-vnf
95 vfc onboard vnf to catalog of vfc
97 [-m | --host-url] [-C | --no-catalog] [-f | --format]
98 [-h | --help] [-V | --verify] [-t | --no-title]
99 [-d | --debug] [-v | --version] [-s | --long]
100 [-D | --context] [-c | --vnf-csar-uuid]
102 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
104 oclip vfc-catalog-onboard-vnf - -c {}'.format(value.get("csar-id"))
107 6. vfc-catalog-onboard-ns
108 --------------------------
112 usage: oclip vfc-catalog-onboard-ns
113 vfc onboard ns to catalog of vfc
115 [-m | --host-url] [-c | --ns-csar-uuid] [-C | --no-catalog]
116 [-f | --format] [-h | --help] [-V | --verify]
117 [-t | --no-title] [-d | --debug] [-v | --version]
118 [-s | --long] [-D | --context]
120 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
122 'oclip vfc-catalog-onboard-ns -c {}'.format(parameters["ns"]["csar-id"])