use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.yanglib.impl.rev141210.YanglibConfigBuilder in project netconf by opendaylight.
the class YangLibProviderTest method setUp.
@Before
public void setUp() {
try {
if (CACHE_DIR.exists()) {
FileUtils.cleanDirectory(CACHE_DIR);
}
} catch (IOException e) {
// Ignore
}
final YanglibConfig yanglibConfig = new YanglibConfigBuilder().setBindingAddr("www.fake.com").setBindingPort(Uint32.valueOf(300)).setCacheFolder(CACHE_DIR.getAbsolutePath()).build();
yangLibProvider = new YangLibProvider(yanglibConfig, dataBroker, new DefaultYangParserFactory());
}
Aggregations