2 * Copyright (c) 2015 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.rib.impl;
10 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Ipv4Address;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev130919.ClusterIdentifier;
12 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
15 * Invoked on routes which we get from our reflector peers. This is a special-case of
16 * FromInternalImportPolicy.
18 final class FromReflectorClientImportPolicy extends FromInternalImportPolicy {
19 FromReflectorClientImportPolicy(final Ipv4Address bgpIdentifier, final ClusterIdentifier clusterIdentifier) {
20 super(bgpIdentifier, clusterIdentifier);
24 ContainerNode effectiveAttributes(final ContainerNode attributes) {
25 // TODO: (defensiveness) verify ORIGINATOR_ID (should have been set)
27 return super.effectiveAttributes(attributes);