[NetApp] Casting block_count to int before calling ONTAP API.
When calling ONTAP API the block_count is sent as a float which
isn't accepted by the API because it will have a trailing '.0'.
So it's needed to cast it to int before send it to the API as
string.
Closes-Bug:
@@ -499,7 +499,7 @@ class Client(client_base.Client):
'destination-block-number':
six.text_type(dest_block),
'block-count':
- six.text_type(block_count)})
+ six.text_type(int(block_count))})
block_ranges.add_child_elem(block_range)
src_block += int(block_count)
dest_block += int(block_count)
