Reading s_tag from the subscriber
Change-Id: Id0be35c520dfa0316885d84f7089ef045e58dc70
diff --git a/xos/synchronizer/steps/sync_olt_device.py b/xos/synchronizer/steps/sync_olt_device.py
index 5eeeafd..056a62c 100644
--- a/xos/synchronizer/steps/sync_olt_device.py
+++ b/xos/synchronizer/steps/sync_olt_device.py
@@ -131,13 +131,6 @@
onos_voltha = Helpers.get_onos_voltha_info(model.volt_service)
onos_voltha_basic_auth = HTTPBasicAuth(onos_voltha['user'], onos_voltha['pass'])
- try:
- # NOTE For now, we assume that each OLT has only one pon port
- vlan = model.pon_ports.all()[0].s_tag
- except Exception as e:
- raise DeferredException("Waiting for pon_ports to come up")
-
-
# Add device info to onos-voltha
data = {
"devices": {
@@ -147,7 +140,7 @@
},
"accessDevice": {
"uplink": model.uplink,
- "vlan": vlan
+ "vlan": 1
}
}
}