You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+44
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,53 @@ Extends support of the SDK to OneView REST API version 3200 (OneView v6.30)
6
6
-[#173] (https://github.com/HewlettPackard/oneview-python/issues/73) is this a typo https://github.com/HewlettPackard/oneview-python/blob/master/examples/server_hardware.py#L200-201
@@ -23,7 +23,7 @@ Latest version of the OneView Python [SDK Documentation](https://hewlettpackard.
23
23
24
24
## What's New
25
25
26
-
HPE OneView Python library extends support of the SDK to OneView REST API version 3000 (OneView v6.20)
26
+
HPE OneView Python library extends support of the SDK to OneView REST API version 3200 (OneView v6.30)
27
27
28
28
Please refer to [notes](https://github.com/HewlettPackard/oneview-python/blob/master/CHANGELOG.md) for more information on the changes , features supported and issues fixed in this version
29
29
@@ -32,40 +32,58 @@ Please refer to [notes](https://github.com/HewlettPackard/oneview-python/blob/ma
32
32
HPE OneView SDK for Python can be installed from Source,Pypi and Docker container installation methods.
:lock: Tip: Make sure no unauthorized person has access to the environment variables, since the password is stored in clear-text.
113
138
114
-
Note: If you have an active and valid login session and want to use it, define the ONEVIEWSDK_SESSIONID. When a sessionID is defined, it will be used for
139
+
Note: If you have an active and valid login session and want to use it, define the ```ONEVIEWSDK_SESSIONID```. When a sessionID is defined, it will be used for
115
140
authentication (username and password will be ignored in this case).
116
141
117
142
### Dictionary:
118
-
You can also set the configuration using a dictionary. As described above, for authentication you can use username/password: <br />
119
-
config = { <br />
120
-
"ip": "172.16.102.82", <br />
121
-
"credentials": { <br />
122
-
"userName": "Administrator", <br />
123
-
"password": "secret123" <br />
124
-
} <br />
125
-
} <br />
143
+
```python
144
+
# You can also set the configuration using a dictionary. As described above, for authentication you can use username/password: <br />
145
+
config = {
146
+
"ip": "172.16.102.82",
147
+
"credentials": {
148
+
"userName": "Administrator",
149
+
"password": "secret123"
150
+
}
151
+
}
152
+
```
126
153
127
-
Or if you have an active and valid login session and want to use it, define the sessionID in the Credentials: <br />
128
-
config = { <br />
129
-
"ip": "172.16.102.82", <br />
130
-
"credentials": { <br />
131
-
"sessionID": "123" <br />
132
-
} <br />
133
-
} <br />
134
-
135
-
oneview_client = OneViewClient(config) <br />
154
+
```python
155
+
#Or if you have an active and valid login session and want to use it, define the sessionID in the Credentials:
156
+
config =
157
+
"ip": "172.16.102.82",
158
+
"credentials": {
159
+
"sessionID": "123"
160
+
}
161
+
}
162
+
```
163
+
164
+
```python
165
+
oneview_client = OneViewClient(config)
166
+
```
136
167
:lock: Tip: Check the file permissions because the password is stored in clear-text.
0 commit comments