← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1656739] Re: Update fw_rule with ipv6 address if not specified ip_version

 

Reviewed:  https://review.openstack.org/420497
Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=2170ab35d0b38054fd1fc263d2378ed1c06998f8
Submitter: Jenkins
Branch:    master

commit 2170ab35d0b38054fd1fc263d2378ed1c06998f8
Author: ZhaoBo <zhaobo6@xxxxxxxxxx>
Date:   Mon Jan 16 12:16:16 2017 +0800

    Fix update fwr with ipv6 address
    
    Currently, if the Firewall Rule Update's body doesn't contain
    'ip_version', then the 'rule_ip_version' is set as None, while it is set
    to the IP version '4' if 'ip_version' is not specified in Firewall Rule
    Create's body.
    
    This patch add the logic like _validate_fwr_protocol_parameters, and read
    the ip_version from db if not specified in update body.
    
    Closes-Bug: #1656739
    Change-Id: Idd2aa5213f65d386420b2ee2f0ff5638b56525f5


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1656739

Title:
  Update fw_rule with ipv6 address if not specified ip_version

Status in neutron:
  Fix Released

Bug description:
  Get "FirewallIpAddressConflict" error when update exist IPv6
  firewall_rule.

  create body:
  {
      "firewall_rule": {
          "action": "reject",
          "enabled": true,
          "name": "tcp_reject",
          "protocol": "tcp",
          "source_ip_address": "1::23",
          "ip_version": 6
      }
  }

  OK, the firewall_rule will be created successful.

  Then I update it like :
  {
      "firewall_rule": {
          "source_ip_address": "1::22"
      }
  }

  returned "FirewallIpAddressConflict" error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1656739/+subscriptions


References