Change type of ssh_port option from Str to Int
The type of CONF option virtual_power_ssh_port was incorrectly defaulted to Str. This can cause Paramiko to raise when casting to %d. Fixes bug 1157824. Change-Id: I30ddd1ff0da45f8392085249f1bd2a539b201a7e
This commit is contained in:
parent
7bfbc19021
commit
123826e516
@ -31,8 +31,8 @@ opts = [
|
||||
cfg.StrOpt('virtual_power_ssh_host',
|
||||
default='',
|
||||
help='ip or name to virtual power host'),
|
||||
cfg.StrOpt('virtual_power_ssh_port',
|
||||
default='22',
|
||||
cfg.IntOpt('virtual_power_ssh_port',
|
||||
default=22,
|
||||
help='Port to use for ssh to virtual power host'),
|
||||
cfg.StrOpt('virtual_power_type',
|
||||
default='virsh',
|
||||
|
Loading…
Reference in New Issue
Block a user