adding upsteam/downstream fields to subscriber in bbsim-master
Change-Id: Ia999660761ebc5ee496ddc7baea387b365e195a9
diff --git a/src/test/cord-api/Tests/BBSim/bbsim_utils.py b/src/test/cord-api/Tests/BBSim/bbsim_utils.py
index 2e7f4b5..0c68e5d 100644
--- a/src/test/cord-api/Tests/BBSim/bbsim_utils.py
+++ b/src/test/cord-api/Tests/BBSim/bbsim_utils.py
@@ -32,7 +32,9 @@
"onu_device" : "BBSM" + str("00000") + str(pon_id) + '{0:02x}'.format(int(index)-1),
"circuit_id" : "circuit" + '{0:02x}'.format(int(index)-1),
"remote_id" : "remote" + '{0:02x}'.format(int(index)-1),
- "nas_port_id" : "PON 2/1/01/1:1.1." + '{0:0x}'.format(int(index)-1)
+ "nas_port_id" : "PON 2/1/01/1:1.1." + '{0:0x}'.format(int(index)-1),
+ "upstream_bps_id" : 1,
+ "downstream_bps_id" : 1
}
subscribers.append(sub)
if index == 10:
@@ -46,7 +48,9 @@
"onu_device" : "BBSM" + str("00000") + str(pon_id) + '{0:02x}'.format(int(index)-1),
"circuit_id" : "circuit" + '{0:02x}'.format(int(index)-1),
"remote_id" : "remote" + '{0:02x}'.format(int(index)-1),
- "nas_port_id" : "PON 2/1/01/1:1.1." + str(pon_id) + '{0:02x}'.format(int(index)-1)
+ "nas_port_id" : "PON 2/1/01/1:1.1." + str(pon_id) + '{0:02x}'.format(int(index)-1),
+ "upstream_bps_id" : 1,
+ "downstream_bps_id" : 1
}
subscribers.append(sub)
return subscribers