VPNaaS enhance abstract methods for service driver APIs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Ly Loi |
Bug Description
Currently an ABC is defined (VpnDriver) for the service driver APIs. For some of the methods that must be implemented by the vendor and reference service drivers, there is an abstract method defined in this class to ensure that the child classes implement the method:
@abc.
def create_
pass
@abc.
def update_vpnservice(
self, context, old_vpnservice, vpnservice):
pass
@abc.
def delete_
pass
However, for other methods, there are no abstract methods defined in VpnDriver. Fortunately, the reference implementation and every provider currently implement these methods in their child classes, but it would be good to enforce this in the ABC, so that any new service drivers will be sure to implement.
This is a low-hanging fruit enhancement, ideal for new contributors.
Changed in neutron: | |
status: | New → Incomplete |
assignee: | nobody → Ly Loi (lyloi) |
status: | Incomplete → In Progress |
Changed in neutron: | |
importance: | Undecided → Low |
description: | updated |
Changed in neutron: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/109087
Review: https:/