Power control support for 87.5GHz spectrum width
[transportpce.git] / common / src / test / java / org / opendaylight / transportpce / common / fixedflex / GridUtilsTest.java
index 261f46200380b6155fbad567d5c1353d82b0546c..831a67c6509e8a623729accf55a77e8779fc9a1d 100644 (file)
@@ -130,7 +130,7 @@ public class GridUtilsTest {
                         .FrequencyTHz(BigDecimal.valueOf(196.125)))
                 .setMinFreq(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019
                         .FrequencyTHz(BigDecimal.valueOf(196.075)))
-                .setWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019
+                .setNmcWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019
                         .FrequencyGHz(GridConstant.WIDTH_40))
                 .build();
         SpectrumInformation spectrumInformation = GridUtils.initSpectrumInformationFromServicePathInput(input);
@@ -156,7 +156,7 @@ public class GridUtilsTest {
                         .FrequencyTHz(BigDecimal.valueOf(196.125)))
                 .setMinFreq(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019
                         .FrequencyTHz(BigDecimal.valueOf(196.075)))
-                .setWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019
+                .setNmcWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019
                         .FrequencyGHz(GridConstant.WIDTH_40))
                 .build();
         SpectrumInformation spectrumInformation = GridUtils.initSpectrumInformationFromServicePathInput(input);
@@ -178,7 +178,7 @@ public class GridUtilsTest {
                 .setWaveNumber(Uint32.valueOf(1))
                 .setHigherSpectralSlotNumber(Uint32.valueOf(768))
                 .setLowerSpectralSlotNumber(Uint32.valueOf(761))
-                .setWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019
+                .setNmcWidth(new org.opendaylight.yang.gen.v1.http.org.openroadm.common.types.rev181019
                         .FrequencyGHz(GridConstant.WIDTH_40))
                 .build();
         SpectrumInformation spectrumInformation = GridUtils.initSpectrumInformationFromServicePathInput(input);