Instead of calling:
self.sg_agent.remove_devices_filter(vnic.port_uuid)
we need to call self.sg_agent.remove_device_filter(vnic.port_uuid)
similarly, self.sg_agent.remove_devices_filter(port_id)
it should be self.sg_agent.remove_device_filter(port_id)
Instead of calling:
self.sg_ agent.remove_ devices_ filter( vnic.port_ uuid)
we need to call self.sg_ agent.remove_ device_ filter( vnic.port_ uuid)
similarly, agent.remove_ devices_ filter( port_id)
self.sg_
it should be self.sg_ agent.remove_ device_ filter( port_id)