use the new volt field of the vCPE
diff --git a/xos/observers/vcpe/steps/sync_vcpetenant.py b/xos/observers/vcpe/steps/sync_vcpetenant.py
index 1e2610e..4bfef74 100644
--- a/xos/observers/vcpe/steps/sync_vcpetenant.py
+++ b/xos/observers/vcpe/steps/sync_vcpetenant.py
@@ -68,8 +68,9 @@
for prefix in CDNPrefix.objects.all():
cdn_prefixes.append(prefix.prefix)
- volts = [x for x in VOLTTenant.get_tenant_objects() if (x.vcpe is not None) and (x.vcpe.id==o.id)]
- vlan_ids = [x.vlan_id for x in volts]
+ vlan_ids = []
+ if o.volt:
+ vlan_ids.append(o.volt.vlan_id)
bbs_addrs = []
bbs_slices = Slice.objects.filter(name="mysite_bbs")