Use new-style class definitions
This commit is contained in:
parent
a3b1445bf1
commit
a5c76c5d41
|
@ -32,7 +32,7 @@ import kazoo.client
|
||||||
import pvcd.log as log
|
import pvcd.log as log
|
||||||
import pvcd.zkhandler as zkhandler
|
import pvcd.zkhandler as zkhandler
|
||||||
|
|
||||||
class DomainInstance:
|
class DomainInstance(object):
|
||||||
# Initialization function
|
# Initialization function
|
||||||
def __init__(self, domuuid, zk_conn, config, logger, this_node):
|
def __init__(self, domuuid, zk_conn, config, logger, this_node):
|
||||||
# Passed-in variables on creation
|
# Passed-in variables on creation
|
||||||
|
|
|
@ -33,7 +33,7 @@ import pvcd.log as log
|
||||||
import pvcd.zkhandler as zkhandler
|
import pvcd.zkhandler as zkhandler
|
||||||
import pvcd.common as common
|
import pvcd.common as common
|
||||||
|
|
||||||
class NodeInstance():
|
class NodeInstance(object):
|
||||||
# Initialization function
|
# Initialization function
|
||||||
def __init__(self, name, this_node, zk_conn, config, logger, d_node, d_network, d_domain):
|
def __init__(self, name, this_node, zk_conn, config, logger, d_node, d_network, d_domain):
|
||||||
# Passed-in variables on creation
|
# Passed-in variables on creation
|
||||||
|
|
|
@ -28,7 +28,7 @@ import pvcd.log as log
|
||||||
import pvcd.zkhandler as zkhandler
|
import pvcd.zkhandler as zkhandler
|
||||||
import pvcd.common as common
|
import pvcd.common as common
|
||||||
|
|
||||||
class VXNetworkInstance():
|
class VXNetworkInstance(object):
|
||||||
# Initialization function
|
# Initialization function
|
||||||
def __init__ (self, vni, zk_conn, config, logger, this_node):
|
def __init__ (self, vni, zk_conn, config, logger, this_node):
|
||||||
self.vni = vni
|
self.vni = vni
|
||||||
|
|
Loading…
Reference in New Issue