aboutsummaryrefslogtreecommitdiffstats
path: root/docs/platform/cli-userguide/create_csar_sdc/index.rst
blob: 1d18872a530dfd011a0cb6e3ea683753e0154dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
Cli Create Csar Command Guide
===============================

1. create-vlm
---------------

::

    usage: oclip vlm-create
    Create License Model
    Options:
    [-m | --host-url] [-C | --no-catalog] [-f | --format]
    [-h | --help] [-V | --verify] [-t | --no-title]
    [-d | --debug] [-v | --version] [-y | --description]
    [-s | --long] [-D | --context] [-x | --vendor-name]
    [-u | --host-username] [-a | --no-auth] [-p | --host-password]
    Error:
    On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
    For example:
    "oclip vlm-create -x {} -u {} -p {} -m {}".format(parameters["vendor-name"], \
      parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_onboarding_url"])

2. create-vsp
---------------

::

    usage: oclip vsp-create
    Create Vendor Software Product
    Options:
    [-m | --host-url] [-j | --vlm-feature-group-id] [-C | --no-catalog]
    [-f | --format] [-h | --help] [-V | --verify]
    [-t | --no-title] [-d | --debug] [-v | --version]
    [-o | --onboarding-method] [-e | --vlm-vendor] [-x | --vsp-name]
    [-y | --vsp-description] [-s | --long] [-D | --context]
    [-i | --vlm-agreement-id] [-c | --vlm-version] [-u | --host-username]
    [-a | --no-auth] [-g | --vlm-id] [-p | --host-password]
    Error:
    On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
    For example:
    "oclip vsp-create -j {} -o {} -e {} -x {} -y {} -i {} -c {} -g {} -u {} -p {} -m {}".format( in_list[0], \
          parameters["onboarding-method"], parameters["vendor-name" ], value.get("vsp-name"), value.get("vsp-desc"), in_list[1], \
          in_list[2], in_list[3], parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_onboarding_url"] )


3. create-vf-model
------------------

::

    usage: oclip vf-model-create
    Create Virtual function from Vendor Software Product
    Options:
    [-m | --host-url] [-C | --no-catalog] [-f | --format]
    [-h | --help] [-V | --verify] [-t | --no-title]
    [-d | --debug] [-v | --version] [-y | --description]
    [-g | --vsp-version] [-x | --name] [-s | --long]
    [-D | --context] [-z | --vendor-name] [-u | --host-username]
    [-a | --no-auth] [-b | --vsp-id] [-p | --host-password]
    Error:
    On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
    For example:
    "oclip vf-model-create -y {} -g {} -x {} -z {} -b {} -u {} -p {} -m {}".format(value.get("vf-description"), \
          value.get("vsp-version"), value.get("vf-name"), parameters["vendor-name"], vsp_dict[name], \
          parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_catalog_url"])

4. create-service-model
-----------------------

::

    usage: oclip service-model-create
    Create Service model in SDC
    Options:
    [-m | --host-url] [-C | --no-catalog] [-f | --format]
    [-h | --help] [-V | --verify] [-t | --no-title]
    [-d | --debug] [-v | --version] [-z | --project-code]
    [-y | --description] [-e | --icon-id] [-c | --category-display-name]
    [-s | --long] [-D | --context] [-x | --service-name]
    [-u | --host-username] [-a | --no-auth] [-b | --category]
    [-p | --host-password]
    Error:
    On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
    For example:
    "oclip service-model-create -z {} -y {} -e {} -x {} -c {} -b {} -u {} -p {} -m {} |grep ID".format(parameters["project-code"], \
    parameters["service-model-desc"], parameters["icon-id"], parameters["service-model-name"], parameters["category-display"], \
    parameters["category"],parameters["sdc_creator"], parameters["sdc_password"], parameters["sdc_catalog_url"])

5. vfc-catalog-onboard-vnf
--------------------------

::

    usage: oclip vfc-catalog-onboard-vnf
    vfc onboard vnf to catalog of vfc
    Options:
    [-m | --host-url] [-C | --no-catalog] [-f | --format]
    [-h | --help] [-V | --verify] [-t | --no-title]
    [-d | --debug] [-v | --version] [-s | --long]
    [-D | --context] [-c | --vnf-csar-uuid]
    Error:
    On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
    For example:
    oclip vfc-catalog-onboard-vnf - -c {}'.format(value.get("csar-id"))


6. vfc-catalog-onboard-ns
--------------------------

::

    usage: oclip vfc-catalog-onboard-ns
    vfc onboard ns to catalog of vfc
    Options:
    [-m | --host-url] [-c | --ns-csar-uuid] [-C | --no-catalog]
    [-f | --format] [-h | --help] [-V | --verify]
    [-t | --no-title] [-d | --debug] [-v | --version]
    [-s | --long] [-D | --context]
    Error:
    On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
    For example:
    'oclip vfc-catalog-onboard-ns -c {}'.format(parameters["ns"]["csar-id"])