This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import six | |
| def retry_if_session_inactive(context_var_name='context', | |
| context_var_in_instance=False): | |
| def decorator(f): | |
| print('DDDDDDD decorator ', six.get_function_closure(f)) | |
| @six.wraps(f) | |
| def wrapped(*args, **kwargs): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| heat_template_version: 2013-05-23 | |
| description: > | |
| Heat template to test trunk operations | |
| resources: | |
| parent_net: | |
| type: OS::Neutron::Net | |
| properties: | |
| name: parent_net |