| 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=None # Caller fills this in |
| |
| def sync_record(self, r): |
| raise Exception('Waiting for Service dependency') |