use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.inet.rev180329.bgp.rib.rib.loc.rib.tables.routes.Ipv6RoutesCase in project bgpcep by opendaylight.
the class GracefulRestartTest method checkLocRibIpv6Routes.
private void checkLocRibIpv6Routes(final int expectedRoutesOnDS) throws Exception {
readDataOperational(getDataBroker(), IPV6_IID, table -> {
int size = 0;
final Ipv6RoutesCase routesCase = (Ipv6RoutesCase) table.getRoutes();
if (routesCase != null && routesCase.getIpv6Routes() != null && routesCase.getIpv6Routes().getIpv6Route() != null) {
size = routesCase.getIpv6Routes().getIpv6Route().size();
}
assertEquals(expectedRoutesOnDS, size);
return table;
});
}
Aggregations