use of org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.LoggingBuilder in project netvirt by opendaylight.
the class BgpConfigurationManager method addLogging.
public void addLogging(String fileName, String logLevel) {
InstanceIdentifier.InstanceIdentifierBuilder<Logging> iib = InstanceIdentifier.builder(Bgp.class).child(Logging.class);
InstanceIdentifier<Logging> iid = iib.build();
Logging dto = new LoggingBuilder().setFile(fileName).setLevel(logLevel).build();
update(iid, dto);
}
Aggregations