Improvements on documentation and removing unneeded quotes from yaml
This commit is contained in:
parent
637571abfb
commit
5c3bbd4620
1 changed files with 10 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# Copyright (c) 2016-2017 Hewlett Packard Enterprise Development LP
|
|
||||||
|
# Copyright: (c) 2016-2017, Hewlett Packard Enterprise Development LP
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
|
@ -26,10 +27,10 @@ options:
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Indicates the desired state for the Logical Interconnect Group resource.
|
- Indicates the desired state for the Logical Interconnect Group resource.
|
||||||
C(present) will ensure data properties are compliant with OneView.
|
|
||||||
C(absent) will remove the resource from OneView, if it exists.
|
C(absent) will remove the resource from OneView, if it exists.
|
||||||
|
C(present) will ensure data properties are compliant with OneView.
|
||||||
|
choices: [absent, present]
|
||||||
default: present
|
default: present
|
||||||
choices: ['present', 'absent']
|
|
||||||
data:
|
data:
|
||||||
description:
|
description:
|
||||||
- List with the Logical Interconnect Group properties.
|
- List with the Logical Interconnect Group properties.
|
||||||
|
@ -45,19 +46,19 @@ EXAMPLES = '''
|
||||||
config: /etc/oneview/oneview_config.json
|
config: /etc/oneview/oneview_config.json
|
||||||
state: present
|
state: present
|
||||||
data:
|
data:
|
||||||
name: 'Test Logical Interconnect Group'
|
name: Test Logical Interconnect Group
|
||||||
uplinkSets: []
|
uplinkSets: []
|
||||||
enclosureType: 'C7000'
|
enclosureType: C7000
|
||||||
interconnectMapTemplate:
|
interconnectMapTemplate:
|
||||||
interconnectMapEntryTemplates:
|
interconnectMapEntryTemplates:
|
||||||
- logicalDownlinkUri: ~
|
- logicalDownlinkUri: ~
|
||||||
logicalLocation:
|
logicalLocation:
|
||||||
locationEntries:
|
locationEntries:
|
||||||
- relativeValue: "1"
|
|
||||||
type: "Bay"
|
|
||||||
- relativeValue: 1
|
- relativeValue: 1
|
||||||
type: "Enclosure"
|
type: Bay
|
||||||
permittedInterconnectTypeName: 'HP VC Flex-10/10D Module'
|
- relativeValue: 1
|
||||||
|
type: Enclosure
|
||||||
|
permittedInterconnectTypeName: HP VC Flex-10/10D Module
|
||||||
# Alternatively you can inform permittedInterconnectTypeUri
|
# Alternatively you can inform permittedInterconnectTypeUri
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue