Skip to content

Commit

Permalink
API2000 Support for Interconnect resources
Browse files Browse the repository at this point in the history
  • Loading branch information
HarikaChebrolu committed Sep 14, 2020
1 parent 25e4d2d commit 0392450
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 25 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
#### Bug fixes & Enhancements
- [#565] (https://github.com/HewlettPackard/oneview-ansible/issues/565) Problem creating / changing a network_set

### Modules supported in this release
- oneview_alert_facts.yml
- oneview_appliance_device_read_community.yml
- oneview_appliance_device_read_community_facts.yml
- oneview_appliance_time_and_locale_configuration.yml
- oneview_appliance_time_and_locale_configuration_facts.yml
- oneview_interconnect_link_topology_facts.yml
- oneview_internal_link_set_facts.yml
- oneview_logical_downlink_facts.yml
- oneview_login_detail_facts.yml
- oneview_os_deployment_plan_facts.yml
- oneview_switch_type_facts.yml

## v5.7.0

This release extends the planned support of the modules to OneView REST API version 1800 (OneView v5.3)
Expand Down
43 changes: 20 additions & 23 deletions endpoints-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,13 @@

## HPE OneView

| Endpoints | Verb | V500 | V600 | V800 | V1000 | V1200 | V1600 | V1800
| --------------------------------------------------------------------------------------- | -------- | :------------------: | :------------------: | :------------------: | :------------------: | :------------------: | :------------------: | :------------------: |
| Endpoints | Verb | V500 | V600 | V800 | V1000 | V1200 | V1600 | V1800 | V2000
| --------------------------------------------------------------------------------------- | -------- | :------------------: | :------------------: | :------------------: | :------------------: | :------------------: | :------------------: | :------------------: | :------------------: |
| **Alerts** |
|<sub>/rest/alerts </sub> |GET | :white_check_mark: | :white_check_mark: |
|<sub>/rest/alerts/{id} </sub> |GET | :white_check_mark: | :white_check_mark: |
|<sub>/rest/alerts/{id} </sub> |PUT | :white_check_mark: | :white_check_mark: |
|<sub>/rest/alerts/{id} </sub> |DELETE | :white_check_mark: | :white_check_mark: |
|<sub>/rest/alerts </sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Appliance Device Read Community String** |
|<sub>/rest/appliance/device-read-community-string</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/appliance/device-read-community-string</sub> |PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/appliance/device-read-community-string</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/appliance/device-read-community-string</sub> |PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Appliance SNMPv1 Trap Destinations** |
|<sub>/rest/appliance/trap-destinations</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/appliance/trap-destinations/validation</sub> |POST | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Expand All @@ -50,8 +47,8 @@
|<sub>/rest/appliance/snmpv3-trap-forwarding/users/{id}</sub> |PUT | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/appliance/snmpv3-trap-forwarding/users/{id}</sub> |DELETE | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: |
| **Appliance Time and Locale Configuration** |
|<sub>/rest/appliance/configuration/time-locale</sub> |GET | :white_check_mark: |
|<sub>/rest/appliance/configuration/time-locale</sub> |POST | :white_check_mark: |
|<sub>/rest/appliance/configuration/time-locale</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/appliance/configuration/time-locale</sub> |POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Certificates Server**
|<sub>/rest/certificates/servers</sub> |POST | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/certificates/https/remote/example.com</sub> |GET | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Expand Down Expand Up @@ -159,8 +156,8 @@
|<sub>/rest/hypervisor-managers/{id}</sub> |PUT | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/hypervisor-managers/{id}</sub> |DELETE | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Interconnect Link Topologies** |
|<sub>/rest/interconnect-link-topologies</sub> | GET | :white_check_mark: |
|<sub>/rest/interconnect-link-topologies/{id}</sub> | GET | :white_check_mark: |
|<sub>/rest/interconnect-link-topologies</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/interconnect-link-topologies/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Interconnect Types** |
|<sub>/rest/interconnect-types</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/interconnect-types/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Expand All @@ -180,13 +177,13 @@
|<sub>/rest/interconnects/{id}/update-ports</sub> | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/interconnects/{id}/nameServers</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Internal Link Sets** |
|<sub>/rest/internal-link-sets</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/internal-link-sets/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/internal-link-sets</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/internal-link-sets/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Logical Downlinks** |
|<sub>/rest/logical-downlinks</sub> |GET | :white_check_mark: |
|<sub>/rest/logical-downlinks/{id}</sub> |GET | :white_check_mark: |
|<sub>/rest/logical-downlinks/withoutEthernet</sub> |GET | :heavy_minus_sign: |
|<sub>/rest/logical-downlinks/{id}/withoutEthernet</sub> |GET | :heavy_minus_sign: |
|<sub>/rest/logical-downlinks</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/logical-downlinks/{id}</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/logical-downlinks/withoutEthernet</sub> |GET | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: |
|<sub>/rest/logical-downlinks/{id}/withoutEthernet</sub> |GET | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: |
| **Logical Enclosures** |
|<sub>/rest/logical-enclosures</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/logical-enclosures</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Expand Down Expand Up @@ -251,7 +248,7 @@
|<sub>/rest/logical-switches/{id}</sub> |DELETE | :white_check_mark: | :white_check_mark: |
|<sub>/rest/logical-switches/{id}/refresh</sub> |PUT | :white_check_mark: | :white_check_mark: |
| **Login Details** |
|<sub>/rest/logindetails</sub> | GET | :white_check_mark:
|<sub>/rest/logindetails</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Managed SANs** |
|<sub>/rest/fc-sans/managed-sans</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/fc-sans/managed-sans/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Expand All @@ -269,8 +266,8 @@
|<sub>/rest/network-sets/{id}</sub> | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/network-sets/{id}</sub> | PATCH | :white_check_mark: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: |
| **OS Deployment Plans** |
|<sub>/rest/os-deployment-plans/</sub> | GET | :white_check_mark: | :white_check_mark: |
|<sub>/rest/os-deployment-plans/{id}</sub> | GET | :white_check_mark: | :white_check_mark: |
|<sub>/rest/os-deployment-plans/</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/os-deployment-plans/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Power Devices** |
|<sub>/rest/power-devices</sub> | GET | :white_check_mark: |
|<sub>/rest/power-devices</sub> | POST | :white_check_mark: |
Expand Down Expand Up @@ -421,8 +418,8 @@
|<sub>/rest/storage-volume-templates/{id}</sub> | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/storage-volume-templates/{id}/compatible-systems</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Switch Types** |
|<sub>/rest/switch-types</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/switch-types/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/switch-types</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/switch-types/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Switches** |
|<sub>/rest/switches</sub> | GET | :white_check_mark: | :white_check_mark: |
|<sub>/rest/switches/{id}</sub> | GET | :white_check_mark: | :white_check_mark: |
Expand Down
2 changes: 1 addition & 1 deletion examples/oneview_event_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
start: 0
count: 3
sort: description:descending
filter: eventTypeID=hp.justATest
filter: eventTypeID=Appliance.Startup
- debug: var=events
6 changes: 5 additions & 1 deletion examples/oneview_interconnect_link_topology_facts.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###
# Copyright (2016-2017) Hewlett Packard Enterprise Development LP
# Copyright (2016-2020) Hewlett Packard Enterprise Development LP
#
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
Expand All @@ -19,11 +19,13 @@
vars:
- config: "{{ playbook_dir }}/oneview_config.json"
- name: "name1379299256-1476390351192" # set the name of an existent Interconnect Link Topology to run this example
- variant: "Synergy"
tasks:
- name: Gather facts about all Interconnect Link Topologies
oneview_interconnect_link_topology_facts:
config: "{{ config }}"
delegate_to: localhost
when: variant == "Synergy"

- debug: var=interconnect_link_topologies

Expand All @@ -35,6 +37,7 @@
count: 3
sort: 'name:descending'
filter: "name='name1900571853-1483553596802'"
when: variant == "Synergy"

- debug: var=interconnect_link_topologies

Expand All @@ -43,5 +46,6 @@
config: "{{ config }}"
name: "{{ name }}"
delegate_to: localhost
when: variant == "Synergy"

- debug: var=interconnect_link_topologies

0 comments on commit 0392450

Please sign in to comment.