2 * Copyright (c) 2015 Huawei Technologies 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.groupbasedpolicy.api;
12 import javax.annotation.Nullable;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.endpoint.rev140421.RegisterEndpointInput;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.endpoint.rev140421.RegisterL3PrefixEndpointInput;
16 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.endpoint.rev140421.endpoints.Endpoint;
17 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.endpoint.rev140421.endpoints.EndpointL3;
18 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.endpoint.rev140421.endpoints.EndpointL3Prefix;
19 import org.opendaylight.yangtools.yang.binding.Augmentation;
21 public interface EpRendererAugmentation {
24 * Creates pair of Endpoint augmentation, specific for renderer and augmentation type (class
27 * @param input input data for Endpoint creation
28 * @return pair of augmentation type and augmentation
30 @Nullable Map.Entry<Class<? extends Augmentation<Endpoint>>, Augmentation<Endpoint>> buildEndpointAugmentation(
31 RegisterEndpointInput input);
34 * Creates pair of EndpointL3 augmentation, specific for renderer and augmentation type (class
37 * @param input input data for EndpointL3 creation
38 * @return pair of augmentation type and augmentation
40 @Nullable Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation(
41 RegisterEndpointInput input);
44 * Creates pair of EndpointL3Prefix augmentation, specific for renderer and augmentation type (class
47 * @param input input data for EndpointL3Prefix creation
48 * @return pair of augmentation type and augmentation
50 @Nullable Map.Entry<Class<? extends Augmentation<EndpointL3Prefix>>, Augmentation<EndpointL3Prefix>> buildL3PrefixEndpointAugmentation(
51 RegisterL3PrefixEndpointInput input);