Commit Graph

9 Commits

Author SHA1 Message Date
Adit Sarfaty 2a1991a3a6 Revert "Temporarily disable admin utils tests"
This reverts commit 09fbad47d8.

Reason for revert: Re-Enable the tests

Change-Id: I48e9e7f7e41084c8def0d46804a05dc17bdb5ade
2020-12-10 08:19:56 +00:00
asarfaty 09fbad47d8 Temporarily disable admin utils tests
Change-Id: I09dfbaabf529f0302c15e5b842f5ac2e25034d97
2020-11-16 12:21:40 +02:00
Adit Sarfaty 0bad4876dc T2P migration
This patch will allow moving neutron from using the nsx_v3 plugin to the nsx_p plugin.
This includes:
- admin utility to move all resources to the policy api:
  nsxadmin -r nsx-migrate-t2p -o import (--verbose)
  This utility will:
  -- Migrate all neutron used & created resource using the nsx migration api
  -- roll back all resources in case it failed
  -- post migration fix some of the policy resources to better match the expectation
     of the policy plugin
- admin utility that will cleanup left overs in the nsx_v3 db:
  nsxadmin -r nsx-migrate-t2p -o clean-all
  (can be used, but everything should work without calling it as well)
- Some minor changes to the policy plugin and drivers to allow it to handle migrated resource
  which are a bit different than those created with the policy plugin
  -- Delete DHCP server config once a migrated network is deleted
  -- Update LB L7 rules by their name suffix as their full display name is unknown

Change-Id: Ic17e0de1f4b2a2d95afa61ce33ffb0bc9e667b89
2020-06-23 09:03:23 +00:00
asarfaty 98b2832e4d Add coverage tests
As a first step add coverage test as non-voting with a low threshold,
and exclude older plugins.
Also removing some unused code, and relocating tests-only code, and adding
some unit tests to improve coverage.

Change-Id: Ib7af0b5de49e1a0ee2927b01f2a5f71acf633fb5
2020-04-13 06:13:32 +02:00
Gary Kotton 809fa6478d Update coverage file to exclude cisco files
That code no longer is in the upstream reop.

Change-Id: I14be463764efb50bf97dc8ee39463884bd7c5f2f
2015-09-22 07:44:00 -07:00
Monty Taylor c972b9e351 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: I7b7c397feac2d0f4b95ea7ed335dd2e29c653812
2015-09-21 14:57:01 +00:00
Yong Sheng Gong cee117a2af fix some missing change from quantum to neutron
Change-Id: Iadad11f364e8200f8e4a92b191e834bdf0220179
bp: remove-use-of-quantum
2013-07-08 12:11:04 +08:00
Alessio Ababilov 5b5eac9b73 Update .coveragerc
Set up proper source and omit options.

Change-Id: I13cc4bf4b3b349d1c868a4ff93ef33fd5ef292b8
Implements: blueprint update-coveragerc
2013-02-06 16:47:06 +02:00
Monty Taylor 49983a162a Fix up test running to match jenkins expectation.
Change-Id: I215cd92d707f81ed481897704b31188017a5a8b8
2012-06-10 15:20:16 -04:00