8 Commits

Author SHA1 Message Date
ccamposr
873b7152f0 Remove duplicate setup in NetworksIpAvailabilityIPv6Test class
Change-Id: I2a51ba6999d853e526686292ccc110a4afe14f18
2023-12-19 10:40:10 +01:00
likangkang01
aad352d9ec test list the network(ipv6) ip usage stats
Change-Id: I079444437de87aae9eb0ef582ef78a3bae208234
2020-12-16 10:40:56 +08:00
Luna Das
ee741b393c Add new test cases for network ip availability
New tempest test cases added for showing network
ip availability for an existing network id. Refactor
code for listing network ip availabilities. Move repetitive
code in functions. Remove function _cleanUp_port.

Change-Id: I9b06d5ce709794a8e15d4f8d3c57c9e5b88d41a4
2018-11-06 22:38:22 -05:00
Brian Haley
ae328b923a Fix flake8 H404 errors
Fix H404 error and start enforcing it.

Trivialfix

Change-Id: I0c062733660031faf43838798a697daf6674ef14
2018-10-09 19:51:54 -04:00
Brian Haley
33ef4607ff Fix some pep8 errors, update tox.ini
Fixed E731, W503 and I201 pep8 errors.

Added flake8-import-order to test-requirements.txt to avoid
an "unknown option 'import-order-style' ignored" warning.

Removed {posargs} from flake8 invocation so it can be called
such as 'tox -e pep8 HEAD~1' in order to only run on files
changed in the top commit.

Removed py34, py27 and pypy from the tox.ini envlist since
there are no unit tests, and tox reports it skipped all tests.

Change-Id: I574cafe074befa59aaee44b092b011e27f5f4211
2018-05-02 11:51:17 -04:00
Federico Ressi
0ddc93b1b1 Fix automatic subnet CIDR generation
This helps generating subnet masks by checking for
subnet masks already used from the same test class.

This also avoids having to check if a subnet with
conflicting subnet CIDR already exists treating
subnet error creation by looking in a local set
of already reserved CIDRs.

It fixes a problem that makes create_subnet
try to reuse the same CIDRs more than once
producing test failures.

It also allows methods to blank list some CIDRs
to avoid create_subnet from using it an therefore
avoid interferences.

Change-Id: I73e08a6832777d972990c3e68c582ef61568ad4e
2018-04-18 11:59:14 +02:00
Chandan Kumar
c125fd1479 Code Sync from neutron project to newly created neutron-tempest-plugin
* The following commit sync the code from following hash:
  start_hash: 7279aa35851110a4933a10b58b2758a2bc3933a3
  end_hash: 6e911a49a9e630878f4c46f61fde3964be550880

Change-Id: I371aa4d5f043f695df04b98b0f485c8f0548f2b3
2017-11-15 23:00:13 +05:30
Chandan Kumar
667d3d3260 Refactored Neutron tempest plugin directory structure
* switch from neutron.tests.tempest to neutron_tempest_plugin
* Cleaned up README.rst and setup.cfg
* Use neutron_tempest_plugin as a tempest plugin package
* Fixed gitreview
* Keeping flake8 Ignores in tox.ini as tempest plugin is
  imported from neutron codebase.

Change-Id: I42d389836e72813fdeebc797a577f4a8ac2ee603
2017-11-13 09:19:11 +05:30