Repository: libcloud Updated Branches: refs/heads/trunk 82df6e961 -> bdccdb03e
remove CiscoCCS driver Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/bdccdb03 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/bdccdb03 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/bdccdb03 Branch: refs/heads/trunk Commit: bdccdb03e8b36ad4eefbca7601952bc7757e838a Parents: 82df6e9 Author: Anthony Shaw <anthonys...@apache.org> Authored: Sun Oct 9 20:41:52 2016 +1100 Committer: Anthony Shaw <anthonys...@apache.org> Committed: Sun Oct 9 20:41:52 2016 +1100 ---------------------------------------------------------------------- libcloud/compute/drivers/ciscoccs.py | 56 ------------------------------- libcloud/compute/providers.py | 2 -- 2 files changed, 58 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/bdccdb03/libcloud/compute/drivers/ciscoccs.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/ciscoccs.py b/libcloud/compute/drivers/ciscoccs.py deleted file mode 100644 index adc21f1..0000000 --- a/libcloud/compute/drivers/ciscoccs.py +++ /dev/null @@ -1,56 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -""" -Cisco CCS Driver -""" - -from libcloud.compute.providers import Provider -from libcloud.common.dimensiondata import (DimensionDataConnection, - API_ENDPOINTS) -from libcloud.compute.drivers.dimensiondata import DimensionDataNodeDriver - -DEFAULT_REGION = 'cisco-na' - - -class CiscoCCSNodeDriver(DimensionDataNodeDriver): - """ - Cisco CCS node driver, based on Dimension Data driver - """ - - selected_region = None - connectionCls = DimensionDataConnection - name = 'CiscoCCS' - website = 'http://www.cisco.com/' - type = Provider.CISCOCCS - features = {'create_node': ['password']} - api_version = 1.0 - - def __init__(self, key, secret=None, secure=True, host=None, port=None, - api_version=None, region=DEFAULT_REGION, **kwargs): - - if region not in API_ENDPOINTS: - raise ValueError('Invalid region: %s' % (region)) - - self.selected_region = API_ENDPOINTS[region] - - super(CiscoCCSNodeDriver, self).__init__( - key=key, - secret=secret, - secure=secure, - host=host, - port=port, - api_version=api_version, - region=region, - **kwargs) http://git-wip-us.apache.org/repos/asf/libcloud/blob/bdccdb03/libcloud/compute/providers.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/providers.py b/libcloud/compute/providers.py index 459335e..b6ce56c 100644 --- a/libcloud/compute/providers.py +++ b/libcloud/compute/providers.py @@ -135,8 +135,6 @@ DRIVERS = { ('libcloud.compute.drivers.medone', 'MedOneNodeDriver'), Provider.BSNL: ('libcloud.compute.drivers.bsnl', 'BSNLNodeDriver'), - Provider.CISCOCCS: - ('libcloud.compute.drivers.ciscoccs', 'CiscoCCSNodeDriver'), Provider.NTTA: ('libcloud.compute.drivers.ntta', 'NTTAmericaNodeDriver'), Provider.ALIYUN_ECS: