aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/lib/cleanup.py
AgeCommit message (Collapse)AuthorFilesLines
2017-09-28Bug fix: Delete unnecessary functions which are causing errorsDimitrios Markou1-10/+0
JIRA: SFC-117 Change-Id: I20e12e38a3cf2a9954893cf52187ac153b64bdfa Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-09-18[Bug Fix] Delete vnffgs in a reverse orderDimitrios Markou1-1/+1
JIRA: SFC-106 In sfc_two_chain testcase we need to delete first the blue and then the red vnffg because if we do it the other way around the tacker produces a warning that the flow classifier of the vnffg red is in use and cannot delete the chain. The aforementioned warning is produced because during the execution of the two_chain testcase we reassing the classifier from the red vnffg to the blue vnffg. So if we try to delete first the red vnffg we get the warning because the classifier is assigned and in use from the blue vnffg. Change-Id: I3cb7bef4b9b9e75eef4961fe7f63cbc1755130be Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-09-07Adapt functionality to the new Tacker APIDimitrios Markou1-16/+28
Change-Id: I078e9f26d3040cf04120abd425f03cb4f2e8daef Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-05-26functest_logger changes fixvijayendra Radhakrishna1-2/+2
- Recently there is removal of functest logger utils. - This uses the default python logging mechanism Change-Id: I3aba38041bbed8b1e5a3de93bc9f639253f262d8 Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
2017-03-31Fix checking for optional cmd line args in cleanupGeorge Paraskevopoulos1-1/+1
Change-Id: I5305e7c6426e0a563499f0aeefd910ce03e5ceae Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-24Revert "Change from functest logger to python logging"George Paraskevopoulos1-3/+2
This reverts commit cb311aad19c732fa006b50795ab66687e01b95a6. Change-Id: I123c30acd765df692483eb5f91fecd1478219201 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-20Cleanup IETF-ACL in OpenDaylightGeorge Paraskevopoulos1-0/+8
Change-Id: I6914a5fbe7eb30b2d76b89d8f38b7d3d16e7b44a Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-19VNFDs were not deletedManuel Buil1-0/+1
Added vnfd_delete in the cleanup library Change-Id: Iaa3e9ecb33a15bf882585786271fef206a54ffa0 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-03-18Change from functest logger to python loggingGeorge Paraskevopoulos1-2/+3
Change-Id: Ie7b2a63c301819a79768d1b286ee00693cd1129b Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-17Add checks for cleanup utilitiesGeorge Paraskevopoulos1-6/+24
Change-Id: I1facd54b11ef6a090e39dd5977eb5cf7183147af Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-17Add ODL cleanup utilitiesGeorge Paraskevopoulos1-3/+25
ODL does not clean all resources properly after tacker deletions, so we add this as a post processing step Change-Id: Ic485ee32b195f72235922ebe613af6c010cb57db Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-17Implement delete.sh as a python moduleGeorge Paraskevopoulos1-0/+71
We need to call delete.sh after each test is run. The script is implemented as a python module and called inside run_tests.py Change-Id: I23a794be522b4713a44cc1d56587e0aadc6f1210 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>