Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
Merge pull request #324 from HewlettPackard/api600_upgrade/Interconne…
Browse files Browse the repository at this point in the history
…ct_type

Modifying documentation for Interconnect Type to sync it with Ansible-core library
  • Loading branch information
soodpr authored Feb 20, 2018
2 parents 6ccaa60 + 33a1551 commit 1fd6da2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
15 changes: 12 additions & 3 deletions library/oneview_interconnect_type_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,19 @@
EXAMPLES = '''
- name: Gather facts about all Interconnect Types
oneview_interconnect_type_facts:
config: "{{ config_file_path }}"
hostname: 172.16.101.48
username: administrator
password: my_password
api_version: 600
- debug: var=interconnect_types
- name: Gather paginated, filtered and sorted facts about Interconnect Types
oneview_interconnect_type_facts:
config: "{{ config_file_path }}"
hostname: 172.16.101.48
username: administrator
password: my_password
api_version: 600
params:
start: 0
count: 3
Expand All @@ -61,7 +67,10 @@
- name: Gather facts about an Interconnect Type by name
oneview_interconnect_type_facts:
config: "{{ config_file_path }}"
hostname: 172.16.101.48
username: administrator
password: my_password
api_version: 600
name: HP VC Flex-10 Enet Module
- debug: var=interconnect_types
Expand Down
15 changes: 12 additions & 3 deletions oneview-ansible.md
Original file line number Diff line number Diff line change
Expand Up @@ -4168,13 +4168,19 @@ Retrieve facts about one or more of the OneView Interconnect Types.
- name: Gather facts about all Interconnect Types
oneview_interconnect_type_facts:
config: "{{ config_file_path }}"
hostname: 172.16.101.48
username: administrator
password: my_password
api_version: 600
- debug: var=interconnect_types
- name: Gather paginated, filtered and sorted facts about Interconnect Types
oneview_interconnect_type_facts:
config: "{{ config_file_path }}"
hostname: 172.16.101.48
username: administrator
password: my_password
api_version: 600
params:
start: 0
count: 3
Expand All @@ -4185,7 +4191,10 @@ Retrieve facts about one or more of the OneView Interconnect Types.
- name: Gather facts about an Interconnect Type by name
oneview_interconnect_type_facts:
config: "{{ config_file_path }}"
hostname: 172.16.101.48
username: administrator
password: my_password
api_version: 600
name: HP VC Flex-10 Enet Module
- debug: var=interconnect_types
Expand Down

0 comments on commit 1fd6da2

Please sign in to comment.