]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add EnvironmentDescription, pass it down
authorJohn Schwarz <jschwarz@redhat.com>
Sun, 9 Aug 2015 14:00:57 +0000 (17:00 +0300)
committerJohn Schwarz <jschwarz@redhat.com>
Thu, 20 Aug 2015 12:34:25 +0000 (15:34 +0300)
commit7aa3b2eace75f846249595bba5d6d6fdd571c372
treee7f01560fdc48d6e6ca5ebad95f3888a758eb32d
parent53fe9ddd6cc6943774fae609586a0adf9b2989f2
Add EnvironmentDescription, pass it down

* The EnvironmentDescription class describes an entire fullstack
  environment (as opposed to the currently implemented host-only
  descriptions). This will allow future patches to signify that a test
  should set up an environment that supports tunneling, l2pop, QoS and
  more.
* Now, most fullstack fixtures (config and process ones, at least),
  expect both the EnvironmentDescription for the current test and the
  HostDescription for the 'host' the config/process is on. This allows
  for easier and most robust future changes, as now adding a new
  parameter to one of the description objects doesn't mean adding that
  argument to a number of other objects which are using it.
* Changed HostDescription's default argument of l3_agent to False, since
  adding new configurations and defualting them to True forces the
  author to go through ALL the tests and explicitly turn them on/off.
  However, defaulting new configurations to False only requires
  explicitly turning them on, which we ought to do anyway.

Change-Id: Ib2f12016ba4371bfda76c82e11d0794acc759955
neutron/tests/fullstack/base.py
neutron/tests/fullstack/resources/config.py
neutron/tests/fullstack/resources/environment.py
neutron/tests/fullstack/resources/process.py
neutron/tests/fullstack/test_connectivity.py
neutron/tests/fullstack/test_l3_agent.py