Reviewed:  https://review.openstack.org/369221
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=71dd840d30130afad37d8c1f404d7167a2063a8d
Submitter: Jenkins
Branch:    master

commit 71dd840d30130afad37d8c1f404d7167a2063a8d
Author: Mathieu Rohon <[email protected]>
Date:   Mon Sep 12 07:58:00 2016 +0000

    Send a callback before attaching a subnet to a router
    
    Attaching a subnet to a router may be forbidden in some cases.
    To prevent this attachment, we need to send a BEFORE_CREATE event
    with "router_interface" as resource, and reraise any exception
    that tells neutron a third party code forbid this attachment.
    
    Change-Id: Ia71e0c5e9e3e073053ead7e1e7c3040087f5ee13
    Closes-bug: 1537091


** 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/1537091

Title:
  Prevent the attachment of a subnet to a router

Status in neutron:
  Fix Released

Bug description:
  Some external plugins might need to prevent the attachment of a subnet
  to a router, like reported in bug [1]

  Now that [2] has been fixed, we can prevent this attachment by adding a new 
BEFORE_UPDATE callback in ML2, which will be triggered when the router port 
gets updated by the l3plugin.
  Raising an exception during the processing of the BEFORE_UPDATE call should 
result in preventing the attachment of the subnet to the router.

  [1]https://bugs.launchpad.net/bgpvpn/+bug/1537067
  [2]https://bugs.launchpad.net/bgpvpn/+bug/1475093

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to