when we are using scale feature, the VNF resources should contain the heat's nested resources from scaling.yaml.
This is the top stack's resources:
[gongysh@fedora23 devstack]$ heat resource-list a36fe761-3c25-4880-899f-0f762a7546c9
WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead
+---------------+--------------------------------------+----------------------------+-----------------+----------------------+
| resource_name | physical_resource_id | resource_type | resource_status | updated_time |
+---------------+--------------------------------------+----------------------------+-----------------+----------------------+
| G1 | 7c8d3efb-609e-409a-a0c2-3c7a84103f42 | OS::Heat::AutoScalingGroup | CREATE_COMPLETE | 2016-11-03T09:39:41Z |
| SP1_scale_in | 08d27694dcf8464795475ee66c4cfc8e | OS::Heat::ScalingPolicy | CREATE_COMPLETE | 2016-11-03T09:39:41Z |
| SP1_scale_out | 7f1ea565a0a445358fddec8ff132de4e | OS::Heat::ScalingPolicy | CREATE_COMPLETE | 2016-11-03T09:39:41Z |
+---------------+--------------------------------------+----------------------------+-----------------+----------------------+
following are nested resources:
[gongysh@fedora23 devstack]$ heat resource-list 7c8d3efb-609e-409a-a0c2-3c7a84103f42
WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead
+---------------+--------------------------------------+---------------+-----------------+----------------------+
| resource_name | physical_resource_id | resource_type | resource_status | updated_time |
+---------------+--------------------------------------+---------------+-----------------+----------------------+
| av4ub6nnoyqv | a97c8159-18cb-4617-b7af-719cb6b0706d | scaling.yaml | CREATE_COMPLETE | 2016-11-03T09:39:42Z |
| m2kpe2dx6zez | ee693290-3c17-4126-9472-d27a73734062 | scaling.yaml | CREATE_COMPLETE | 2016-11-03T09:39:42Z |
+---------------+--------------------------------------+---------------+-----------------+----------------------+
[gongysh@fedora23 devstack]$ heat resource-list a97c8159-18cb-4617-b7af-719cb6b0706d
WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead
+---------------+--------------------------------------+-------------------+-----------------+----------------------+
| resource_name | physical_resource_id | resource_type | resource_status | updated_time |
+---------------+--------------------------------------+-------------------+-----------------+----------------------+
| CP1 | 014cf646-c0d5-45da-9511-246a5ecdc03a | OS::Neutron::Port | CREATE_COMPLETE | 2016-11-03T09:39:44Z |
| CP2 | ae24647e-a318-42cc-baff-2df5c3d9455a | OS::Neutron::Port | CREATE_COMPLETE | 2016-11-03T09:39:44Z |
| VDU1 | 07eee8f4-131d-403e-a9b2-fabbb89daced | OS::Nova::Server | CREATE_COMPLETE | 2016-11-03T09:39:44Z |
| VDU2 | 9d9b51ff-548a-412a-a90e-e3f00c58d4c8 | OS::Nova::Server | CREATE_COMPLETE | 2016-11-03T09:39:44Z |
+---------------+--------------------------------------+-------------------+-----------------+----------------------+
[gongysh@fedora23 devstack]$ heat resource-list ee693290-3c17-4126-9472-d27a73734062
WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead
+---------------+--------------------------------------+-------------------+-----------------+----------------------+
| resource_name | physical_resource_id | resource_type | resource_status | updated_time |
+---------------+--------------------------------------+-------------------+-----------------+----------------------+
| CP1 | 8bca5cf2-dbef-412c-a1a6-7924270cec66 | OS::Neutron::Port | CREATE_COMPLETE | 2016-11-03T09:39:44Z |
| CP2 | 65e609ee-602b-4801-8128-60a093ace7ab | OS::Neutron::Port | CREATE_COMPLETE | 2016-11-03T09:39:44Z |
| VDU1 | c4483e96-af84-4b55-be2f-3b58d2bd5fff | OS::Nova::Server | CREATE_COMPLETE | 2016-11-03T09:39:44Z |
| VDU2 | bc0e311b-bcc7-4f75-993b-c71f19f15e21 | OS::Nova::Server | CREATE_COMPLETE | 2016-11-03T09:39:44Z |
+---------------+--------------------------------------+-------------------+-----------------+----------------------+