~davewalker/nova/832507_with_emlog

« back to all changes in this revision

Viewing changes to nova/vsa/connection.py

  • Committer: Tarmac
  • Author(s): vladimir.p
  • Date: 2011-08-28 04:38:21 UTC
  • mfrom: (1279.3.49 nova)
  • Revision ID: tarmac-20110828043821-lmq8onpfc82yhpnq
Virtual Storage Array (VSA) feature.
- new Virtual Storage Array (VSA) objects / OS API extensions / APIs / CLIs
- new schedulers for selecting nodes with particular volume capabilities
- new special volume driver
- report volume capabilities
- some fixes for volume types

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vim: tabstop=4 shiftwidth=4 softtabstop=4
 
2
 
 
3
# Copyright (c) 2011 Zadara Storage Inc.
 
4
# Copyright (c) 2011 OpenStack LLC.
 
5
#
 
6
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
 
7
#    not use this file except in compliance with the License. You may obtain
 
8
#    a copy of the License at
 
9
#
 
10
#         http://www.apache.org/licenses/LICENSE-2.0
 
11
#
 
12
#    Unless required by applicable law or agreed to in writing, software
 
13
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 
14
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 
15
#    License for the specific language governing permissions and limitations
 
16
#    under the License.
 
17
 
 
18
"""Abstraction of the underlying connection to VC."""
 
19
 
 
20
from nova.vsa import fake
 
21
 
 
22
 
 
23
def get_connection():
 
24
    # Return an object that is able to talk to VCs
 
25
    return fake.FakeVcConnection()