1 Cli VFC part Command Guide
2 ===============================
9 usage: oclip vfc-nslcm-create
12 [-n | --ns-csar-name] [-m | --host-url] [-c | --ns-csar-uuid]
13 [-C | --no-catalog] [-f | --format] [-h | --help]
14 [-V | --verify] [-t | --no-title] [-d | --debug]
15 [-v | --version] [-s | --long] [-D | --context]
17 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
19 'oclip vfc-nslcm-create -m {} -c {} -n {} -q {} -S {}'.format(parameters["vfc-url"], \
20 csar_id, ns.get("name"), parameters["customer_name"], parameters["service_name"])
28 usage: oclip vfc-nslcm-instance
31 [[-m | --host-url] [-C | --no-catalog] [-f | --format]
32 [-h | --help] [-V | --verify] [-t | --no-title]
33 [-d | --debug] [-v | --version] [-c | --location-constraints]
34 [-s | --long] [-D | --context] [-i | --ns-instance-id]
35 [-n | --sdn-controller-id]
37 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
39 'oclip vfc-nslcm-instantiate -m {} -i {} -c {} -n {}'.format(parameters["vfc-url"], \
40 ns_instance_id, parameters["location"], parameters["sdc-controller-id"])
43 3. VFC nslcm terminate
44 ----------------------
48 usage: oclip vfc-nslcm-terminate
49 vfc nslcm terminate ns
51 [[-m | --host-url] [-C | --no-catalog] [-f | --format]
52 [-h | --help] [-V | --verify] [-t | --no-title]
53 [-d | --debug] [-v | --version] [-c | --location-constraints]
54 [-s | --long] [-D | --context] [-i | --ns-instance-id]
56 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
58 'oclip vfc-nslcm-terminate -m {} -i {}'.format(parameters["vfc-url"], ns_instance_id)
61 ----------------------
65 usage: oclip vfc-nslcm-delete
66 vfc nslcm terminate ns
68 [[-m | --host-url] [-C | --no-catalog] [-f | --format]
69 [-h | --help] [-V | --verify] [-t | --no-title]
70 [-d | --debug] [-v | --version] [-c | --location-constraints]
71 [-s | --long] [-D | --context] [-c | --ns-instance-id]
73 On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
75 'oclip vfc-nslcm-delete -m {} -c {}'.format(parameters["vfc-url"], ns_instance_id)