deb-cinder/cinder/zonemanager/fc_common.py
Walter A. Boring IV 65e1031c6a Add versioning output for the FC Zone Manager
This patch adds log output of the version
information for the Fibre Channel Zone Manager
and it's drivers during volume manager start up.

Change-Id: I7de5159782315f528a25ffdf69a59caebcc46ee7
Closes-Bug: #1284362
2014-02-27 22:32:10 +00:00

30 lines
902 B
Python

# (c) Copyright 2014 Brocade Communications Systems Inc.
# All Rights Reserved.
#
# Copyright 2014 OpenStack Foundation
#
# Licensed 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.
#
class FCCommon(object):
"""Common interface for FC operations."""
VERSION = "1.0"
def __init__(self, **kwargs):
pass
def get_version(self):
return self.VERSION