SimpleIrdUtils { public static InstanceIdentifier<IrdConfigurationEntry> getConfigEntryListIID(ResourceId instance) { return getInstanceConfigurationIID(instance).child(IrdConfigurationEntry.class); }  static InstanceIdentifier<IrdInstance> getInstanceIID(String rid); static InstanceIdentifier<IrdInstance> getInstanceIID(ResourceId rid); static InstanceIdentifier<IrdInstance> getInstanceListIID(); static InstanceIdentifier<IrdInstanceConfiguration> getInstanceConfigurationIID(ResourceId rid); static InstanceIdentifier<IrdInstanceConfiguration> getInstanceConfigurationListIID(); static InstanceIdentifier<IrdEntry> getEntryIID(ResourceId instance, ResourceId resource); static InstanceIdentifier<IrdEntry> getEntryListIID(ResourceId instance); static InstanceIdentifier<IrdConfigurationEntry> getConfigEntryIID(ResourceId instance,
                                                                                ResourceId resource); static InstanceIdentifier<IrdConfigurationEntry> getConfigEntryListIID(ResourceId instance); static IrdInstance readInstance(ResourceId instanceId, ReadTransaction rx); static void createConfigEntry(String path, ResourceId rid, Uuid cid, final WriteTransaction wx); static void createConfigEntry(String path, ResourceId irdid, ResourceId rid, Uuid cid,
                                         final WriteTransaction wx); static void deleteConfigEntry(ResourceId rid, final WriteTransaction wx); static void deleteConfigEntry(ResourceId irdid, ResourceId rid, final WriteTransaction wx); static final String DEFAULT_IRD_RESOURCE; }
@Test public void getConfigEntryListIID() { IrdInstanceConfigurationKey key = new IrdInstanceConfigurationKey(resourceId); InstanceIdentifier<IrdConfigurationEntry> ice = (InstanceIdentifier.builder(IrdInstanceConfiguration.class, key).build()).child(IrdConfigurationEntry.class); assertEquals(ice, SimpleIrdUtils.getConfigEntryListIID(resourceId)); }