2 * Copyright (c) 2016 Hewlett Packard Enterprise, Co. 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.netvirt.elanmanager.api;
10 import java.util.List;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.etree.rev160614.EtreeInterface;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.etree.rev160614.EtreeInterface.EtreeInterfaceType;
14 public interface IEtreeService {
16 void deleteEtreeInterface(String elanInstanceName, String interfaceName);
18 boolean deleteEtreeInstance(String elanInstanceName);
20 void addEtreeInterface(String elanInstanceName, String interfaceName, EtreeInterfaceType interfaceType,
21 List<String> staticMacAddresses, String description);
23 boolean createEtreeInstance(String elanInstanceName, long macTimeout, String description);
25 EtreeInterface getEtreeInterfaceByElanInterfaceName(String elanInterface);