nfv/nfv/nfv-vim/nfv_vim
Al Bailey 181d7b4832 Update urllib2 to be python3 compatable.
This change has no code impact on python2
There are multiple six.moves modules depending on which
urllib2 component was being used.
    Classes were verified by print(class_name)
    Methods were verified using help(method_name)

Error codes:
urllib2.URLError -> from six.moves.urllib.error import URLError
(verified as the same)
urllib2.HTTPError from six.moves.urllib.error import HTTPError
(verified as the same)

Functionality:
old: urllib2.HTTPHandler
new: from six.moves.urllib.request import HTTPHandler
verification: print(HTTPHandler)
result:  urllib2.HTTPHandler

old: urllib2.Request
new: from six.moves.urllib.request import Request
verification: print(Request)
result:  urllib2.Request

old: urllib2.build_opener
new: from six.moves.urllib.request import build_opener
verification: help(build_opener)
result:  Help on function build_opener in module urllib2:

old: urllib2.install_opener
new: from six.moves.urllib.request import install_opener
verification: help(install_opener)
result: Help on function install_opener in module urllib2:

Story: 2004241
Task: 28069
Change-Id: Iec3a9e7b20c9d186313dfa4e152064283236603a
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-11-23 08:54:24 -06:00
..
alarm Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
api Update urllib2 to be python3 compatable. 2018-11-23 08:54:24 -06:00
audits Disable VIM plugins for Kubernetes deployment 2018-09-24 09:31:18 -04:00
database Kubernetes, VIM label support 2018-11-06 10:25:41 -05:00
directors Disable VIM plugins for Kubernetes deployment 2018-09-24 09:31:18 -04:00
dor Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
event_log Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
events Kubernetes, VIM label support 2018-11-06 10:25:41 -05:00
host_fsm Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
instance_fsm Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
nfvi Kubernetes, VIM label support 2018-11-06 10:25:41 -05:00
objects Kubernetes, VIM label support 2018-11-06 10:25:41 -05:00
rpc Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
strategy Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
tables Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
webserver Update httplib to use python3 compatible code 2018-11-21 15:55:57 -06:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini replace hardcoded system paths by variables in stx config files 2018-10-28 23:24:00 +00:00
debug.ini Initial HA kubernetes deployment 2018-08-28 09:43:15 -04:00
vim.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
vim_api.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
vim_manage.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
vim_webserver.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00