Re: [Netstack] [Openstack] melange_ipam : get_tenant_id_by_net_id - possible bug (and fix)

2012-03-28 Thread Dan Wendlandt
Thanks Jason, Not to discourage adventurous people from playing with Melange, but the most reliable and tested way of using Quantum + Nova in terms of the Essex release is to use the built in Nova IPAM (which is the default when using QuantumManager). We'll be shifting over to using a merged Quan

Re: [Netstack] [Openstack] melange_ipam : get_tenant_id_by_net_id - possible bug (and fix)

2012-03-28 Thread Jason Kölker
Hi Mandar, Thanks for taking the time to look into Melange! Currently Nova + Quantum + Melange is in a huge state of development flux. The current code gets us enough to play with some features and be backwards compatible with all the features in the "legacy" network managers. In the Folsom develo

Re: [Netstack] About test framework on python-quantumclient project

2012-03-28 Thread Dan Wendlandt
Two things here: (a) it sounds like the README in the python-quantumclient should describe how to run the tests. (b) adding monty to the thread, as I think he setup the tox stuff with the idea that openstack projects in general where going to move away from run_tests.py and toward all using tox as

Re: [Netstack] About test framework on python-quantumclient project

2012-03-28 Thread Jason Kölker
On Wed, 2012-03-28 at 17:07 +0800, Yong Sheng Gong wrote: > http://tox.testrun.org/latest/ > What is Tox? > Tox as is a generic virtualenv management and test command line tool > you can use for: > > * checking your package installs correctly with different Python > versions and inte

[Netstack] melange_ipam : get_tenant_id_by_net_id - possible bug (and fix)

2012-03-28 Thread Mandar Vaze
Troy, I've setup nova+quantum+mélange using devstack. devstack creates networks using tenant_id ="default" (This in itself looks incorrect, since it should be valid UUID for one of the tenant from keystone DB - but I can imagine that stack.sh can't get UUID for demo or admin tenants easily) So

Re: [Netstack] About test framework on python-quantumclient project

2012-03-28 Thread Yong Sheng Gong
http://tox.testrun.org/latest/ What is Tox? Tox as is a generic virtualenv management and test command line tool you can use for: checking your package installs correctly with different Python versions and interpretersrunning your tests in each of the environments, configuring your test tool of cho

Re: [Netstack] About test framework on python-quantumclient project

2012-03-28 Thread Ionuț Arțăriși
On 03/28/2012 06:03 AM, Brad Hall wrote: There is a test framework.. it's tox (take a look at tox.ini). To run the tests use tox -v: $ tox -v ... Ran 148 tests in 1.379s Thanks, Brad That's good to know. I didn't know python-quantumclient had a testing framework either. Tox seems to use