9 Commits

Author SHA1 Message Date
armando-migliaccio
7c025fedc3 Check quantum status dependent on the plugin
There are Quantum plugins that do not require the use of an agent.
This patch relaxes the constraint in quantum-adv-test.sh by adding
the ability to customize the logic that verifies whether the test
can run or not, depending on the Quantum plugin of your choice.

Fixes bug #1177904

Change-Id: I6e2c17f43d9e1475b2eb175cceb5107a83f9aa74
2013-05-09 09:05:15 -07:00
Armando Migliaccio
aacb01dc03 Remove variable substituion to %NUM% to correctly invoke local command
Referencing %NUM% must be a mistake, because with it networks are not
deleted properly. See other commands within quantum-adv-test.sh as
an example.

Fixes bug #1164018

Change-Id: Ib222d82a1b8187167606b2543bb74c28b8465b5a
2013-04-03 09:31:20 -07:00
Akihiro MOTOKI
3452f8eb86 Support Quantum security group
Adds Q_USE_SECGROUP flag for quantum security group

- Added has_quantum_plugin_security_group method for each plugin.
- Set NOVA_VIF_DRIVER to the hybrid VIF driver for plugins with
  iptables based security group support.
- Specifying device_owner type on debug port in lib/quantum and
  quantum-adv-test.sh. This change makes apply quantum security
  group fro debug port

Change-Id: Ifd155798912247d85a9765ef73a2186b929237b4
2013-03-21 18:34:14 +09:00
Nachi Ueno
07115eb5c0 Refactor error logging
It is hard to grep errors in current log. so in this patch,
I'm updating die function which also writes log for
screen_log_dir/error.log.
In future, we may categolize negative fault by using
this error.log.

Change-Id: I70a8cfe67ed408284f5c88c762c6bb8acb8ecdb2
2013-02-28 11:54:24 -08:00
Dean Troyer
6d04fd7ba5 Holiday docs and comment formatting cleanup
Change-Id: Ia4ca88c67d3b94e306a79a669805a2fa1b0dc069
2012-12-28 18:03:10 -06:00
Nachi Ueno
8bc21f6476 move setup_quantum to stack.sh
sudo is only allowed in stack.sh on the CI, so move setup_quantum code
to the stack.sh.
also fixes quantum debug command setup for linuxbridge and ryu

Change-Id: I11bc0aa242a690e25acc088b3e9f483ceab38f26
2012-12-05 17:55:08 -08:00
Nachi Ueno
5db5bfa28f Make exercise.sh with quantum work
- added support for quantum-debug command
- added ping and ssh method for quantum

Change-Id: Iebf8a0e9e2ed2bb56bee6533e69827e6caa2bc82
2012-11-13 10:40:59 -08:00
Maru Newby
6c32c6edab Fix quantum exercise script to use private CIDRs.
* Addresses bug 1047024

Change-Id: Iba5a369b94a6c0e14edea9d13079a80a85adf907
2012-09-06 13:47:49 -07:00
Dan Wendlandt
ea23e68664 Exercise quantum v2 api without namespace
Added quantum_v2.sh for quantum v2 api exercise.

Quantum exercise script requires the following settings:
- Q_USE_NAMESPACE=False
- LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver

And the following services enabled:
- quantum, q-svc, q-agt, q-dhcp

Change-Id: I5767f94c94187a4ca0fd189244fa6f5781519ab4
2012-08-22 05:53:17 -07:00