2 * Copyright (c) 2016 Cisco Systems, Inc. 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.groupbasedpolicy.renderer.vpp.api;
11 import javax.annotation.Nonnull;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.VxlanVni;
14 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
16 import com.google.common.util.concurrent.ListenableFuture;
19 * Bridge domain manager interface.
21 public interface BridgeDomainManager {
24 * Creates a bridge domain on VPP node and it also adds tunnels of the bridge domain to VXLAN
27 * @param bridgeDomainName name of bridge domain
28 * @param vni VXLAN VNI used in full mesh topology for the given bridge domain
29 * @param vppNode VPP node where the bridge domain should be created
30 * @return {@link ListenableFuture}
32 ListenableFuture<Void> createVxlanBridgeDomainOnVppNode(@Nonnull String bridgeDomainName, @Nonnull VxlanVni vni,
36 * Removes a bridge domain from VPP node and it also removes tunnels of the bridge domain from
37 * VXLAN full mesh topology
39 * @param bridgeDomainName name of bridge domain
40 * @param vppNode VPP node where the bridge domain should be removed from
41 * @return {@link ListenableFuture}
43 ListenableFuture<Void> removeBridgeDomainFromVppNode(@Nonnull String bridgeDomainName, NodeId vppNode);