Python 3: use next() instead of iterator.next()

The latter only works in Python 2.

Also define a __next__ method in the classes that define a next method.

Change-Id: Iaa1a1e500facab50d8bcdffda39ccad3f2e4e9bb
Blueprint: neutron-python3
1 file changed
tree: 77fe497ae53775c0d0a1711caf5947eb1ddfc03b
  1. neutron/