When you create nova floating ip bulk got error, but bulk IPs successfully created.
Python 2.7.3 (default, Aug 14 2014, 22:51:04)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from novaclient.v1_1 import client
>>> from novaclient.v1_1 import floating_ips_bulk
>>> nova = client.Client("admin", "admin", "admin", "http://192.168.0.2:5000/v2.0/", service_type="compute")
>>> nova.floating_ips_bulk.create("10.123.5.50/30", pool="net04_ext")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/floating_ips_bulk.py", line 24, in __repr__
return "<FloatingIP: %s>" % self.address
File "/usr/lib/python2.7/dist-packages/novaclient/openstack/common/apiclient/base.py", line 471, in __getattr__
return self.__getattr__(k)
File "/usr/lib/python2.7/dist-packages/novaclient/openstack/common/apiclient/base.py", line 473, in __getattr__
raise AttributeError(k)
AttributeError: address
Available attributes in FloatingIP:
{ v2.floating_ ips_bulk. FloatingIPBulkM anager object at 0x7f514e1fe050>,
'manager': <novaclient.
'ip_range': u'10.123.7.50/30',
'interface': u'eth0',
'_info': {u'interface': u'eth0', u'ip_range': u'10.123.7.50/30', u'pool': u'net04_ext'},
'pool': u'net04_ext',
'_loaded': True
}