HewlettPackard / oneview-ansible

This project is no longer being developed and has limited support. Please use the newer Ansible Collection project: https://github.com/HewlettPackard/oneview-ansible-collection
Apache License 2.0
104 stars 65 forks source link

oneview_network_set doesn't support names for nativeNetworkUri parameter #364

Closed adarobin closed 6 years ago

adarobin commented 6 years ago

Scenario/Intent

I cannot use network names instead of uris for the nativeNetworkUri in the oneview_network_set module.

Environment Details

Steps to Reproduce

- name: Add Network Sets
      oneview_network_set:
        config: '{{ config }}'
        data:
            name: NFSNetworkSet
            nativeNetworkUri: NFSNetwork
            networkUris: 
                - NFSNetwork
        state: present
      delegate_to: localhost

Expected Result

The network set is added successfully.

Actual Result

The URI 'NFSNetwork' is malformed.

I can submit a PR for this, but I will need to get a copy of the CLA.

adarobin commented 6 years ago

I pushed new commits to #367 that are signed off per the changes coming in #369