Scott Baker | b63ea79 | 2016-08-11 10:24:48 -0700 | [diff] [blame] | 1 | import os |
| 2 | import base64 |
| 3 | from collections import defaultdict |
| 4 | from django.db.models import F, Q |
| 5 | from xos.config import Config |
Scott Baker | 8b75e85 | 2016-08-16 15:04:59 -0700 | [diff] [blame] | 6 | from synchronizers.openstack.openstacksyncstep import OpenStackSyncStep |
Scott Baker | b63ea79 | 2016-08-11 10:24:48 -0700 | [diff] [blame] | 7 | from synchronizers.base.syncstep import * |
| 8 | from core.models import * |
| 9 | from synchronizers.base.ansible import * |
Scott Baker | b63ea79 | 2016-08-11 10:24:48 -0700 | [diff] [blame] | 10 | from xos.logger import observer_logger as logger |
| 11 | import json |
| 12 | |
| 13 | class 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) |