3fcbd0fa38491d585ad31af043d79ed02fcf7b15
[unimgr.git] / impl / src / main / java / org / opendaylight / vcpe / api / IVcpeConsoleProvider.java
1 /*
2  * Copyright (c) 2015 CableLabs 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.vcpe.api;
9
10 import java.util.List;
11
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vcpe.rev150622.evcs.Evc;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vcpe.rev150622.unis.Uni;
14
15 public interface IVcpeConsoleProvider extends AutoCloseable {
16
17     public boolean addUni(Uni uni);
18
19     public boolean removeUni(String uuid);
20
21     public List<Uni> listUnis(boolean isConfigurationDatastore);
22
23     public Uni getUni(String uuid);
24
25     public boolean removeEvc(String uuid);
26
27     public boolean addEvc(Evc evc);
28
29     public Evc getEvc(String uuid);
30 }