1 Cli Create Service and Customer Command Guide
2 =============================================
5 -----------------------
9 usage: oclip service-type-create
10 Add a service type in Onap
12 [-m | --host-url] [-C | --no-catalog] [-x | --service-type]
13 [-f | --format] [-h | --help] [-V | --verify]
14 [-t | --no-title] [-d | --debug] [-v | --version]
15 [-y | --service-type-id] [-s | --long] [-D | --context]
16 [-u | --host-username] [-a | --no-auth] [-p | --host-password]
18 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
20 "oclip service-type-create -x {} -m {} -u {} -p {}".format( parameters["service_name"], \
21 parameters["aai_url"], parameters["aai_username"], parameters["aai_password"])
28 usage: oclip customer-create
29 Create a customer in Onap
31 [-m | --host-url] [-y | --subscriber-name] [-C | --no-catalog]
32 [-f | --format] [-h | --help] [-V | --verify]
33 [-t | --no-title] [-d | --debug] [-v | --version]
34 [-x | --customer-name] [-s | --long] [-D | --context]
35 [-u | --host-username] [-a | --no-auth] [-p | --host-password]
37 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
39 "oclip customer-create -x {} -y {} -m {} -u {} -p {}".format( parameters["customer_name"], \
40 parameters["subscriber_name"], parameters["aai_url"], parameters["aai_username"], parameters["aai_password"])
43 3. add-customer-subscription(subscription not exist)
44 ----------------------------------------------------
48 usage: oclip customer-create
49 Create a customer in Onap
51 [-m | --host-url] [-y | --subscriber-name] [-C | --no-catalog]
52 [-f | --format] [-h | --help] [-V | --verify]
53 [-t | --no-title] [-d | --debug] [-v | --version]
54 [-x | --customer-name] [-s | --long] [-D | --context]
55 [-u | --host-username] [-a | --no-auth] [-p | --host-password]
57 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
59 "oclip subscription-create -x {} -c {} -z {} -e {} -y {} -r {} -m {} -u {} -p {}".format(\
60 parameters["customer_name"], cloud_region_values.get("tenant-id"), parameters["cloud-owner"], parameters["service_name"],\
61 cloud_region_values.get("default-tenant"), cloud_region, parameters["aai_url"], parameters["aai_username"], parameters["aai_password"] )
63 4. add-customer-subscription(subscription existed)
64 --------------------------------------------------
68 usage: oclip subscription-cloud-add
69 Add a new cloud region to a customer subscription
71 [-m | --host-url] [-C | --no-catalog] [-f | --format]
72 [-h | --help] [-V | --verify] [-t | --no-title]
73 [-d | --debug] [-v | --version] [-x | --customer-name]
74 [-c | --cloud-tenant-id] [-s | --long] [-D | --context]
75 [-z | --cloud-owner] [-e | --service-type] [-u | --host-username]
76 [-a | --no-auth] [-y | --tenant-name] [-r | --cloud-region]
77 [-p | --host-password]
79 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
81 "oclip subscription-cloud-add -x {} -c {} -z {} -e {} -y {} -r {} -m {} -u {} -p {}".format(\
82 parameters["customer_name"], cloud_region_values.get("tenant-id"), parameters["cloud-owner"], parameters["service_name"],\
83 cloud_region_values.get("default-tenant"), cloud_region, parameters["aai_url"], parameters["aai_username"], parameters["aai_password"] )