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
|
Cli Create Service and Customer Command Guide
=============================================
1. create-service-type
-----------------------
::
usage: oclip service-type-create
Add a service type in Onap
Options:
[-m | --host-url] [-C | --no-catalog] [-x | --service-type]
[-f | --format] [-h | --help] [-V | --verify]
[-t | --no-title] [-d | --debug] [-v | --version]
[-y | --service-type-id] [-s | --long] [-D | --context]
[-u | --host-username] [-a | --no-auth] [-p | --host-password]
Error:
On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
For example:
"oclip service-type-create -x {} -m {} -u {} -p {}".format( parameters["service_name"], \
parameters["aai_url"], parameters["aai_username"], parameters["aai_password"])
2. create-customer
------------------
::
usage: oclip customer-create
Create a customer in Onap
Options:
[-m | --host-url] [-y | --subscriber-name] [-C | --no-catalog]
[-f | --format] [-h | --help] [-V | --verify]
[-t | --no-title] [-d | --debug] [-v | --version]
[-x | --customer-name] [-s | --long] [-D | --context]
[-u | --host-username] [-a | --no-auth] [-p | --host-password]
Error:
On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
For example:
"oclip customer-create -x {} -y {} -m {} -u {} -p {}".format( parameters["customer_name"], \
parameters["subscriber_name"], parameters["aai_url"], parameters["aai_username"], parameters["aai_password"])
3. add-customer-subscription(subscription not exist)
----------------------------------------------------
::
usage: oclip customer-create
Create a customer in Onap
Options:
[-m | --host-url] [-y | --subscriber-name] [-C | --no-catalog]
[-f | --format] [-h | --help] [-V | --verify]
[-t | --no-title] [-d | --debug] [-v | --version]
[-x | --customer-name] [-s | --long] [-D | --context]
[-u | --host-username] [-a | --no-auth] [-p | --host-password]
Error:
On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
For example:
"oclip subscription-create -x {} -c {} -z {} -e {} -y {} -r {} -m {} -u {} -p {}".format(\
parameters["customer_name"], cloud_region_values.get("tenant-id"), parameters["cloud-owner"], parameters["service_name"],\
cloud_region_values.get("default-tenant"), cloud_region, parameters["aai_url"], parameters["aai_username"], parameters["aai_password"] )
4. add-customer-subscription(subscription existed)
--------------------------------------------------
::
usage: oclip subscription-cloud-add
Add a new cloud region to a customer subscription
Options:
[-m | --host-url] [-C | --no-catalog] [-f | --format]
[-h | --help] [-V | --verify] [-t | --no-title]
[-d | --debug] [-v | --version] [-x | --customer-name]
[-c | --cloud-tenant-id] [-s | --long] [-D | --context]
[-z | --cloud-owner] [-e | --service-type] [-u | --host-username]
[-a | --no-auth] [-y | --tenant-name] [-r | --cloud-region]
[-p | --host-password]
Error:
On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
For example:
"oclip subscription-cloud-add -x {} -c {} -z {} -e {} -y {} -r {} -m {} -u {} -p {}".format(\
parameters["customer_name"], cloud_region_values.get("tenant-id"), parameters["cloud-owner"], parameters["service_name"],\
cloud_region_values.get("default-tenant"), cloud_region, parameters["aai_url"], parameters["aai_username"], parameters["aai_password"] )
|