According to the OpenStack style guide
(http://docs.openstack.org/developer/hacking/),
for Python 3.x compatibility use "six.add_metaclass"
instead of " __metaclass__."
Closes-Bug: #
1236648
Change-Id: I2f507a90ee08cc05bd764549002a4656c187b6fc
import netaddr
from oslo.config import cfg
+import six
from neutron.common import exceptions
from neutron.common import rpc as n_rpc
topic=self.topic)
+@six.add_metaclass(abc.ABCMeta)
class CiscoCsrIPsecDriver(device_drivers.DeviceDriver):
"""Cisco CSR VPN Device Driver for IPSec.
# 1.0 Initial version
RPC_API_VERSION = '1.0'
- __metaclass__ = abc.ABCMeta
def __init__(self, agent, host):
self.host = host