yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39295
[Bug 1497066] Re: If IP version is not specified while creating Firewall Rule, then it should populate it based on the Source and Destination IP
Fix proposed to branch: master
Review: https://review.openstack.org/228369
** Changed in: neutron
Status: Opinion => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1497066
Title:
If IP version is not specified while creating Firewall Rule, then it
should populate it based on the Source and Destination IP
Status in neutron:
In Progress
Bug description:
Example:
reedip@reedip-VirtualBox:/opt/stack/python-neutronclient/neutronclient$ neutron firewall-rule-create --protocol tcp --action deny --source-ip-address 1::1
Created a new firewall_rule:
+------------------------+--------------------------------------+
| Field | Value |
+------------------------+--------------------------------------+
| action | deny |
| description | |
| destination_ip_address | |
| destination_port | |
| enabled | True |
| firewall_policy_id | |
| id | dca8cb81-f65b-4eef-afbe-60d0abb5eecf |
| ip_version | 4 |
| name | |
| position | |
| protocol | tcp |
| shared | False |
| source_ip_address | 1::1 |
| source_port | |
| tenant_id | 83bb2407a0fb484581bde56dc1fae293 |
+------------------------+--------------------------------------+
reedip@reedip-VirtualBox:/opt/stack/python-neutronclient/neutronclient$
On specifying IPv6 source address, the ip_version is populated as IPv4 which is not right.
If IP Version is not specified, then in that case IP version should retrieve the data from Source/Destination IP.
Need to confirm additional test case:
- If IP version is specified and it does not match the IP version of Source/Destination Address then failure should be reported
( if --ip-version is given as 6 and source address is given as 192.168.101.1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1497066/+subscriptions
References