horizon/openstack_dashboard/dashboards/project
Suraj Deshmukh 0b4b2976af ICMP type & code validation while adding Security Group rules
While adding new 'Security Group Rule' viz. 'Custom ICMP rule' when
wrong ICMP 'type' or 'code' was given the errors it would show were
'Not a valid port number'; which is misleading. The errors should
rather be 'Not a valid ICMP type' or 'Not a valid ICMP code'.

Also for validating ICMP 'type' and 'code' there wasn't any dedicated
functionality in 'oslo.utils/netutils' so the code for validating 'TCP
ports' was used. TCP ports are in range 0 to 65535 while ICMP 'type'
and 'code' are in range 0 to 255, so using 'TCP port validation' code
is incorrect.

When -1 is used in 'ICMP code' or 'ICMP type' that means any number
0 to 255 is valid.

Here newer dedicated functionality of 'oslo.utils/netutils' is used
for validating ICMP 'type' and ICMP 'code'.

Change-Id: I8e227a0021d418294fa7b7756d58e39f2100850a
Closes-Bug: #1511748
(cherry picked from commit edfde8b3f5)
2016-06-20 15:43:57 +00:00
..
access_and_security ICMP type & code validation while adding Security Group rules 2016-06-20 15:43:57 +00:00
containers Make ngcontainers the default Swift UI 2016-03-17 11:40:49 -07:00
firewalls Horizon Checkboxes are now themeable. 2016-03-02 19:17:09 -07:00
images Disable Glance option to publicize image on Update 2016-03-07 17:52:30 -08:00
instances Merge "Fix empty 'href' in link actions after AJAX actions_update" 2016-03-18 06:36:08 +00:00
loadbalancers changing-fa-icon-to-trash-icon 2016-03-10 14:00:54 -06:00
network_topology Branding: Workflow cancel btn should be themable 2016-03-14 12:48:11 -07:00
networks Fix workflow bug in "Create Network" dialog 2016-05-16 11:58:53 +00:00
ngimages Match python/ angular table styles 2016-03-01 10:36:16 +00:00
overview Look for volumev2 endpoints instead of volume 2016-02-23 11:47:25 +01:00
routers Branding: Workflow cancel btn should be themable 2016-03-14 12:48:11 -07:00
stacks Pass environment data to update stack action 2016-04-19 15:38:35 +00:00
static/dashboard/project Improve new Launch Instance defaults + tests 2016-06-08 11:50:51 +00:00
volumes Fix tests broken by novaclient 4.0.0 release 2016-04-20 08:05:02 -07:00
vpn Port last unit tests to Python 3 2016-02-10 18:22:52 +01:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
dashboard.py Retrieve domain scoped token 2016-03-08 15:17:38 -08:00