2 * Copyright (c) 2015 CableLabs 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.unimgr.api;
10 import java.util.List;
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;
17 public interface IUnimgrConsoleProvider extends AutoCloseable {
19 boolean addUni(UniAugmentation uni);
21 boolean removeUni(IpAddress ipAddress);
23 List<UniAugmentation> listUnis(LogicalDatastoreType dataStoreType);
25 UniAugmentation getUni(IpAddress ipAddress);
27 boolean removeEvc(String uuid);
29 boolean addEvc(Evc evc);
31 Evc getEvc(String uuid);