use of org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebfd.rev190219.BfdConfigBuilder in project netvirt by opendaylight.
the class BgpConfigurationManager method startBfd.
public void startBfd(long detectMult, long minRx, long minTx, boolean multiHop) {
InstanceIdentifier.InstanceIdentifierBuilder<BfdConfig> iib = InstanceIdentifier.builder(BfdConfig.class);
InstanceIdentifier<BfdConfig> iid = iib.build();
BfdConfig dto = new BfdConfigBuilder().setBfdEnabled(true).setMultihop(multiHop).setMinRx(minRx).setMinTx(minTx).setDetectMult(detectMult).build();
update(iid, dto);
}
Aggregations