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

Commit 3491eac

Browse files
committed
Updated endpoint support file and example file
1 parent 0cbbfe1 commit 3491eac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

endpoints-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
|<sub>/rest/logical-interconnects/{id}/telemetry-configurations/{tcId}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
301301
|<sub>/rest/logical-interconnects/{id}/telemetry-configurations/{tcId}</sub> | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
302302
|<sub>/rest/logical-interconnects/compliance</sub> | POST | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: |:heavy_multiplication_x: |:heavy_multiplication_x: |
303-
|<sub>/rest/logical-interconnects/{id}</sub> | PATCH | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :heavy_minus_sign: | :heavy_minus_sign: |
303+
|<sub>/rest/logical-interconnects/{id}</sub> | PATCH | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :heavy_minus_sign: | :white_check_mark: |
304304
| **Logical Switch Groups** |
305305
|<sub>/rest/logical-switch-groups</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark:
306306
|<sub>/rest/logical-switch-groups</sub> |POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark:

examples/logical_interconnects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
scope = oneview_client.scopes.get_by_name(scope_name)
8686

8787
# Performs a patch operation
88-
# Endpoint not supported in API version 600.
89-
if scope and oneview_client.api_version != 600:
88+
# This operation is not supported in API version 200 and 600.
89+
if scope and oneview_client.api_version not in [200, 600]:
9090
print("\nPatches the logical interconnect adding one scope to it")
9191
logical_interconnect.patch('replace',
9292
'/scopeUris',

0 commit comments

Comments
 (0)