Call to get_vif_by_mac_address is not implemented when using neutron

Bug #1269062 reported by Brent Eagles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Undecided
Jakub Libosvar

Bug Description

The get_vif_by_mac_address() method in the nova.network.neutronv2.api module is not implemented.

Revision history for this message
Gary Kotton (garyk) wrote :

i do not think thatr this is a bug. please see:

    def get_vif_by_mac_address(self, context, mac_address):
        """Returns the vifs record for the mac_address."""
        # NOTE(vish): This is no longer used but can't be removed until
        # we major version the network_rpcapi to 2.0.
        # NOTE(russellb) No need to object-ify this since
        # get_vifs_by_instance() is unused and set to be removed.
        vif = self.db.virtual_interface_get_by_address(context,
                                                        mac_address)
        if vif.get('network_id') is not None:
            network = self._get_network_by_id(context, vif['network_id'])
            vif['net_uuid'] = network['uuid']
        return vif

Changed in nova:
status: New → Incomplete
Revision history for this message
Brent Eagles (beagles) wrote :

The abovementioned code is not in the nova-network API implementation. AFAICT this does need to be implemented.

Aaron Rosen (arosen)
no longer affects: neutron
Revision history for this message
Jakub Libosvar (libosvar) wrote :
Changed in nova:
assignee: nobody → Jakub Libosvar (libosvar)
status: Incomplete → In Progress
Brent Eagles (beagles)
tags: added: neutron
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Jakub Libosvar (<email address hidden>) on branch: master
Review: https://review.openstack.org/98386
Reason: Abandoning per garyk's comment.

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

Other bug subscribers