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

oneview_logical_interconnect_group resource not updating #238

Closed riconem closed 3 years ago

riconem commented 4 years ago

Scenario/Intent

When I created a Logical Interconnect Group resource with several uplinkSets and want to delete some of them, Puppet don't delete them. For Puppet it looks like there are no changes, but in Oneview the UplinkSet is still there.

Environment Details

Steps to Reproduce

Create a Logical Interconnect Group resource like this with puppet (works):

oneviewconf::oneview_logical_interconnect_group:
  Puppet_LIG:
    ensure: present
    data:
      name: Puppet_LIG
      enclosureType: SY12000
      enclosureIndexes:
      - 1
      interconnectBaySet: 3
      redundancyType: NonRedundantASide
      interconnects:
      - bay: 3
        type: Virtual Connect SE 40Gb F8 Module for Synergy
        enclosure_index: 1
      uplinkSets:
      - name: Uplink_Ethernet
        networkType: Ethernet
        mode: Auto
        lacpTimer: Short
        uplink_ports:
        - bay: 3
          port: Q1:1
          enclosure_index: 1
          type: Virtual Connect SE 40Gb F8 Module for Synergy
      -
        name: 'Uplink_SAN'
        networkType: 'FibreChannel'
        uplink_ports:
        -
          bay: 3
          port: 'Q2:1'
          type: Virtual Connect SE 40Gb F8 Module for Synergy
          enclosure_index: 1

Delete Uplink_SAN in uplinkSets and re-run Puppet (nothing changes):

oneviewconf::oneview_logical_interconnect_group:
  Puppet_LIG:
    ensure: present
    data:
      name: Puppet_LIG
      enclosureType: SY12000
      enclosureIndexes:
      - 1
      interconnectBaySet: 3
      redundancyType: NonRedundantASide
      interconnects:
      - bay: 3
        type: Virtual Connect SE 40Gb F8 Module for Synergy
        enclosure_index: 1
      uplinkSets:
      - name: Uplink_Ethernet
        networkType: Ethernet
        mode: Auto
        lacpTimer: Short
        uplink_ports:
        - bay: 3
          port: Q1:1
          enclosure_index: 1
          type: Virtual Connect SE 40Gb F8 Module for Synergy

Expected Result

Updating Logical Interconnect Group Resource in Oneview.

Actual Result

Nothing changes in Oneview.

VenkateshRavula commented 3 years ago

This SDK has limited support and will not be actively developed for the foreseeable future.