[RFE] Add support for binding activate and deactivate in sriov mechanism driver

Bug #1815361 reported by Adrian Chiris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Adrian Chiris

Bug Description

this RFE is required to complete the following Nova blueprint:
https://blueprints.launchpad.net/nova/+spec/libvirt-neutron-sriov-livemigration

Spec: https://github.com/openstack/nova-specs/blob/master/specs/stein/approved/libvirt-neutron-sriov-livemigration.rst

As the change builds on multiple port binding feature, its required that sriovnicswitch agent to support binding_activate() and binding_deactivate() callbacks.

The proposed changes to sriovnicswitch agent are:

- Implement binding_activate() and binding_deactivate() methods in agent.
- Configure agent to listen on the relevant topics.
- RPC version bump on agend side.
- When processing an activated binding treat it as a newly added port.
- Deactivated binding will trigger a NO-OP as once a binding is
  deactivated it will be removed by Hypervisor.

Tags: rfe-approved
Changed in neutron:
assignee: nobody → Adrian Chiris (adrian.chiris)
tags: added: rfe
Changed in neutron:
status: New → In Progress
Miguel Lavalle (minsel)
tags: added: rfe-triaged
removed: rfe
Changed in neutron:
importance: Undecided → Wishlist
Revision history for this message
Miguel Lavalle (minsel) wrote :

This RFE was discussed by the drivers team and approved. Please proceed with implementation. Thanks for submission!

tags: added: rfe-approved
removed: rfe-triaged
Revision history for this message
Adrian Chiris (adrian.chiris) wrote :

Thank you,
Implementation can be found :
https://review.openstack.org/#/c/634276/

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

Reviewed: https://review.openstack.org/620123
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a05e1369b0f440f24a76f395a27e0bdac33ecd0c
Submitter: Zuul
Branch: master

commit a05e1369b0f440f24a76f395a27e0bdac33ecd0c
Author: Adrian Chiris <email address hidden>
Date: Sun Nov 4 20:37:02 2018 +0200

    Add support for binding activate and deactivate

    Add support for binding activate and deactivate callbacks
    in SR-IOV mechanism driver agent.

    this work item is required for supporting VM live-migration
    with SR-IOV in nova with libvirt as hypervisor.

    This commits implemets the following:
    - Implement binding_activate() and binding_deactivate() methods in agent.
    - Configure agent to listen on the relevant topics.
    - RPC version bump on agend side.
    - When processing an activated binding treat it as a newly added port.
    - Deactivated binding will trigger a NO-OP as once a binding is
      deactivated it will be removed by Hypervisor.

    Closes-Bug: #1815361

    Change-Id: I6b7195e08ed8932cfc2785b66627de2854ead85d

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 14.0.0.0b3

This issue was fixed in the openstack/neutron 14.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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