def __init__(self, initial_config={}, node_id=None, urn=None):
    if (not node_id):
        node_id = settings.UNIS_ID
    self.node_id = node_id
    self.urn = urn
    self.config = initial_config
    self.unis = UNISInstance(self.config)
    self.node_setup = False
    self.service_setup = False
    self.exponential_backoff = int(self.config['properties']['configurations']['unis_poll_interval'])
def __init__(self, initial_config={}, node_id=None, urn=None):
    if (not node_id):
        node_id = settings.UNIS_ID
    self.node_id = node_id
    self.urn = urn
    self.config = initial_config
    self.unis = UNISInstance(self.config)
    self.node_setup = False
    self.service_setup = False
    self.exponential_backoff = int(self.config['properties']['configurations']['unis_poll_interval'])