Issue #3273644 by Xiaohua Guan, yas: Fix the error "Invalid value for port 0" when updating OpenStack security group
Closes #3273644