``openstack vnflcm scale`` cannot be executed without '--additional-param-file' option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-tackerclient |
In Progress
|
High
|
Unassigned |
Bug Description
When executing ETSI-NFV compliant VNF scaling with ``openstack vnflcm scale``, if '--additional-
No error is displayed and no request is sent to Tacker.
---
$ openstack vnflcm scale --type 'SCALE_OUT' --aspect-id 'worker_instance' de51ccc2-
$
---
I get an error even if I prepare an appropriate additional-
---
$ cat scale_param.json
{
"key": "value"
}
$ openstack vnflcm scale --type 'SCALE_OUT' --aspect-id 'worker_instance' de51ccc2-
'type' is a required property
---
I think there are some bugs in the code below.
---
def take_action(self, parsed_args):
"""Execute scale_vnf_instance and output result comment.
Args:
"""
client = self.app.
if parsed_
result = client.
if not result:
---
Specifically, I think the following are bugs.
* Although '--additional-
* Request-body does not contain arguments such as'--type' or'--aspect-id', only the contents of'--additional
*'--I' is an unnecessary argument that is not used
Target code:
https:/
Changed in python-tackerclient: | |
importance: | Undecided → High |
Changed in python-tackerclient: | |
status: | New → In Progress |
> Specifically, I think the following are bugs. param-file' is Cardinality: 0.1 in Scale-Spec, it is mandatory. -param- file'
>
> * Although '--additional-
> * Request-body does not contain arguments such as'--type' or'--aspect-id', only the contents of'--additional
> *'--I' is an unnecessary argument that is not used
Mandatory of cardinality is aspectid and type in spec.
What would be the following modifications?
openstack vnflcm scale [-h] [--number-of-steps] [--additional- param-file]
< vnf-instance> <type> <aspect-id>