2 * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.openflowplugin.api.openflow.role;
11 import javax.annotation.Nonnull;
12 import org.opendaylight.openflowplugin.api.openflow.OFPManager;
13 import org.opendaylight.openflowplugin.api.openflow.device.DeviceContext;
16 * Manages creation and termination of role contexts.
17 * @see org.opendaylight.openflowplugin.api.openflow.role.RoleContext
19 public interface RoleManager extends OFPManager {
21 * Create role context.
23 * @param deviceContext the device context
24 * @return the role context
26 RoleContext createContext(@Nonnull DeviceContext deviceContext);