diff --git a/CHANGELOG.md b/CHANGELOG.md
index 058c02580..c7f567322 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ Extends support of the SDK to OneView REST API version 1600 (OneView v5.20).
- Hypervisor Managers
- Interconnects
- Interconnect Types
+- Logical Enclosures
- Logical Interconnects
- Logical Interconnect Groups
- Network set
diff --git a/endpoints-support.md b/endpoints-support.md
index fdf1a3567..9dc5c6e59 100755
--- a/endpoints-support.md
+++ b/endpoints-support.md
@@ -115,17 +115,17 @@
|/rest/internal-link-sets | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|/rest/internal-link-sets/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Logical Enclosures**
-|/rest/logical-enclosures | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id} | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id} | PATCH | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id} | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id}/configuration | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id}/script | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id}/script | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id}/support-dumps | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-|/rest/logical-enclosures/{id}/updateFromGroup | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures/{id} | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures/{id} | PATCH | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures/{id} | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures/{id}/configuration | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures/{id}/script | GET | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: |
+|/rest/logical-enclosures/{id}/script | PUT | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: |
+|/rest/logical-enclosures/{id}/support-dumps | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+|/rest/logical-enclosures/{id}/updateFromGroup | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Logical Interconnect Groups**
|/rest/logical-interconnect-groups | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|/rest/logical-interconnect-groups | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
diff --git a/examples/logical_enclosures.py b/examples/logical_enclosures.py
index 7c6e4bc27..c73028dc6 100644
--- a/examples/logical_enclosures.py
+++ b/examples/logical_enclosures.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
###
-# (C) Copyright [2019] Hewlett Packard Enterprise Development LP
+# (C) Copyright [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.
@@ -107,6 +107,7 @@
(logical_enclosure.data['uri'], logical_enclosure.data['name']))
print("Reset name")
+resource = logical_enclosure.data.copy()
resource["name"] = previous_name
logical_enclosure.update(resource)
print(" Done. uri: '%s', 'name': '%s'" %
@@ -119,12 +120,12 @@
print(" Done.")
# Update and get script
-print("Update script")
-script = "# TEST COMMAND"
-logical_enclosure_updated = logical_enclosure.update_script(
- logical_enclosure.data['uri'], script)
-print(" updated script: '{}'".format(
- logical_enclosure.get_script()))
+# This method is available for API version 300
+if oneview_client.api_version == 300:
+ print("Update script")
+ script = "# TEST COMMAND"
+ logical_enclosure_updated = logical_enclosure.update_script(logical_enclosure.data['uri'], script)
+ print(" updated script: '{}'".format(logical_enclosure.get_script()))
# Create support dumps
print("Generate support dump")