@Test public void rspIidTest() { RspName rspName = new RspName("rspName"); InstanceIdentifier<RenderedServicePath> identifier = SfcIidFactory.rspIid(rspName); Assert.assertFalse(identifier.isWildcarded()); Assert.assertEquals(rspName, InstanceIdentifier.keyOf(identifier).getName()); }
public static InstanceIdentifier<RenderedServicePath> rspIid(RspName rspName) { RenderedServicePathKey rspKey = new RenderedServicePathKey(rspName); return InstanceIdentifier.builder(RenderedServicePaths.class).child(RenderedServicePath.class, rspKey).build(); }
SfcIidFactory { public static InstanceIdentifier<RenderedServicePath> rspIid(RspName rspName) { RenderedServicePathKey rspKey = new RenderedServicePathKey(rspName); return InstanceIdentifier.builder(RenderedServicePaths.class).child(RenderedServicePath.class, rspKey).build(); } }
SfcIidFactory { public static InstanceIdentifier<RenderedServicePath> rspIid(RspName rspName) { RenderedServicePathKey rspKey = new RenderedServicePathKey(rspName); return InstanceIdentifier.builder(RenderedServicePaths.class).child(RenderedServicePath.class, rspKey).build(); } private  SfcIidFactory(); }
SfcIidFactory { public static InstanceIdentifier<RenderedServicePath> rspIid(RspName rspName) { RenderedServicePathKey rspKey = new RenderedServicePathKey(rspName); return InstanceIdentifier.builder(RenderedServicePaths.class).child(RenderedServicePath.class, rspKey).build(); } private  SfcIidFactory(); static InstanceIdentifier<ServiceFunctionChain> sfcIid(SfcName sfcName); static InstanceIdentifier<ServiceFunctionPath> sfpIid(SfpName sfpName); static InstanceIdentifier<RenderedServicePath> rspIid(RspName rspName); static InstanceIdentifier<SfcOfRendererConfig> sfcOfRendererConfigIid(); }
SfcIidFactory { public static InstanceIdentifier<RenderedServicePath> rspIid(RspName rspName) { RenderedServicePathKey rspKey = new RenderedServicePathKey(rspName); return InstanceIdentifier.builder(RenderedServicePaths.class).child(RenderedServicePath.class, rspKey).build(); } private  SfcIidFactory(); static InstanceIdentifier<ServiceFunctionChain> sfcIid(SfcName sfcName); static InstanceIdentifier<ServiceFunctionPath> sfpIid(SfpName sfpName); static InstanceIdentifier<RenderedServicePath> rspIid(RspName rspName); static InstanceIdentifier<SfcOfRendererConfig> sfcOfRendererConfigIid();  }