Expose full_setup as config option
diff --git a/xos/observers/vcpe/steps/sync_vcpetenant.py b/xos/observers/vcpe/steps/sync_vcpetenant.py
index 753d2e0..ecc7b7c 100644
--- a/xos/observers/vcpe/steps/sync_vcpetenant.py
+++ b/xos/observers/vcpe/steps/sync_vcpetenant.py
@@ -116,8 +116,10 @@
if o.volt:
vlan_ids.append(o.volt.vlan_id)
- # Probably should expose this in a config file
- full_setup = True
+ try:
+ full_setup = Config().observer_full_setup
+ except:
+ full_setup = True
fields = {"vlan_ids": vlan_ids,
"dnsdemux_ip": dnsdemux_ip,
@@ -207,4 +209,3 @@
def delete_record(self, m):
pass
-
diff --git a/xos/observers/vcpe/vcpe_observer_config b/xos/observers/vcpe/vcpe_observer_config
index fe1efe0..afd1501 100644
--- a/xos/observers/vcpe/vcpe_observer_config
+++ b/xos/observers/vcpe/vcpe_observer_config
@@ -34,6 +34,7 @@
backoff_disabled=True
save_ansible_output=True
proxy_ssh=True
+full_setup=True
[feefie]
client_id='vicci_dev_central'