21141 Commits

Author SHA1 Message Date
Salvatore Orlando
847ecc5028 Adding api paste configuration file 2011-05-20 15:30:12 +01:00
Salvatore Orlando
3e809e45f2 Removing .pydevproject from version control 2011-05-20 14:53:02 +01:00
Salvatore Orlando
bf3a3b7f68 Branching from quantum-framework 2011-05-20 14:51:28 +01:00
Salvatore Orlando
f5f696b91a Adding flags.py to infrastructure code 2011-05-20 09:05:39 +01:00
Somik Behera
5f0ad8bfa4 Move plugin configuration to plugins.ini - a config file. 2011-05-19 17:21:48 -07:00
Somik Behera
c7e632d3f9 1) Created a DummDataPlugin in SamplePlugin module.
- DummyDataPlugin is a sligh improvment over QuantumEchoPlugin in that 
           the plugin returns hard-coded data structures.

2) Created a CLI that enabled quantum plugin writers to test their plug-in implementation.

		- Currently I am using DummyDataPlugin to test and run the CLI
           but if anybody has another better Quantum plug-in, please modify
           manager.py to use your plug-in and drive the plug-in using the CLI.
        - Running the CLI against wider variety of plug-ins will help the CLI
           evolve and improve. Please free to send patches.

3) TODO: list

	- Finalize the plug-in data model
    - Finalize the exception and make the plug-in throw exceptions
	- Write unit tests for plug-in qualification and CLI testing.
2011-05-15 13:31:23 -07:00
Somik Behera
1290f3a0e0 merged salvatore's changes to local branch 2011-05-13 15:49:08 -07:00
Somik Behera
9a82d8a9e3 1) Added a bare-bones framework for quantum plugins.
2) Created demo quantum plugin that conforms to QuantumPluginBase
    Abstract class specification.
3) Demonstrated plugin registration and invocation using the demo
    plugin called "QuantumEchoPlugin"
4) Created the initial file structure for a quantum CLI
5) Seeded the utils module that will contain frequently used Quantum utilities.
6) Modified the manager module to initialize and register the quantum plugin
    defined in a configuration file. I have hard-coded the path to plugin for now
    but this will move to a quantum.conf file.

TODO:

1) Finish up the Quantum CLI
2) Write Quantum unit tests that can be run against any plug-in for certification.
3) Create a working quantum plugin.
2011-05-13 14:23:37 -07:00
Salvatore Orlando
ec5b5dd523 Fixing pep8 errors 2011-05-13 12:54:18 +01:00
Somik Behera
5626c2fedd adding /bzrignore to precent checking in pyc files and that sort of stuff... 2011-05-11 14:41:02 -07:00
Somik Behera
44e6ae3a44 Pushing initial started code based on Glance project and infrstructure work done by the melange team. 2011-05-11 14:29:35 -07:00
Tyler Smith
5b0c84f812 Merging in Shweta's fixes from the review by Sumit 2011-01-08 01:46:11 -05:00
Shweta P
0bb525e23f Minor Fix in ucs tests 2011-09-09 15:20:07 -07:00
Tyler Smith
06a94e1ce9 Fixing issues discussed in merge prop. The UCS Inventory clears the DB on teardown. The multiblade tests now check to see if a port exists in the db before deleting it. It checks to make sure the UCSInventory is set in the config. 2011-01-08 01:40:40 -05:00
Tyler Smith
e14576cc83 Adding UCS inventory tests 2011-01-07 19:46:28 -05:00
Tyler Smith
d412088801 Merging in latest changes from lp:quantum 2011-01-07 19:44:09 -05:00
Tyler Smith
344a405ba4 Merging in Shweta's test changes 2011-01-07 18:01:11 -05:00
Shweta P
77cf8c12af Ading Ucs db tests 2011-09-08 22:23:28 -07:00
Tyler Smith
1aac18238a Removing excess imports 2011-01-04 23:30:45 -05:00
Tyler Smith
e6dc574255 Fixing pep8 errors and pushing pylint score up to 8.57 2011-01-04 23:08:54 -05:00
Tyler Smith
b090b380e9 Fix for bug/893663
Making Cisco CLI usable from installed packages

Change-Id: I35c34d2d0f5c050016663cf04673582806f35b39
2011-01-04 21:03:13 -05:00
Jenkins
219e0b1b8d Merge "Bug 903684: functions defined twice in utils.py" 2011-12-13 16:07:31 +00:00
Jenkins
012bb8b09f Merge "blueprint api-operational-status" 2011-12-13 16:01:09 +00:00
Jenkins
bfbe25084c Merge "bug 903581: remove etc/quantum.conf.sample as it is invalid" 2011-12-13 14:45:03 +00:00
Salvatore Orlando
8dc864f42c Bug 903684: functions defined twice in utils.py
Removing duplicate definition for import_class and import_object

Change-Id: Ib651ca7b0f87c36f6d4f51ed2d55745e3576c390
2011-12-13 12:23:49 +00:00
Salvatore Orlando
6e38dcb70e blueprint api-operational-status
Adds a new attribute expressing current operational status for port and network resources

Also includes:
- db models: changes to accomodate operational status concept
- unit tests: changes to include different validation functions for API v1.0 and v.1.1

This changeset does not include changes to the client library

NOTE: Addressing issue concerning unit tests for OVS plugin. API unit tests launched with
PLUGIN_DIR set to Cisco's plugin work fine as well.

Change-Id: I0c4f0f8a8c392bae75c668c28070364ca230f965
2011-12-13 10:51:44 +00:00
Ghe Rivero
2ccf22e98a Adds sqlalchemy support for ovs_quantum_plugin.
Fixes bug 890672

Allow to use any database as backend (supported by sqlalchemy).
Need to change ovs_quantum_plugin.ini and add variable sql_connection under DATABASE entry using specific sqlalchemy url schema (same as nova confs)

Change-Id: Ic490b09aad84c7f24d68064c18a8c1b33774cb05
2011-12-13 09:15:59 +01:00
Dan Wendlandt
3aea574f22 bug 903581: remove etc/quantum.conf.sample as it is invalid
Change-Id: I9314bfb9a58a65d7801125b3756672b831087c9d
2011-12-12 23:50:21 -08:00
Tyler Smith
915f49de82 Fixing bug/903829
Making setup_server.py not try to install quantum.conf.sample

Change-Id: I105e53494cd220f8a0f2b22f7ec15640a04ba2dc
2011-01-04 19:52:39 -05:00
Tyler Smith
d4ac021e84 Removing a couple extra lines 2011-01-04 19:48:22 -05:00
Tyler Smith
891d938d97 Adding some tests, fixing some bugs, and making the tearDown correctly remove PortProfiles. 2011-01-04 19:40:41 -05:00
Tyler Smith
9be42e1513 Adding author information 2011-01-03 22:47:43 -05:00
Tyler Smith
4cd616014c Removing a negative test until I can figure out how to implement it 2011-01-03 22:44:37 -05:00
Tyler Smith
9fc4f1ba33 Removing some negative tests until I can figure out how to implement them 2011-01-03 22:41:08 -05:00
Tyler Smith
b15e413f93 Updating tests 2011-01-03 22:39:16 -05:00
Tyler Smith
90b1fb0806 Fixing port-related calls 2011-01-03 18:28:04 -05:00
Tyler Smith
aa98712148 Adding tests 2010-12-31 23:52:04 -05:00
Tyler Smith
8a9133c183 Tweaking other multiblade tests. 2011-09-02 13:14:33 -07:00
Tyler Smith
438514e9c1 Updating multiblade create_network test 2010-12-31 22:36:55 -05:00
Tyler Smith
3ab8659437 Starting making multi_blade model return data 2011-09-02 11:59:35 -07:00
Tyler Smith
de15519d3f Adding initial multi blade test file from Shubhangi 2010-12-31 19:08:43 -05:00