aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/config_sdnc_so.py
AgeCommit message (Collapse)AuthorFilesLines
2020-03-05Fix Python linting issues in Python scriptsBartek Grzybowski1-4/+4
Fixed pylint issues for categories len-as-condition, using-constant-test, undefined-variable and reimported. Change-Id: Idad710958c3ca0ac6da78fb4709da03e5f079b34 Issue-ID: INT-1427 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-03-04Remove unused imports in vcpe python scriptsBartek Grzybowski1-1/+1
Unused imports are removed according to pylint report or ignore rules are added where applicable. Change-Id: I8c32b5c3f456f0444f8ec8980910d470b7238a7d Issue-ID: INT-1427 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-12-06Insert SDNC ip pool automatically only if oom_mode is enabledBartek Grzybowski1-11/+15
Change-Id: Ia1fe923f877cf76e51bcc1f23c9bf562a877b112 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-222
2019-12-06Insert vcpe customer service workflow into SO catalogdbBartek Grzybowski1-13/+18
Customer service workflow entry will be automatically inserted into catalogdb database if running with oom_mode set to True. So database endpoint properties were updated to reflect current catalogdb location. vCPE doc updated to reflect the changes made. Change-Id: I54ef0bf94ccf2d38501c1b854cafe4d388a4b35d Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-205
2019-10-24Make SDNC ip pool insertion idempotentBartek Grzybowski1-1/+1
This ensures that subsequent 'vcpe.py init' invocations do not complain about duplicate entry in sdnctl databse (entries are not reinserted, INSERT statement is just noop in this case). Change-Id: I8def8eab1e04026e8ee2206aa11fe2644b35d609 Issue-ID: TEST-222 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-10-16Automate SDNC ip pool insertion into databaseBartek Grzybowski1-0/+13
This patch automates SDNC ip pool generation in sdnctl database in the scope of vcpe.py 'init' stage. Change-Id: I6322ff2dadb069991be0eddbb0cf415baa7984f6 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-222
2019-09-25Fix hashbang in vCPE Python scriptsBartek Grzybowski1-1/+1
Change-Id: Id2b7ec151e1a006a5a85b8544e478fd9cf282715 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: TEST-220
2019-06-26Clean up vCPE scriptYang Xu1-24/+4
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-847 Change-Id: I1158442cd73c6e0d943e9cc111cb12dae1381d36
2019-06-13Improve vCPE test automationYang Xu1-3/+4
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-847 Change-Id: Ib5b0a547f1c228de4cee02f3526401028c10bff0
2018-11-20Fix issues in vcpe test scriptYang Xu1-0/+2
1. SDNC GRA url issue 2. Add mr ip and port to prepload 3. Allow SO service_recipe table to be populated 4. Add SDNC ip to preload 5. Add vfmoduleName section in SO request 6. Set Generic NeutronNet shared as False Change-Id: Iba4ff695759ceab53e33367092b6b59678e082e7 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com> (cherry picked from commit 1a0a0466716419880ab6b1fc6a94ec82a2966cb0)
2018-11-08Register custom workflow for vCPEYang Xu1-2/+2
Change-Id: I247e43234d5631d806bcca7c7bcfd78b1692e30e Issue-ID: SO-1189 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2018-07-23Support vCPE automation in OOM-based envKang Xi1-18/+29
Change-Id: I716aa4718722c45160c5b002616ce03d4d0c6a59 Issue-ID: INT-593 Signed-off-by: Kang Xi <kang.xi@huawei.com>
2018-04-13Initial code import for vcpe automation.Kang Xi1-0/+89
Initial code import for vCPE use case automation. Source code was validated for Amsterdam release. Changes may be needed for Bejing. - Remove unneeded files: test.py and onap_dev Issue-ID: INT-461 Change-Id: Ifc2665bf8069fdcebd052cecc95266a4b831d2e8 Signed-off-by: Kang Xi <kang.xi@huawei.com>