merge trunk
skeleton for cli unit tests
lp Bug#824145 : Adding a setup script for quantum.
Merge from Rohit's branch.
- added network and port models into the l2network plugin instead of using quantum models
- added api methods for network and ports
- restructured code to use the l2network network and port
- added l2network base class for other tables to inherit
- added support for l2network plugin model objects to behave like dictionary (gets rid of code to convert objects into dictionaries)
- added foreign key constraints to l2network plugin model attributes representing columns
- added attributes to represent relation between models in l2network plugin
- added joinedload only to network and port (need to to for others)
- added InnoDB as the storage medium in base table for imposing foreign keys
- updated l2network test cases to handle foreign key constraints
Merging quantum extenions framework into trunk. Thanks rajaram vinkesh, deepak & santhosh for the great work!


added:
  extensions/
  extensions/__init__.py
  quantum/common/extensions.py
  tests/unit/extension_stubs.py
  tests/unit/extensions/
  tests/unit/extensions/__init__.py
  tests/unit/extensions/foxinsocks.py
  tests/unit/test_extensions.py
modified:
  README
  etc/quantum.conf
  etc/quantum.conf.sample
  etc/quantum.conf.test
  quantum/api/__init__.py
  quantum/common/flags.py
  quantum/common/utils.py
  quantum/common/wsgi.py
  quantum/db/api.py
  quantum/db/models.py
  quantum/manager.py
  quantum/plugins/SamplePlugin.py
  tests/__init__.py
  tests/unit/test_api.py
  tools/pip-requires
pending merges:
  Deepak N 2011-08-10 [merge] Merged quantum trunk
    vinkesh banka 2011-08-09 Rajaram/Vinkesh | Added examples of scoping extension alias in request and action extension
    vinkesh banka 2011-08-05 Deepak/Vinkesh | Fixed show action in extension controller to return 404, added example to include namespace in a request extension
    vinkesh banka 2011-08-05 [merge] Merged quantum trunk
    Santhosh Kumar 2011-08-05 Santhosh/Vinkesh | Added extension_stubs file
    vinkesh banka 2011-08-02 Vinkesh | Changed import orders according to pep8 recommendations
    Santhosh Kumar 2011-08-01 Vinkesh/Santhosh | Moved the stub classes in test_extensions to a separate file extension_stubs
    Santhosh Kumar 2011-08-01 [merge] Merged from trunk
    Santhosh Kumar 2011-07-27 Vinkesh/Santhosh | Removed loading extensions from 'contrib' and fixed an indentation bug while loading extensions
    Rajaram Mallya 2011-07-26 Santhosh/Rajaram|modified extensions section in README
    Rajaram Mallya 2011-07-26 Rajaram/Santhosh | Added logging to the PluginAwareExtensionManager failures
    Rajaram Mallya 2011-07-26 Rajaram/Santhosh|Added plugin interface in foxinsox and Updated README
    Rajaram Mallya 2011-07-25 Rajaram/Santhosh|quantum manager loads plugin only once, even though both extension middleware and APIRouter calls it
    Rajaram Mallya 2011-07-25 [merge] Santhosh/Rajaram|latest merge from quantum and made extensions use options to load plugin
    Rajaram Mallya 2011-07-22 Rajaram/Vinkesh | Plugins advertise which extensions it supports.
    vinkesh banka 2011-07-20 Vinkesh/Santhosh | Added tests to check the member and collection custom actions of ResourceExtensions
    Deepak N 2011-07-19 Vinkesh/Deepak | Moved plugin related checks in ExtensionManager code to PluginAwareExtensionManager
    Deepak N 2011-07-19 Deepak/Vinkesh | Added an base abstract class which can be inherited by PluginInterface class which defines the contract expected by extension.
    Deepak N 2011-07-19 Vinkesh/Deepak| Added doc and small refactoring
    Deepak N 2011-07-18 Deepak/Santhosh | ExtensionManager verifies that plugin implements the interface expected by the extension
    Deepak N 2011-07-18 Santhosh/Deepak | Made supports_extension method optional for plugin, plugin will be loaded only once
    Deepak N 2011-07-18 [merge] Merged from quantum trunk
    Deepak N 2011-07-18 Santhosh/deepak| Load extensions supported by plugin
    Rajaram Mallya 2011-07-07 Rajaram/Santosh|misc readablity improvements to extension tests
    Rajaram Mallya 2011-07-07 Santosh/Rajaram| added extenstion test to show header extensibility
    Rajaram Mallya 2011-07-06 Rajaram/Vinkesh | Added tests to confirm extensions can edit previously uneditable field.
    Santhosh 2011-06-23 Santhosh/Vinkesh | Added extensions framework
Stubout work in progress
I'm too tired
Introducting cheetah
Updating list_nets in CLI
Writing unit tests for list_nets
Stubbing out with FakeConnection now
Authentication with Keystone.
auth_token Middleware tweaked and imported in Quantum tree
Developing Authorization middleware
added network and port models similar to quantum with following changes -
 - InnoDB as storage engine to allow foreign key constraints
 - joinedLoad operation on the queries to make use of relation between Network and Port
Moved out the network and port code to make l2network contain vlanbinding, portprofile and portprofile bindings
Adding automattic serialization to all requests by moving it to do_request
FIxing missing 'output' variable @ line 243 (syntax error)

Fixing main as the plugin was still being retrieved with get_manager. That method is now get_plugin
Simplifying condition
Adding missing files to branch
- Added new tables VlanID to generate ids and maintain usage of vlans
- Added wrapper functions to get next unused vlan, populate vlans, release vlans, getall vlans, isused van and delete van
- Added ported instead of networked for portprofile binding table
- Changed wrapper methods and test cases for portprofile binding to use portid
Adding more templates
More tests

Small change in client to return error details in exception upon API failure
from rohit's branch
fixes from rohit's branch
First, trivial, implementation of authN+authZ