Skip to content

Commit

Permalink
Merge branch 'master' into Fix341
Browse files Browse the repository at this point in the history
  • Loading branch information
chebroluharika committed Jun 15, 2020
2 parents 0e1ae32 + 8136dfe commit 8601247
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Ansible Modules for HPE OneView Change Log

## v5.6.1(unreleased)

#### Bug fixes & Enhancements
- [#341](https://github.com/HewlettPackard/oneview-ansible/issues/341) Logical_Interconnect_Group Module , idempotency , Uplinksets for Synergy.
- [#487](https://github.com/HewlettPackard/oneview-ansible/issues/487) Fails Server profile update in case of existing network_set

## v5.6.0

Expand Down
3 changes: 2 additions & 1 deletion library/module_utils/oneview.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,8 @@ def _replace_networks_name_by_uri(self, data):
for connection in connections:
if 'networkName' in connection:
name = connection.pop('networkName')
connection['networkUri'] = self._get_network_by_name(name)['uri']
if name is not None:
connection['networkUri'] = self._get_network_by_name(name)['uri']

def _replace_server_hardware_type_name_by_uri(self, data):
self._replace_name_by_uri(data, 'serverHardwareTypeName', self.SERVER_HARDWARE_TYPE_NOT_FOUND,
Expand Down

0 comments on commit 8601247

Please sign in to comment.