Fix the default port value
In the file cinder/volume/drivers/disco/disco.py, the default value
for disco_client_port and disco_src_api_port should be Integer.
@@ -44,7 +44,7 @@ disco_opts = [
help='The IP of DMS client socket server',
deprecated_group='DEFAULT'),
cfg.PortOpt('disco_client_port',
- default='9898',
+ default=9898,
help='The port to connect DMS client socket server',
deprecated_group='DEFAULT'),
cfg.StrOpt('disco_wsdl_path',
@@ -61,7 +61,7 @@ disco_opts = [
'"rest".', choices=['soap', 'rest'],
deprecated_name='choice_client', deprecated_group='DEFAULT'),
cfg.PortOpt('disco_src_api_port',
- default='8080',
+ default=8080,
help='The port of DISCO source API',
deprecated_group='DEFAULT'),
cfg.StrOpt('disco_volume_name_prefix',
