Integrate Adara VTR changes
Change-Id: I434677e1e0033404a1860422102b17fee27b9ad8
diff --git a/xos/synchronizer/steps/sync_vtrtenant.py b/xos/synchronizer/steps/sync_vtrtenant.py
index 2b91815..6426d00 100644
--- a/xos/synchronizer/steps/sync_vtrtenant.py
+++ b/xos/synchronizer/steps/sync_vtrtenant.py
@@ -110,9 +110,10 @@
# add in the sync_attributes that come from the vSG object
# this will be wan_ip, wan_mac, wan_container_ip, wan_container_mac, ...
-# if target and target.volt and target.volt.vcpe:
-# for attribute_name in target.volt.vcpe.sync_attributes:
-# fields[attribute_name] = getattr(target.volt.vcpe, attribute_name)
+ if target and target.volt and target.volt.vcpe:
+ for attribute_name in ["wan_vm_ip", "wan_container_ip"]:
+ if hasattr(target.volt.vcpe, attribute_name):
+ fields[attribute_name] = getattr(target.volt.vcpe, attribute_name)
# add in the sync_attributes that come from the SubscriberRoot object
# if target and hasattr(target, "sync_attributes"):