{"action":"opened","issue":{"url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/370","repository_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible","labels_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/370/comments","events_url":"https://api.github.com/repos/HewlettPackard/oneview-ansible/issues/370/events","html_url":"https://github.com/HewlettPackard/oneview-ansible/issues/370","id":370666527,"node_id":"MDU6SXNzdWUzNzA2NjY1Mjc=","number":370,"title":"oneview_logical_interconnect_group doesn't support network names","user":{"login":"adarobin","id":17325289,"node_id":"MDQ6VXNlcjE3MzI1Mjg5","avatar_url":"https://avatars0.githubusercontent.com/u/17325289?v=4","gravatar_id":"","url":"https://api.github.com/users/adarobin","html_url":"https://github.com/adarobin","followers_url":"https://api.github.com/users/adarobin/followers","following_url":"https://api.github.com/users/adarobin/following{/other_user}","gists_url":"https://api.github.com/users/adarobin/gists{/gist_id}","starred_url":"https://api.github.com/users/adarobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adarobin/subscriptions","organizations_url":"https://api.github.com/users/adarobin/orgs","repos_url":"https://api.github.com/users/adarobin/repos","events_url":"https://api.github.com/users/adarobin/events{/privacy}","received_events_url":"https://api.github.com/users/adarobin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-16T15:20:44Z","updated_at":"2018-10-16T15:20:44Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Scenario/Intent\r\nI cannot use network names instead of uris for the networkUris on uplinkSets in the oneview_logical_interconnect_group module.\r\n\r\n### Environment Details\r\n - **Module Version:** master branch\r\n - **Ansible Version:** 2.7.0\r\n - **OneView Appliance Version:** 4.1\r\n - **OneView Client API Version:** 600\r\n - **Python Version:** 2.7.13\r\n - **python-hpOneView SDK Version:** 4.7.0\r\n - **Platform:** RHEL 7.5\r\n\r\n### Steps to Reproduce\r\n```\r\n - name: Configure Logical Interconnect Groups\r\n    oneview_logical_interconnect_group:\r\n      hostname: oneviewhost.example.com\r\n      username: user\r\n      password: password\r\n      api_version: 600\r\n      state: present\r\n      data:\r\n        name: SAN_Frame_1\r\n        uplinkSets:\r\n          - name: Frame_1_SAN_UplinkSet_A\r\n             mode: Auto\r\n             networkType: FibreChannel\r\n             networkUris:\r\n               - SAN-A\r\n             logicalPortConfigInfos:\r\n               - desiredSpeed: Auto\r\n                  logicalLocation:\r\n                    locationEntries:\r\n                      - relativeValue: 2\r\n                         type: Bay\r\n                      - relativeValue: 13\r\n                         type: Port\r\n                      - relativeValue: -1\r\n                         type: Enclosure\r\n          - name: Frame_1_SAN_UplinkSet_B\r\n             mode: Auto\r\n             networkType: FibreChannel\r\n             networkUris:\r\n               - SAN-B\r\n             logicalPortConfigInfos:\r\n               - desiredSpeed: Auto\r\n                  logicalLocation:\r\n                    locationEntries:\r\n                      - relativeValue: 5\r\n                         type: Bay\r\n                      - relativeValue: 13\r\n                         type: Port\r\n                      - relativeValue: -1\r\n                         type: Enclosure\r\n    delegate_to: localhost\r\n```\r\n\r\n### Expected Result\r\nThe Logical Interconnect Group is added successfully.\r\n\r\n### Actual Result\r\n`An exception occurred during task execution. To see the full traceback, use -vvv. The error was: HPOneViewTaskError: Badly formed URI: 'SAN-A'`\r\n\r\nI'll submit a pull request for this, as I have some working code.  I don't have any tests completed yet."}}
{"actor":{"display_login":"adarobin"}}