uni show and list commands
[unimgr.git] / impl / src / main / java / org / opendaylight / unimgr / api / IUnimgrConsoleProvider.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.unimgr.api;
9
10 import java.util.List;
11
12 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpAddress;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.unimgr.rev151012.Evc;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.unimgr.rev151012.UniAugmentation;
16
17 public interface IUnimgrConsoleProvider extends AutoCloseable {
18
19     boolean addUni(UniAugmentation uni);
20
21     boolean removeUni(IpAddress ipAddress);
22
23     List<UniAugmentation> listUnis(LogicalDatastoreType dataStoreType);
24
25     UniAugmentation getUni(IpAddress ipAddress);
26
27     boolean removeEvc(String uuid);
28
29     boolean addEvc(Evc evc);
30
31     Evc getEvc(String uuid);
32 }