HewlettPackard / oneview-puppet

This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Terraform and Ansible Collection
https://forge.puppet.com/hewlettpackard/oneview
Apache License 2.0
8 stars 17 forks source link

Server Profile - Network uris set inside the connections return error #149

Closed fgbulsoni closed 7 years ago

fgbulsoni commented 7 years ago

Scenario/Intent

Create a server profile while specifying the connections to be used for deployment, management, etc.

Environment Details

Steps to Reproduce

Try creating a server profile which contains connections, i.e.:

(...)
    connections           => [
      {
        id               => 1,
        name             => 'Deployment Network A',
        functionType     => 'Ethernet',
        deploymentStatus => 'Deployed',
        networkUri       => '/rest/ethernet-networks/ffd62662-5adb-4d09-8d4d-d0c29dda1c30',
        portId           => 'Mezz 3:1-a',
        requestedVFs     => 'Auto',
        allocatedVFs     => 64,
        interconnectUri  => '/rest/interconnects/c8933971-3e82-4088-a23c-e3eecfaf8d6c',
        macType          => 'Virtual',
        wwpnType         => 'Virtual',
        requestedMbps    => '2500',
        allocatedMbps    => 2500,
        maximumMbps      => 20000,
        boot             => { (...etc)

Expected Result

Creates successfully

Actual Result

Returns error The network does not exist in the Appliance.