# rest framework
-Django>=2.2.3
-djangorestframework>=3.9.4
+Django==3.2.7
+djangorestframework==3.12.4
# for call rest api
-httplib2==0.9.2
+httplib2==0.19.1
# for call openstack auth and transport api
keystoneauth1==2.18.0
# mock==2.0.0
# unittest_xml_reporting==1.12.0
-PyYAML==5.3.1
+PyYAML==5.4.1
# for background tasks
celery >= 4.0
# limitations under the License.
# rest framework
-Django==2.2.3
-djangorestframework==3.9.4
+Django==3.2.7
+djangorestframework==3.12.4
# for call rest api
-httplib2==0.13.0
+httplib2==0.19.1
# for call openstack auth and transport api
keystoneauth1==2.18.0
# python-memcached
python-memcached
-ruamel.yaml==0.16.10
+ruamel.yaml==0.17.1
# uwsgi for parallel processing
# uwsgi
# mock==2.0.0
# unittest_xml_reporting==1.12.0
-PyYAML==5.3.1
+PyYAML==5.4.1
onaphpadriver>=1.0
try:
resp = super(TokensV2,self).post(request, vimid)
- self._logger.debug("Token(v3)returns> headers:%s, data:%s" % (resp._headers, resp.data))
+ # self._logger.debug("Token(v3)returns> headers:%s, data:%s" % (resp._headers, resp.data))
if resp.status_code == status.HTTP_201_CREATED:
v3_content = resp.data
v3_token = v3_content['token']
"/regions", "identity", session, viminfo, vimid,
"regions")
- for region in openstackregions:
+ for region in openstackregions or []:
if region['id'] == 'SystemController':
isDistributedCloud = True
break
else:
continue
- for region in openstackregions:
+ for region in openstackregions or []:
if region['id'] == 'SystemController':
continue
elif region['id'] == 'RegionOne' and isDistributedCloud:
# limitations under the License.
# rest framework
-Django==2.2.3
-djangorestframework==3.9.4
+Django==3.2.7
+djangorestframework==3.12.4
# for call rest api
-httplib2==0.13.0
+httplib2==0.19.1
# for call openstack auth and transport api
keystoneauth1==2.18.0
# python-memcached
python-memcached
-ruamel.yaml==0.16.10
+ruamel.yaml==0.17.1
# uwsgi for parallel processing
# uwsgi
# mock==2.0.0
# unittest_xml_reporting==1.12.0
-PyYAML==5.3.1
\ No newline at end of file
+PyYAML==5.4.1
},
'loggers': {
+ 'starlingx': {
+ 'handlers': ['file_handler'],
+ 'level': 'DEBUG',
+ 'propagate': False
+ },
+ 'starlingx_base': {
+ 'handlers': ['file_handler'],
+ 'level': 'DEBUG',
+ 'propagate': False
+ },
+ 'newton_base': {
+ 'handlers': ['file_handler'],
+ 'level': 'DEBUG',
+ 'propagate': False
+ },
'common': {
'handlers': ['file_handler'],
'level': 'DEBUG',
# for unit test
-coverage==4.2
-mock==3.0.5
-unittest_xml_reporting==1.12.0
+coverage==5.5
+mock==4.0.3
+unittest_xml_reporting==3.0.4
pylint # GPLv2
# limitations under the License.
[tox]
-envlist = py36,cov,pylint
+envlist = py38,cov,pylint
skipsdist = true
[tox:jenkins]
[testenv]
basepython =
- py36: python3
+ py38: python3
cov: python3
pylint: python3
setenv =
# rest framework
-Django==2.2.3
-djangorestframework==3.9.4
+Django==3.2.7
+djangorestframework==3.12.4
# for call rest api
-httplib2==0.13.0
+httplib2==0.19.1
# for call openstack auth and transport api
keystoneauth1==2.18.0
# python-memcached
python-memcached
-ruamel.yaml==0.16.10
+ruamel.yaml==0.17.1
# uwsgi for parallel processing
# uwsgi
# mock==2.0.0
# unittest_xml_reporting==1.12.0
-PyYAML==5.3.1
+PyYAML==5.4.1
# for background tasks
# celery >= 4.0