Skip to content

Commit

Permalink
Fixes in LIG example file
Browse files Browse the repository at this point in the history
  • Loading branch information
HarikaChebrolu committed Jun 11, 2020
1 parent f143de2 commit 0e1ae32
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions examples/oneview_logical_interconnect_group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
###
# Below example work till Oneview REST API Version 1600.
# This playbook performs operations for Synergy 3 Enclosure Setup.
---
- hosts: all
vars:
Expand Down Expand Up @@ -78,48 +79,48 @@
type: "Enclosure"
- relativeValue: 6
type: "Bay"
permittedInterconnectTypeUri: "/rest/interconnect-types/c16e12d7-06ea-4bbf-ad22-f46d78540dcc"
permittedInterconnectTypeName: "{{ permitted_interconnect_type_name }}"
- enclosureIndex: 2
logicalLocation:
locationEntries:
- relativeValue: 2
type: "Enclosure"
- relativeValue: 6
type: "Bay"
permittedInterconnectTypeUri: "/rest/interconnect-types/b8873560-ff0f-4535-b618-b381a47115d0"
permittedInterconnectTypeName: "{{ permitted_interconnect_type_name_1 }}"
- enclosureIndex: 2
logicalLocation:
locationEntries:
- relativeValue: 2
type: "Enclosure"
- relativeValue: 3
type: "Bay"
permittedInterconnectTypeUri: "/rest/interconnect-types/c16e12d7-06ea-4bbf-ad22-f46d78540dcc"
permittedInterconnectTypeName: "{{ permitted_interconnect_type_name }}"
- enclosureIndex: 3
logicalLocation:
locationEntries:
- relativeValue: 3
type: "Enclosure"
- relativeValue: 3
type: "Bay"
permittedInterconnectTypeUri: "/rest/interconnect-types/c16e12d7-06ea-4bbf-ad22-f46d78540dcc"
permittedInterconnectTypeName: "{{ permitted_interconnect_type_name }}"
- enclosureIndex: 1
logicalLocation:
locationEntries:
- relativeValue: 1
type: "Enclosure"
- relativeValue: 6
type: "Bay"
permittedInterconnectTypeUri: "/rest/interconnect-types/c16e12d7-06ea-4bbf-ad22-f46d78540dcc"
permittedInterconnectTypeName: "{{ permitted_interconnect_type_name }}"
- enclosureIndex: 1
logicalLocation:
locationEntries:
- relativeValue: 1
type: "Enclosure"
- relativeValue: 3
type: "Bay"
permittedInterconnectTypeUri: "/rest/interconnect-types/b8873560-ff0f-4535-b618-b381a47115d0"
# Alternatively you can inform permittedInterconnectTypeName
permittedInterconnectTypeName: "{{ permitted_interconnect_type_name_1 }}"
# Alternatively you can inform permittedInterconnectTypeUri
delegate_to: localhost

- name: Do nothing with the Logical Interconnect Group when no changes are provided
Expand Down

0 comments on commit 0e1ae32

Please sign in to comment.