Changes to ensure vmware-nsx modules are python 3 compatible.
This patch does the following:
- Deal with library renames
- Use key attribute in sorting list of dicts
- Handle removed built-in functions such as unicode
- Handle changes in function prototypes
- Remove "L" suffixes, which were improperly used anyway.
This patch alone does not make vmware-nsx completely python 3
compatible. There are still some issues arising from the different
semantics of dict's items method.
Moreover, the dependency on neutron means this repository cannot
be completely python 3 compatible until neutron isn't.
Change-Id: Ifd5397585544201d4e50ca71f4611a16896a514f
No longer need openstack-common conf that pulls in the above
code.
In addition this this uses the translation imports from Neutron.
Change-Id: I475aa6936f126264d6de3ba9e25838d5dffddf3d
This patch removes usage of incubated libraries from
neutron.openstack.common and starts "copying" such libraries from
the oslo incubator as any other project.
As vmware-nsx currently only uses i18n, and loopingcall, these are
the only modules added to openstack-common.conf
All the imports pointing out to neutron.i18n or
neutron.openstack.common.loopingcall are amended in this patch.
Closes-Bug: #1432783
Change-Id: I6b9d576bad33310598139c7169627c44014301af
Ensure that Neuteron hacking is run when doing pep8
Ensures the following:
1. oslo.whatever => oslo_whatever
2. LOG messages should have cortrect translations
3. using jsonutils instead of json
Change-Id: I85cf69d483fd5d624ed3876ec9bacd83f7b7b70b
Authentication cookie can be set to None by another thread thus
cause current thread retry get aborted by mistake.
The fix is removing the abort logic, because even if the cookie is
None, it would then re-login and get a new cookie before retry.
Change-Id: I8b94de41fa2f3be17d317fd80e4becdad9285f7d
Closes-Bug: 1410805