replace iterator.next() with next(iterator)
replace iterator.next() with next(iterator)

According to https://wiki.openstack.org/wiki/Python3 iterator.next()
should be replaced with next(iterator).

Change-Id: I9c559ab32df520704cef4ea24c7607e646e1bf8e

openstack/oslo.vmware