Fixing HelloWorldService?
diff --git a/xos/helloworldservice/models.py b/xos/helloworldservice/models.py
index d965f46..c830b9f 100644
--- a/xos/helloworldservice/models.py
+++ b/xos/helloworldservice/models.py
@@ -16,6 +16,9 @@
proxy = True
KIND = HELLO_WORLD_KIND
+ sync_attributes = ("private_ip", "private_mac",
+ "nat_ip", "nat_mac",)
+
default_attributes = {'display_message': 'Hello World!'}
def __init__(self, *args, **kwargs):
helloworld_services = HelloWorldService.get_service_objects().all();
diff --git a/xos/observers/helloworldservice/steps/sync_helloworldtenant.py b/xos/observers/helloworldservice/steps/sync_helloworldtenant.py
index 538463d..356be36 100644
--- a/xos/observers/helloworldservice/steps/sync_helloworldtenant.py
+++ b/xos/observers/helloworldservice/steps/sync_helloworldtenant.py
@@ -28,8 +28,5 @@
def get_extra_attributes(self, o):
return {"display_message": o.display_message}
- def run_playbook(self, o, fields):
- super(SyncHelloWorldServiceTenant, self).run_playbook(o, fields)
-
def delete_record(self, m):
return