Elena Ezhova b6b2f433b6 Check port value when creating firewall rule with icmp protocol
If a firewall rule was created with setting protocol as icmp
and using source/destination port no error was thrown, even though
source/destination port parameters are not used by icmp.

This patch adds a validation method that checks passed parameters
and throws an exception if they are incompatible.

Change-Id: I90a765856896395fcb6e9ddbd888b7bd80480674
Closes-Bug: 1327955
2014-06-18 12:51:30 +04:00
..
2014-06-10 12:47:33 +09:00
2014-05-04 12:40:08 +02:00
2014-05-19 12:16:56 +02:00
2013-07-06 15:02:43 -04:00
2014-02-10 04:58:38 +09:00
2014-05-04 12:40:08 +02:00
2014-02-25 14:28:35 +00:00
2014-06-16 12:44:22 +02:00
2013-07-06 15:02:43 -04:00