@Test public void sfpIidTest() { SfpName sfpName = new SfpName("sfpName"); InstanceIdentifier<ServiceFunctionPath> identifier = SfcIidFactory.sfpIid(sfpName); Assert.assertFalse(identifier.isWildcarded()); Assert.assertEquals(sfpName, InstanceIdentifier.keyOf(identifier).getName()); }
public static InstanceIdentifier<ServiceFunctionPath> sfpIid(SfpName sfpName) { ServiceFunctionPathKey serviceFunctionPathKey = new ServiceFunctionPathKey(sfpName); return InstanceIdentifier.builder(ServiceFunctionPaths.class) .child(ServiceFunctionPath.class, serviceFunctionPathKey) .build(); }
SfcIidFactory { public static InstanceIdentifier<ServiceFunctionPath> sfpIid(SfpName sfpName) { ServiceFunctionPathKey serviceFunctionPathKey = new ServiceFunctionPathKey(sfpName); return InstanceIdentifier.builder(ServiceFunctionPaths.class) .child(ServiceFunctionPath.class, serviceFunctionPathKey) .build(); } }
SfcIidFactory { public static InstanceIdentifier<ServiceFunctionPath> sfpIid(SfpName sfpName) { ServiceFunctionPathKey serviceFunctionPathKey = new ServiceFunctionPathKey(sfpName); return InstanceIdentifier.builder(ServiceFunctionPaths.class) .child(ServiceFunctionPath.class, serviceFunctionPathKey) .build(); } private  SfcIidFactory(); }
SfcIidFactory { public static InstanceIdentifier<ServiceFunctionPath> sfpIid(SfpName sfpName) { ServiceFunctionPathKey serviceFunctionPathKey = new ServiceFunctionPathKey(sfpName); return InstanceIdentifier.builder(ServiceFunctionPaths.class) .child(ServiceFunctionPath.class, serviceFunctionPathKey) .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<ServiceFunctionPath> sfpIid(SfpName sfpName) { ServiceFunctionPathKey serviceFunctionPathKey = new ServiceFunctionPathKey(sfpName); return InstanceIdentifier.builder(ServiceFunctionPaths.class) .child(ServiceFunctionPath.class, serviceFunctionPathKey) .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();  }