Presto NRP migrated to new TAPI-based model. Common infrastructure refactored to...
[unimgr.git] / impl / src / main / java / org / opendaylight / unimgr / mef / nrp / api / Subrequrest.java
1 /*
2  * Copyright (c) 2017 Cisco 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
9 package org.opendaylight.unimgr.mef.nrp.api;
10
11 import org.opendaylight.yang.gen.v1.urn.mef.yang.tapicommon.rev170227.UniversalId;
12
13 import java.util.List;
14
15 /**
16  * @author bartosz.michalik@amartus.com
17  */
18 public class Subrequrest {
19     final UniversalId nodeUuid;
20     final List<EndPoint> endpoints;
21
22     public Subrequrest(UniversalId nodeUuid, List<EndPoint> endpoints) {
23         this.nodeUuid = nodeUuid;
24         this.endpoints = endpoints;
25     }
26
27     public UniversalId getNodeUuid() {
28         return nodeUuid;
29     }
30
31     public List<EndPoint> getEndpoints() {
32         return endpoints;
33     }
34 }