Add logic in /NetworkDriver.CreateEndpoint to use ipam created port

Bug #1521111 reported by vikas choudhary
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr
Fix Released
Undecided
vikas choudhary

Bug Description

kuryr ipam will create a neutron port as part of /IpamDriver.RequestAddress. CreateEndpoint should first look for this port if it is already created by ipam. In that case no need to recreate it.

Also some cleanup is required in CreateEndpoint to remove subnet creation part. subnet is now created in /NetworkDriver.CreateNetwork

Changed in kuryr:
status: New → In Progress
assignee: nobody → vikas choudhary (choudharyvikas16)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr (master)

Fix proposed to branch: master
Review: https://review.openstack.org/252226

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/253323

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kuryr (master)

Change abandoned by Gal Sagie (<email address hidden>) on branch: master
Review: https://review.openstack.org/253323
Reason: Copied here:
https://review.openstack.org/#/c/255153/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr (master)

Fix proposed to branch: master
Review: https://review.openstack.org/256211

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kuryr (master)

Change abandoned by Gal Sagie (<email address hidden>) on branch: master
Review: https://review.openstack.org/255153

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by vikas choudhary (<email address hidden>) on branch: master
Review: https://review.openstack.org/252226
Reason: Resubmitted here https://review.openstack.org/#/c/256211/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr (master)

Reviewed: https://review.openstack.org/256211
Committed: https://git.openstack.org/cgit/openstack/kuryr/commit/?id=ff86131188cdc9b15f765fc04e53e43316d38ca1
Submitter: Jenkins
Branch: master

commit ff86131188cdc9b15f765fc04e53e43316d38ca1
Author: Vikas Choudhary <email address hidden>
Date: Fri Dec 11 10:14:39 2015 +0530

    /NetworkDriver.CreateEndpoint cleanup

    Add logic to search for port created by ipam and remove subnet creation
    logic. Now subnets are created using IPv4Data and IPv6Data in
    /NetworkDriver.CreateNetwork

    Change-Id: Ibd543efd4d72f9ebf9e25a238ce513c14044a426
    Closes-Bug: #1521111

Changed in kuryr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.