2 * Copyright (c) 2014 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
8 package org.opendaylight.controller.md.compatibility.switchmanager;
10 import java.util.List;
12 import org.opendaylight.controller.sal.utils.Status;
13 import org.opendaylight.controller.switchmanager.ISwitchManager;
14 import org.opendaylight.controller.switchmanager.SpanConfig;
15 import org.opendaylight.controller.switchmanager.SubnetConfig;
16 import org.opendaylight.controller.switchmanager.SwitchConfig;
19 * These methods should be backed by config subsystem.
21 public abstract class ConfigurableSwitchManager implements ISwitchManager {
23 public Status saveSwitchConfig() {
24 throw new UnsupportedOperationException("TODO: auto-generated method stub");
28 public Status removeSpanConfig(final SpanConfig cfgObject) {
29 throw new UnsupportedOperationException("TODO: auto-generated method stub");
33 public Status addSubnet(final SubnetConfig configObject) {
34 throw new UnsupportedOperationException("TODO: auto-generated method stub");
38 public final Status addSpanConfig(final SpanConfig configObject) {
39 throw new UnsupportedOperationException("TODO: auto-generated method stub");
43 public final List<SpanConfig> getSpanConfigList() {
44 throw new UnsupportedOperationException("TODO: auto-generated method stub");
48 public final void updateSwitchConfig(final SwitchConfig cfgObject) {
49 throw new UnsupportedOperationException("TODO: auto-generated method stub");
53 public final Status updateNodeConfig(final SwitchConfig switchConfig) {
54 throw new UnsupportedOperationException("TODO: auto-generated method stub");
58 public final SubnetConfig getSubnetConfig(final String subnet) {
59 throw new UnsupportedOperationException("TODO: auto-generated method stub");
63 public final Status removeNodeConfig(final String nodeId) {
64 throw new UnsupportedOperationException("TODO: auto-generated method stub");
68 public final Status removeSubnet(final SubnetConfig configObject) {
69 throw new UnsupportedOperationException("TODO: auto-generated method stub");
73 public final List<SubnetConfig> getSubnetsConfigList() {
74 throw new UnsupportedOperationException("TODO: auto-generated method stub");
78 public final SwitchConfig getSwitchConfig(final String nodeId) {
79 throw new UnsupportedOperationException("TODO: auto-generated method stub");
83 public Status modifySubnet(final SubnetConfig configObject) {
84 throw new UnsupportedOperationException("TODO: auto-generated method stub");