2 * Copyright © 2024 Smartoptics 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
9 package org.opendaylight.transportpce.renderer.provisiondevice.transaction.delete;
11 import java.util.List;
14 * A class capable of deleting service connections/interfaces
15 * may implement this interface.
17 public interface Delete {
20 * Delete cross connection.
21 * Typically, deleted before interfaces.
23 List<String> deleteCrossConnect(String deviceId, String connectionNumber, boolean isOtn);
26 * Delete an interface.
27 * Typically, deleted after the cross connection.
29 boolean deleteInterface(String nodeId, String interfaceId);