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 org.opendaylight.controller.switchmanager.ISwitchManager
11 import org.opendaylight.controller.switchmanager.SpanConfig
12 import org.opendaylight.controller.switchmanager.SwitchConfig
13 import org.opendaylight.controller.switchmanager.SubnetConfig
17 * THis methods should be backed by config subsystem.
20 abstract class ConfigurableSwitchManager implements ISwitchManager {
22 override saveSwitchConfig() {
23 throw new UnsupportedOperationException("TODO: auto-generated method stub")
26 override removeSpanConfig(SpanConfig cfgObject) {
27 throw new UnsupportedOperationException("TODO: auto-generated method stub")
30 override addSubnet(SubnetConfig configObject) {
31 throw new UnsupportedOperationException("TODO: auto-generated method stub")
35 final override addSpanConfig(SpanConfig configObject) {
36 throw new UnsupportedOperationException("TODO: auto-generated method stub")
40 final override getSpanConfigList() {
41 throw new UnsupportedOperationException("TODO: auto-generated method stub")
45 final override updateSwitchConfig(SwitchConfig cfgObject) {
46 throw new UnsupportedOperationException("TODO: auto-generated method stub")
50 final override updateNodeConfig(SwitchConfig switchConfig) {
51 throw new UnsupportedOperationException("TODO: auto-generated method stub")
55 final override getSubnetConfig(String subnet) {
56 throw new UnsupportedOperationException("TODO: auto-generated method stub")
59 final override removeNodeConfig(String nodeId) {
60 throw new UnsupportedOperationException("TODO: auto-generated method stub")
63 final override removeSubnet(SubnetConfig configObject) {
64 throw new UnsupportedOperationException("TODO: auto-generated method stub")
67 final override getSubnetsConfigList() {
68 throw new UnsupportedOperationException("TODO: auto-generated method stub")
71 final override getSwitchConfig(String nodeId) {
72 throw new UnsupportedOperationException("TODO: auto-generated method stub")
75 override modifySubnet(SubnetConfig configObject) {
76 throw new UnsupportedOperationException("TODO: auto-generated method stub")