← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1497066] [NEW] If IP version is not specified while creating Firewall Rule, then it should populate it based on the Source and Destination IP

 

You have been subscribed to a public bug:

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

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
If IP version is not specified while creating Firewall Rule, then it should populate it based on the Source and Destination IP
https://bugs.launchpad.net/bugs/1497066
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.


References