@Test public void testBuildReadPath() throws Exception { final InstanceIdentifier<SxpEpMapper> readPath = dao.buildReadPath(KEY_1); Assert.assertEquals(SXP_MAPPER_PATH, readPath); }
protected InstanceIdentifier<SxpEpMapper> buildReadPath(final IpPrefix key) { return EPTemplateListener.SXP_MAPPER_TEMPLATE_PARENT_PATH; }
EPForwardingTemplateDaoImpl implements DSAsyncDao<IpPrefix, EndpointForwardingTemplateBySubnet> { protected InstanceIdentifier<SxpEpMapper> buildReadPath(final IpPrefix key) { return EPTemplateListener.SXP_MAPPER_TEMPLATE_PARENT_PATH; } }
EPForwardingTemplateDaoImpl implements DSAsyncDao<IpPrefix, EndpointForwardingTemplateBySubnet> { protected InstanceIdentifier<SxpEpMapper> buildReadPath(final IpPrefix key) { return EPTemplateListener.SXP_MAPPER_TEMPLATE_PARENT_PATH; } EPForwardingTemplateDaoImpl(final DataBroker dataBroker,
                                       final SimpleCachedDao<IpPrefix, EndpointForwardingTemplateBySubnet> cachedDao); }
EPForwardingTemplateDaoImpl implements DSAsyncDao<IpPrefix, EndpointForwardingTemplateBySubnet> { protected InstanceIdentifier<SxpEpMapper> buildReadPath(final IpPrefix key) { return EPTemplateListener.SXP_MAPPER_TEMPLATE_PARENT_PATH; } EPForwardingTemplateDaoImpl(final DataBroker dataBroker,
                                       final SimpleCachedDao<IpPrefix, EndpointForwardingTemplateBySubnet> cachedDao); @Override ListenableFuture<Optional<EndpointForwardingTemplateBySubnet>> read(@Nonnull final IpPrefix key); }
EPForwardingTemplateDaoImpl implements DSAsyncDao<IpPrefix, EndpointForwardingTemplateBySubnet> { protected InstanceIdentifier<SxpEpMapper> buildReadPath(final IpPrefix key) { return EPTemplateListener.SXP_MAPPER_TEMPLATE_PARENT_PATH; } EPForwardingTemplateDaoImpl(final DataBroker dataBroker,
                                       final SimpleCachedDao<IpPrefix, EndpointForwardingTemplateBySubnet> cachedDao); @Override ListenableFuture<Optional<EndpointForwardingTemplateBySubnet>> read(@Nonnull final IpPrefix key);  }