Minor fixes for comments in merged firewall API patch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Sumit Naiksatam |
Bug Description
neutron/
222 def _get_port_
223 if not min_port:
224 return None
225 if min_port == max_port:
226 return str(min_port)
227 else:
228 return str(min_port) + ':' + str(max_port)
mark mcclain 7:48 AM
In a follow up patch..
return '%d:%d' % (min_port, max_port)
Reply ...
211 def _get_min_
212 if not port_range:
213 return [None, None]
214 ports = port_range.
Paul Michali 4:32 AM
You could do...
min_port, sep, max_port = port_range.
if not max_port:
max_port = min_port
return [int(min_port), int(max_port)]
neutron/
class FirewallRuleInf
88 message = _("Missing rule info argument for insert/remove "
89 "rule opertaion.")
Armando Migliaccio 10:17 AM
grammar nit.
Changed in neutron: | |
importance: | Undecided → Medium |
assignee: | nobody → Sumit Naiksatam (snaiksat) |
milestone: | none → havana-3 |
status: | New → In Progress |
tags: | added: fwaas |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/39638
Review: https:/