Do not use BindingReflections in AbstractRIBSupport
[bgpcep.git] / bgp / extensions / flowspec / src / main / java / org / opendaylight / protocol / bgp / flowspec / l3vpn / ipv6 / FlowspecL3vpnIpv6RIBSupport.java
1 /*
2  * Copyright (c) 2016 Brocade Communications Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.protocol.bgp.flowspec.l3vpn.ipv6;
9
10 import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer;
11 import org.opendaylight.protocol.bgp.flowspec.FlowspecTypeRegistries.SAFI;
12 import org.opendaylight.protocol.bgp.flowspec.l3vpn.AbstractFlowspecL3vpnRIBSupport;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.bgp.rib.rib.loc.rib.tables.routes.FlowspecL3vpnIpv6RoutesCase;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.flowspec.l3vpn.destination.ipv6.DestinationFlowspecL3vpnIpv6;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.flowspec.l3vpn.ipv6.route.FlowspecL3vpnRoute;
16 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.flowspec.l3vpn.ipv6.routes.FlowspecL3vpnIpv6Routes;
17 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.Ipv6AddressFamily;
18
19 public final class FlowspecL3vpnIpv6RIBSupport
20         extends AbstractFlowspecL3vpnRIBSupport<FlowspecL3vpnIpv6NlriParser,
21         FlowspecL3vpnIpv6RoutesCase,
22         FlowspecL3vpnIpv6Routes,
23         FlowspecL3vpnRoute> {
24     public FlowspecL3vpnIpv6RIBSupport(final BindingNormalizedNodeSerializer mappingService) {
25         super(mappingService,
26             FlowspecL3vpnIpv6RoutesCase.class, FlowspecL3vpnIpv6RoutesCase.QNAME,
27             FlowspecL3vpnIpv6Routes.class, FlowspecL3vpnIpv6Routes.QNAME,
28             FlowspecL3vpnRoute.class, FlowspecL3vpnRoute.QNAME,
29             DestinationFlowspecL3vpnIpv6.QNAME,
30             Ipv6AddressFamily.VALUE, Ipv6AddressFamily.QNAME,
31             new FlowspecL3vpnIpv6NlriParser(SAFI.FLOWSPEC_VPN));
32     }
33 }