[
https://issues.apache.org/jira/browse/CLOUDSTACK-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085806#comment-14085806
]
Namita Chaudhari commented on CLOUDSTACK-2694:
----------------------------------------------
Made required changes in the code and tested it based on following testcases:
1) Create firewall rules by providing cidr, protocol and ports :
a) diff cidr and diff ports with diff protocol
b) diff cidr with same ports with diff protocol
c) same cidr with diff ports with diff protocol
d) same cidr with same ports with diff protocol
e) diff cidr and diff ports with same protocol
f) diff cidr with same ports with same protocol
g) same cidr with diff ports with same protocol
h) same cidr with same ports with same protocol
2) Create firewall rules only with cidr,protocol and no ports :
a) diff cidr with no ports with diff protocol
b) same cidr with no ports with diff protocol
b) diff cidr with no ports with same protocol
d) same cidr with no ports with same protocol
3) Create various firewall rules and the duplicate Fw rule should not get
created
> [Firewall Rule] Able to configure duplicate firewall rule with protocol and
> no ports
> -------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2694
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2694
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Network Controller
> Affects Versions: 4.0.0
> Reporter: Jayapal Reddy
>
> 1. Configure a firewall rules with cidd 0.0.0.0/0 protocol tcp and do NOT
> pass ports
> 2. Configure the same rule again. Rule is configured successfully
> Expected: Should throw duplicate firewall rule error
--
This message was sent by Atlassian JIRA
(v6.2#6252)