Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.1.6
- Adds hypervisor type to data get action

## 1.1.5
- Adds wilds to data get action

Expand Down
1 change: 1 addition & 0 deletions actions/data_get_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,6 @@ def run(self, api_config, template_label_filters, open_nebula=None):
# Add hostname to data
conn = self._get_connection_info(open_nebula)
all_objs['hostname'] = conn['host']
all_objs['hypervisor_type'] = "open_nebula"

return all_objs
2 changes: 1 addition & 1 deletion pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ref: open_nebula
name: open_nebula
description: Open Nebula
stackstorm_version: ">=2.9.0"
version: 1.1.5
version: 1.1.6
author: John Schoewe
email: john.schoewe@encore.tech
contributors:
Expand Down
3 changes: 2 additions & 1 deletion tests/test_action_data_get_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ def test_run(self, mock_session, mock_get_objects, mock_add_wilds):
'networks': 'obj2',
'hosts': 'obj3',
'wilds': ['wild1', 'wild2'],
'hostname': 'test.com'
'hostname': 'test.com',
'hypervisor_type': 'open_nebula'
}

result = action.run(api_config, template_label_filters, open_nebula)
Expand Down
Loading