Introduced DomainSpecificRegistry service
[groupbasedpolicy.git] / groupbasedpolicy / src / main / java / org / opendaylight / groupbasedpolicy / api / EpRendererAugmentation.java
1 /*
2  * Copyright (c) 2015 Huawei Technologies 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.groupbasedpolicy.api;
9
10 import java.util.Map;
11
12 import javax.annotation.Nullable;
13
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;
20
21 @Deprecated
22 public interface EpRendererAugmentation {
23
24     /**
25      * Creates pair of Endpoint augmentation, specific for renderer and augmentation type (class
26      * name).
27      *
28      * @param input input data for Endpoint creation
29      * @return pair of augmentation type and augmentation
30      */
31     @Nullable Map.Entry<Class<? extends Augmentation<Endpoint>>, Augmentation<Endpoint>> buildEndpointAugmentation(
32             RegisterEndpointInput input);
33
34     /**
35      * Creates pair of EndpointL3 augmentation, specific for renderer and augmentation type (class
36      * name).
37      *
38      * @param input input data for EndpointL3 creation
39      * @return pair of augmentation type and augmentation
40      */
41     @Nullable Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation(
42             RegisterEndpointInput input);
43
44     /**
45      * Creates pair of EndpointL3Prefix augmentation, specific for renderer and augmentation type (class
46      * name).
47      *
48      * @param input input data for EndpointL3Prefix creation
49      * @return pair of augmentation type and augmentation
50      */
51     @Nullable Map.Entry<Class<? extends Augmentation<EndpointL3Prefix>>, Augmentation<EndpointL3Prefix>> buildL3PrefixEndpointAugmentation(
52             RegisterL3PrefixEndpointInput input);
53 }