3. Login to tacker UI and open vnf manager events tab under NFV.
4. In VNF catalog tab our created vnf descriptor is showing
5. In VNF manager our created vnf is showing.
6. Then, we had performed scale out operation on created vnf
stack@necuser-HP-ProDesk-400-G2-MT:~$ openstack vnf scale --scaling-policy-name SP1 --scaling-type out 3b0b6ee9-6509-4ff8-be37-3ce7aa7ce65f
7. After that, we had performed scale out operation on created vnf
stack@necuser-HP-ProDesk-400-G2-MT:~$ openstack vnf scale --scaling-policy-name SP1 --scaling-type in 3b0b6ee9-6509-4ff8-be37-3ce7aa7ce65f
hi,
We tried to reproduce this bug, but we could not able reproduce it.
Following steps we had followed
1. created vnf descriptor by using file given in bug.
stack@necuser- HP-ProDesk- 400-G2- MT:~/tacker$ openstack vnf descriptor create --vnfd-file tosca-vnfd- scale.yaml vnfd-scale
stack@necuser- HP-ProDesk- 400-G2- MT:~/tacker$ openstack vnf descriptor list ------- ------- ------- ------- ----+-- ------- ---+--- ------- ------- +------ ------- ------- ------- + ------- ------- ------- ------- ----+-- ------- ---+--- ------- ------- +------ ------- ------- ------- + da8c-4475- bc8a-1f807ac089 6f | vnfd-scale | onboarded | sample- tosca-vnfd- scaling | ------- ------- ------- ------- ----+-- ------- ---+--- ------- ------- +------ ------- ------- ------- +
+------
| ID | Name | Template_Source | Description |
+------
| 386a97e0-
+------
2. created vnf using vnf descriptor created in step 1
stack@necuser- HP-ProDesk- 400-G2- MT:~/tacker$ openstack vnf create --vnfd-id 386a97e0- da8c-4475- bc8a-1f807ac089 6f Navum_1234
3. Login to tacker UI and open vnf manager events tab under NFV.
4. In VNF catalog tab our created vnf descriptor is showing
5. In VNF manager our created vnf is showing.
6. Then, we had performed scale out operation on created vnf
stack@necuser- HP-ProDesk- 400-G2- MT:~$ openstack vnf scale --scaling- policy- name SP1 --scaling-type out 3b0b6ee9- 6509-4ff8- be37-3ce7aa7ce6 5f
7. After that, we had performed scale out operation on created vnf
stack@necuser- HP-ProDesk- 400-G2- MT:~$ openstack vnf scale --scaling- policy- name SP1 --scaling-type in 3b0b6ee9- 6509-4ff8- be37-3ce7aa7ce6 5f
VNFD is as following
metadata: tosca-vnfd- scaling
template_name: sample-
topology_template: nfv.VDU. Tacker 0.5.2-x86_ 64-disk
mgmt_driver: noop
availability_ zone: nova
node_templates:
VDU1:
type: tosca.nodes.
properties:
image: cirros-
flavor: m1.tiny
CP1: nfv.CP. Tacker
anti_spoofing_ protection: false
type: tosca.nodes.
properties:
management: true
order: 0
requirements:
- virtualLink:
node: VL1
- virtualBinding:
node: VDU1
VDU2: nfv.VDU. Tacker 0.5.2-x86_ 64-disk
mgmt_driver: noop
availability_ zone: nova
type: tosca.nodes.
properties:
image: cirros-
flavor: m1.tiny
CP2: nfv.CP. Tacker
anti_spoofing_ protection: false
type: tosca.nodes.
properties:
management: true
order: 0
requirements:
- virtualLink:
node: VL1
- virtualBinding:
node: VDU2
VL1:
network_ name: net0
type: tosca.nodes.nfv.VL
properties:
vendor: Tacker
policies: tacker. Scaling
increment: 1
min_ instances: 1
max_ instances: 3
default_ instances: 2
- SP1:
type: tosca.policies.
properties:
targets: [VDU1, VDU2]
cooldown: 120
Note: Please, share detailed procedure if we are missing something in above procedure