2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.protocol.bgp.mode.impl.base;
10 import org.opendaylight.protocol.bgp.mode.api.PathSelectionMode;
11 import org.opendaylight.protocol.bgp.mode.api.RouteEntry;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.Tables;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.tables.Routes;
14 import org.opendaylight.yangtools.yang.binding.ChildOf;
15 import org.opendaylight.yangtools.yang.binding.ChoiceIn;
16 import org.opendaylight.yangtools.yang.binding.DataObject;
18 final class BasePathSelection implements PathSelectionMode {
23 public <C extends Routes & DataObject & ChoiceIn<Tables>, S extends ChildOf<? super C>>
24 RouteEntry<C, S> createRouteEntry() {
25 return new BaseRouteEntry<>();