blob: 3a9a84f7f5467de8cfa511198e324076a5369f0e [file] [log] [blame]
Scott Bakerb63ea792016-08-11 10:24:48 -07001import os
2import base64
3from collections import defaultdict
4from django.db.models import F, Q
5from xos.config import Config
Scott Baker8b75e852016-08-16 15:04:59 -07006from synchronizers.openstack.openstacksyncstep import OpenStackSyncStep
Scott Bakerb63ea792016-08-11 10:24:48 -07007from synchronizers.base.syncstep import *
8from core.models import *
9from synchronizers.base.ansible import *
Scott Bakerb63ea792016-08-11 10:24:48 -070010from xos.logger import observer_logger as logger
11import json
12
13class SyncObject(OpenStackSyncStep):
14 provides=[] # Caller fills this in
15 requested_interval=0
16 observes=[] # Caller fills this in
17
18 def sync_record(self, r):
19 raise DeferredException('Waiting for Service dependency: %r'%r)