blob: a289c953c6264c07da972459d4e329e2f9c405e3 [file] [log] [blame]
import os
import base64
from collections import defaultdict
from django.db.models import F, Q
from xos.config import Config
from observer.openstacksyncstep import OpenStackSyncStep
from observer.syncstep import *
from core.models import *
from observer.ansible import *
from openstack.driver import OpenStackDriver
from util.logger import observer_logger as logger
import json
class SyncObject(OpenStackSyncStep):
provides=[] # Caller fills this in
requested_interval=0
observes=[] # Caller fills this in
def sync_record(self, r):
raise DeferredException('Waiting for Service dependency: %r'%r)