use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.labeled.unicast.rev171207.labeled.unicast.routes.list.LabeledUnicastRouteKey in project bgpcep by opendaylight.
the class LabeledUnicastIpv4RIBSupportTest method testRouteIdAddPath.
@Test
public void testRouteIdAddPath() {
final LabeledUnicastRouteKey oldKey = new LabeledUnicastRouteKey(new PathId(100L), ROUTE_KEY.getRouteKey());
Assert.assertEquals(ROUTE_KEY, RIB_SUPPORT.createNewRouteKey(1L, oldKey));
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.labeled.unicast.rev171207.labeled.unicast.routes.list.LabeledUnicastRouteKey in project bgpcep by opendaylight.
the class LabeledUnicastIpv6RIBSupportTest method testRouteIdAddPath.
@Test
public void testRouteIdAddPath() {
final LabeledUnicastRouteKey oldKey = new LabeledUnicastRouteKey(new PathId(100L), ROUTE_KEY.getRouteKey());
Assert.assertEquals(ROUTE_KEY, RIB_SUPPORT.createNewRouteKey(1L, oldKey));
}
Aggregations