Age | Commit message (Collapse) | Author | Files | Lines |
|
* moved the cleanup code inside the finally block in each test case
Change-Id: Ifc0fee58451923117c54040c716dad6827fbc7fa
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
|
|
At each testcase, adapt the way config.yaml is included via
sdnvpn.lib.config.TestcaseConfig().
The full path should be included, instead of just the testcase name
JIRA: SDNVPN-180
Change-Id: I34828cc3681f08b843db49c6a221602b5b2022bf
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
- Inherit from TestCase class in Functest
- Remove any push to DB method, since Functest
takes care of it
After this change, we will be able to load this module
from Functest and make a python call instead of
a bash call.
Change-Id: I80bdb7eaac3a2d1f48e32bafa381a42cadb36138
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
In all testcases there are some inconcistencies of
import statements. Additionally the main function
of each testcase should be called through
sys.exit(main())
JIRA: SDNVPN-173
Change-Id: I6fdf0dc6598ca4789b6de6b50d1b8b85a8de923c
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
|
|
|
|
Transfer functions:
- create_bgpvpn
- create_network_association
- create_router_association
- update_bgpvpn
- delete_bgpvpn
- get_bgpvpn
- get_bgpvpn_routers
- get_bgpvpn_networks
from functest/utils/openstack_utils.py to
sdnvpn/lib/utils.py
JIRA: SDNVPN-164
JIRA: FUNCTEST-840
Change-Id: Ic64d8ee85e74601b0fe51e1c452cf83fa6b0203b
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
|
|
Comply with the new floating ip management in functest
(https://gerrit.opnfv.org/gerrit/#/c/36415)
JIRA: SDNVPN-165
Change-Id: I39e380caf07568e2370246afcf483eb8adb3def6
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
After every testcase running cleanup neutron and nova elements:
- Allocated floating IPs (nova)
- Created instances (nova)
- Created images (nova)
- Created router-subnet interfaces (neutron)
- Created gateaway routers (neutron)
- Created routers (neutron)
- Created subnets (neutron)
- Created networks (neutron)
- Created bgpvpns (neutron)
JIRA: SDNVPN-145
JIRA: SDNVPN-148
Change-Id: Id6df004bb9d0d394e2cf39692b624607167c9a6c
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
1. The module functest.utils.functest_logger has been deleted and
logger has been reconfigured in functest [1].
2. Update all related modules to get loggers via logging.getLogger().
[1] https://gerrit.opnfv.org/gerrit/#/c/34019/
JIRA: FUNCTEST-824
Change-Id: I89f5d15342b5f257fbc2700655e255a4e28bd36f
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
-open_icmp_ssh function, that creates security
group rules for icmp and http (here the name of
the function is misleading), is splitted into 2
new functions one for each rule (open_icmp() and
open_http_port()).
Test cases that used the old function have been
updated
-In the original implementation of open_icmp_ssh()
and open_bgp_port(), the direction parameter was
missing. This was leading to an error message
-A check for the existence of security group rule
has been added and used before the creation of each
security group rule. If a rule already exists,
an info message is printed and the testcase
continues
This change is strongly dependent on https://gerrit.opnfv.org/gerrit/#/c/31925
of Functest repo. NOT TO BE MERGED before
JIRA: SDNVPN-103
Change-Id: Icb96954556f6d7294cf3454f045dbca4b9be672d
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
Change-Id: Iaedbfb2fc626eb7d88badee2530593b43c0d1152
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
Change-Id: I8ccb23c9ffa0d511427ad089b033973ffe96360f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Change-Id: I20b9629bd3c9945e98edb94056f459d9f75eec5d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
Not enough '-'
Change-Id: Ia90a678cdf7022cbdbafb1d42531e7aaff716c2c
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
|
|
This is required to better align with functest, since that will handle overall
success/failure status. Also if a subestest failed, there were expected failures
that could seem like they pass making the overall success % look the same, which
would make the test look fine, even thought it failed.
Some tests check things that are known not to work. Disable these until they are
fixed upstream.
Also remove the success_criteria field from the config. Fail the test if any
subtest fails. This has the added benefit that it fixes the tempest suite, which
was still trying to read the value of `succes_criteria` that had been renamed to
`success_criteria`.
JIRA: SDNVPN-89
Change-Id: Iba5e5cc0db6c371f29a4cbba66ca16c4a1838e12
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
|
|
- Clean up the test/functest folder and move things to lib/ & artifacts/
- Add a new top level folder for the sdnvpn python code
Change-Id: I5fdc7fa5475fb800f488a17d3481158c9c4f84e1
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
|