heat/heat/tests/neutron
Sergey Kraynev 02275f8901 Add base resolve method for attributes
Current patch adds two new methods to base class:
 * _resolve_all_attributes - for choosing path for resolving, which
   depends on type of attribute (base or custom).
 * _show_resource - method for resolving base 'show' attribute.
 This method should be re-defined for resources, which use clients with
 specific implementations of 'show' commands.

 New attribute for base class was added - entity, which is used for
 resolving 'show' attribute.

 Tests for Neutron resources and Server resource were updated
 corresponding changes mentioned above.

 Hook for stack_resource class is removed in this patch.

Change-Id: I4ee0a53407739e5590c9a8d12bc7c1e84077f4c4
2015-08-03 08:19:11 -04:00
..
__init__.py Move all neutron test in separate directory 2015-03-27 04:52:10 -04:00
test_extraroute.py Move extraroute resource in-tree 2015-05-28 17:33:10 -07:00
test_neutron.py Add base resolve method for attributes 2015-08-03 08:19:11 -04:00
test_neutron_firewall.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_neutron_floating_ip.py Add HIDDEN status to Neutron::FloatingIP 2015-07-27 12:51:45 +03:00
test_neutron_loadbalancer.py Add HIDDEN status to Neutron::Pool 2015-07-27 12:53:08 +03:00
test_neutron_metering.py Produce more meaningful exception messages in nested stacks 2015-06-24 08:52:08 +10:00
test_neutron_net.py Add MTU attribute for OS::Neutron::Net 2015-07-15 19:00:56 +08:00
test_neutron_network_gateway.py Add HIDDEN status to Neutron::NetworkGateway 2015-07-27 12:51:47 +03:00
test_neutron_port.py Add HIDDEN status to Neutron::Port 2015-07-27 12:53:48 +03:00
test_neutron_provider_net.py Retain references to stacks in all unit tests 2015-05-14 16:55:12 -04:00
test_neutron_router.py Add HIDDEN status to Neutron::RouterInterface 2015-07-27 12:53:24 +03:00
test_neutron_security_group.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_neutron_subnet.py Add HIDDEN status to network_id Neutron::Subnet 2015-07-27 12:51:31 +03:00
test_neutron_vpnservice.py Add HIDDEN status to Neutron::VPNService 2015-07-27 12:51:58 +03:00