VOL-2901 Unit tests and necessary updates on stats manager
in the scope of VOL-2796
Change-Id: I95d6fd0241d2c54a5a122d58917c6dc45e5abcf7
diff --git a/api/src/main/java/org/opencord/cordmcast/CordMcastStatistics.java b/api/src/main/java/org/opencord/cordmcast/CordMcastStatistics.java
index 6bdb702..10c05af 100644
--- a/api/src/main/java/org/opencord/cordmcast/CordMcastStatistics.java
+++ b/api/src/main/java/org/opencord/cordmcast/CordMcastStatistics.java
@@ -28,9 +28,11 @@
private String sourceAddress;
//vlan id used in mcast event.
private VlanId vlanId;
+ private VlanId innerVlanId;
- public CordMcastStatistics(IpAddress groupAddress, String sourceAddresss, VlanId vlanId) {
+ public CordMcastStatistics(IpAddress groupAddress, String sourceAddresss, VlanId vlanId, VlanId innerVlanId) {
this.vlanId = vlanId;
+ this.innerVlanId = innerVlanId;
this.sourceAddress = sourceAddresss;
this.groupAddress = groupAddress;
}
@@ -58,4 +60,12 @@
public void setVlanId(VlanId vlanId) {
this.vlanId = vlanId;
}
+
+ public VlanId getInnerVlanId() {
+ return innerVlanId;
+ }
+
+ public void setInnerVlanId(VlanId innerVlanId) {
+ this.innerVlanId = innerVlanId;
+ }
}