@Test public void sfcIidTest() { SfcName sfcName = new SfcName("sfcName"); InstanceIdentifier<ServiceFunctionChain> identifier = SfcIidFactory.sfcIid(sfcName); Assert.assertFalse(identifier.isWildcarded()); Assert.assertEquals(sfcName, InstanceIdentifier.keyOf(identifier).getName()); }
public static InstanceIdentifier<ServiceFunctionChain> sfcIid(SfcName sfcName) { ServiceFunctionChainKey serviceFunctionChainKey = new ServiceFunctionChainKey(sfcName); return InstanceIdentifier.builder(ServiceFunctionChains.class) .child(ServiceFunctionChain.class, serviceFunctionChainKey) .build(); }
SfcIidFactory { public static InstanceIdentifier<ServiceFunctionChain> sfcIid(SfcName sfcName) { ServiceFunctionChainKey serviceFunctionChainKey = new ServiceFunctionChainKey(sfcName); return InstanceIdentifier.builder(ServiceFunctionChains.class) .child(ServiceFunctionChain.class, serviceFunctionChainKey) .build(); } }
SfcIidFactory { public static InstanceIdentifier<ServiceFunctionChain> sfcIid(SfcName sfcName) { ServiceFunctionChainKey serviceFunctionChainKey = new ServiceFunctionChainKey(sfcName); return InstanceIdentifier.builder(ServiceFunctionChains.class) .child(ServiceFunctionChain.class, serviceFunctionChainKey) .build(); } private  SfcIidFactory(); }
SfcIidFactory { public static InstanceIdentifier<ServiceFunctionChain> sfcIid(SfcName sfcName) { ServiceFunctionChainKey serviceFunctionChainKey = new ServiceFunctionChainKey(sfcName); return InstanceIdentifier.builder(ServiceFunctionChains.class) .child(ServiceFunctionChain.class, serviceFunctionChainKey) .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<ServiceFunctionChain> sfcIid(SfcName sfcName) { ServiceFunctionChainKey serviceFunctionChainKey = new ServiceFunctionChainKey(sfcName); return InstanceIdentifier.builder(ServiceFunctionChains.class) .child(ServiceFunctionChain.class, serviceFunctionChainKey) .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();  }