mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-11-03 01:31:21 +01:00
Bug fix for unit test with yang-tools-2.2b2
Change-Id: If52e3e3460665a1bfc4b26ec641b07592077735b
This commit is contained in:
parent
29718e6904
commit
57c4ff7c09
@ -119,14 +119,13 @@ public class MseaUniEvcServiceManager extends AbstractYangServiceImpl
|
||||
|
||||
ArrayList anis = new ArrayList<AnnotatedNodeInfo>();
|
||||
for (BwpGroup bwpGrp:mseaUniEvcService.mefServices().profiles().bwpGroup()) {
|
||||
String bwpGroupIndex = String.valueOf(bwpGrp.groupIndex());
|
||||
|
||||
ResourceId.Builder ridBuilder = ResourceId.builder()
|
||||
.addBranchPointSchema("/", null)
|
||||
.addBranchPointSchema("mef-services", MSEA_UNI_EVC_SVC_NS)
|
||||
.addBranchPointSchema("profiles", MSEA_UNI_EVC_SVC_NS)
|
||||
.addBranchPointSchema("bwp-group", MSEA_UNI_EVC_SVC_NS)
|
||||
.addKeyLeaf("group-index", MSEA_UNI_EVC_SVC_NS, bwpGroupIndex);
|
||||
.addKeyLeaf("group-index", MSEA_UNI_EVC_SVC_NS, bwpGrp.groupIndex());
|
||||
|
||||
AnnotatedNodeInfo ani = DefaultAnnotatedNodeInfo.builder()
|
||||
.resourceId(ridBuilder.build())
|
||||
|
||||
@ -19,7 +19,6 @@ import java.util.HashSet;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.onosproject.core.DefaultApplicationId;
|
||||
import org.onosproject.drivers.microsemi.yang.MockMseaUniEvcServiceManager;
|
||||
@ -93,7 +92,6 @@ public class EA1000MeterProviderTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("fixme: failing with onos-yang-tools-2.2.0-b1")
|
||||
public void testPerformMeterOperationDeviceIdMeterRemove() {
|
||||
DeviceId mockDeviceId = DeviceId.deviceId("netconf:1.2.3.4:830");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user