Showing 19 of 19 total issues
File controller_exceptions.py
has 277 lines of code (exceeds 250 allowed). Consider refactoring. Open
# Copyright (c) 2016 Intracom S.A. Telecom Solutions. All rights reserved.## This program and the accompanying materials are made available under the# terms of the Eclipse Public License v1.0 which accompanies this distribution,# and is available at http://www.eclipse.org/legal/epl-v10.html
Similar blocks of code found in 4 locations. Consider refactoring. Open
class CtrlError(Exception): """ Contains the exception handling concerning the Controller class functionalities. """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlNodeConnectionError(CtrlError): """ Contains the exception handling concerning the Controller connectivity. """ def __init__(self, additional_error_info='', err_code=1):
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class ODLFlowModConfError(CtrlError): """ Contains the exception handling concerning the Opendaylight Controller flow modification functionality """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class ODLDisablePersistenceError(CtrlError): """ Contains the exception handling concerning the Opendaylight Controller changing persistence functionality """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlStatusUnknownError(CtrlError): """ Contains the exception handling unknown errors on the Controller """ def __init__(self, additional_error_info='', err_code=1):
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class ODLGetOperHostsError(CtrlError): """ Contains the exception handling concerning the returned hosts from Opendaylight Controller datastore """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class ODLChangeStats(CtrlError): """ Contains the exception handling concerning the Opendaylight Controller changing statistics period functionality """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlCleanupError(CtrlError): """ Contains the exception handling concerning the Controller cleaning functionality. """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlGetError(CtrlError): """ Contains the exception handling concerning the Controller Get functionality. """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class ODLXMLError(CtrlError): """ Contains the exception handling concerning the Opendaylight Controller XML generation """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class ODLGetOperSwitchesError(CtrlError): """ Contains the exception handling concerning the returned switches from Opendaylight Controller datastore """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlStopError(CtrlError): """ Contains the exception handling concerning the Controller stopping functionality. """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class ODLGetOperFlowsError(CtrlError): """ Contains the exception handling concerning the returned flows from Opendaylight Controller datastore """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class ODLGetOperLinksError(CtrlError): """ Contains the exception handling concerning the returned links from Opendaylight Controller datastore """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlBuildError(CtrlError): """ Contains the exception handling concerning the Controller building functionality. """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlStartError(CtrlError): """ Contains the exception handling concerning the Controller starting functionality. """
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlReadyStateError(CtrlError): """ Contains the exception handling concerning the controller readyness """ def __init__(self, additional_error_info='', err_code=1):
- Read upRead up
Similar blocks of code found in 40 locations. Consider refactoring. Open
class CtrlPortConflictError(CtrlError): """ Contains the exception handling concerning errors in the Southbound port of the controller """
- Read upRead up