Age | Commit message (Collapse) | Author | Files | Lines |
|
The result processing framework of the SDNVPN project expects "FAIL" as
value for failed sub-tests to determine the overall result. The value
returned by the tempest sub-tests was "FAILED", causing incorrect
reporting to Functest.
Change-Id: I320e6f1fb1fc7ee540813e454484b11bd5b227b2
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
(cherry picked from commit 97cff3c409ffff5abfbb341eff07a00c4f353941)
|
|
Cherry-picking https://gerrit.opnfv.org/gerrit/#/c/43399/ to
stable/euphrates for use in Dovetail.
Change-Id: I871d73d2483919b4c3ef4929380c2501383dabce
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
|
|
The way that a instance is considered as UP is pretty
strict and returns ERROR in case of instances with userdata
This patch differentiates the instances that are supposed to
boot till login prompt and those with userdata parameter
JIRA: SDNVPN-177
Change-Id: Ic4755366df006669475c90cc0693ac802256f379
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit a6e207c16430055eba8bcc8586b09a7081db3d04)
|
|
Since apex includes a new version of zrpcd compatible with Carbon
and Nitrogen [0], an adaptation is needed for bgp daemon enabling
and running within testcase3
Note that zrpcd run now as a process and not as a service
JIRA: SDNVPN-172
[0] https://jira.opnfv.org/projects/APEX/issues/APEX-508
Change-Id: Ia0ec4ab0f15ecf3d5c76c5fa541fe8338762ecaf
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit e1372d3c4955a92f36bfb50ae5925dac2fc0b89c)
|
|
add two apis update_instance_quota_class and
update_nw_subnet_port_quota and make run_sdnvpn_tests.py to use these
APIs for setting quotas
JIRA:SDNVPN-188
Change-Id: I764bb6897e6c4c5abad4d252c1f3b4ccc742d52e
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
(cherry picked from commit aa3ceb31df148f5ebb185271b10e4fd60fac3db1)
|
|
|
|
|
|
Change-Id: Iaa2ddc3f655a2bf85785a99a519e0df78c298037
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 240c496340d76be0a64726792de381d8fbc1db38)
|
|
Change-Id: I11988ad86a916d1d7251aacf951c6362fda961ba
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
(cherry picked from commit 308dc9989bce115b615fa13ff1dc44080e3a731e)
|
|
Change-Id: I81aa9582452ca43a4eab32ba34a640043c89043e
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
(cherry picked from commit b8d1b8a5f1b8f7d400c82c4988b0d76e1416d34b)
|
|
* commenting multiple subnet configuration under a neutron network because ODL
doesn't have a support for it yet (netvirt bug: https://bugs.opendaylight.org/show_bug.cgi?id=9239)
* This has to be uncommented once the above bug is fixed.
Change-Id: I4c863fbdd951891035471f1a10cf18546f5218e0
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
(cherry picked from commit b0c56bc3276a25df4e387ee08734ad292487cf8e)
|
|
* moved the cleanup code inside the finally block in each test case
Change-Id: Ifc0fee58451923117c54040c716dad6827fbc7fa
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
(cherry picked from commit 6c878a213164dc895841046170869a50e41c9e7a)
|
|
Update config file with the full path for testcase 10
Change-Id: I81ec9eaecc2c36f07f4608cdd65db6f64b43c4f9
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
Fix the path to include each test case when the suite runs
Change-Id: I3cdd55ed6af3e131c2f0b89ffc5bd74f95eeadbf
Signed-off-by: tomsou <soth@intracom-telecom.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>
|
|
|
|
Fix the path, from where import_module runs each testcase
JIRA: SDNVPN-176
Change-Id: Ibc6880b4865d3ac0c276d1aa81a08e90af3d809e
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
This testcase investigates if communication
between a group of VMs is interupted upon
deleteon and creation of VMs inside this group.
Test case flow:
3 vms:
[1] on compute 1,
[2] on compute 1,
[3] on compute 2,
all vms ping each other.
vm [2] is deleted. Traffic is still flying
between [1] and [3]. A new [4] vm is added
to compute 1. Traffic is not interrupted
and [4] can be reached as well.
JIRA: SDNVPN-105
Change-Id: I93a65de2a5df83551e3115fd20b60241cd460e97
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
|
|
It eases how Functest runs it (see testcases.yaml [1]).
The former run_tests.py is renamed to avoid duplicated binaries (see
[2] and [3]).
[1] https://git.opnfv.org/functest/tree/functest/ci/testcases.yaml
[2] https://git.opnfv.org/sfc/tree/sfc/tests/functest/run_tests.py
[3] https://git.opnfv.org/promise/tree/promise/test/functest/run_tests.py
Change-Id: I50219cad42bf0e085c2edf2e1abe149c2e057a99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.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>
|
|
|
|
Some fixes on https://gerrit.opnfv.org/gerrit/#/c/37261/
JIRA: SDNVPN-170
Change-Id: I2f396f509181b45bfccb76fbfd904d7591000df9
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
Development of a new test that checks all
nodes and succeeds if all OVS br-int interfaces
have fail_mode=secure
JIRA: SDNVPN-168
Change-Id: Iff14f60e2d25c1769cdec7cec126425937780eb7
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
|
|
Change-Id: I0f13e5aa8aea25e549c9ffede63085a86153cdba
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.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>
|
|
Change-Id: I7f3a4892e6ef73fb13512e427fab3e42ff1b69d9
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>
|
|
-Raise the upper bound for ping action
JIRA: SDNVPN-154
Change-Id: Ifadf58f551f706a90cc17b0b1f8d05718e4908f9
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>
|
|
Check specifically the "running" state of the zrpcd service
JIRA: SDNVPN-150
Change-Id: I1b63f25dfab5fd4507cc219fb1c21291064a8bab
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
Change-Id: Ifad3f84fcb0c5dfa07aca43d74a027e3522abb87
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
Change-Id: Ic9e0d374a4fe5278888b28fe2694c546840d55b4
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
A new ubuntu image with quagga included was uploaded to
artifacts.opnfv.org/sdnvpn/
ubuntu-16.04-server-cloudimg-amd64-disk1.img
Change-Id: I7e48ebbc2b00b7e771f43b26303acc66c2c48457
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
After the peering between Quagga and ODL within testcase 3
cleanup br-ex (for fuel) or br-quagga (for apex) interfaces
JIRA: SDNVPN-13
Change-Id: I3e7bf91d4e47dfd7fe2a5068ed40ea4b2be48c6d
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
Change-Id: Ica6365f41f1d4cf46244604b2ccb889bad051680
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
jira: SDNVPN-138
Change-Id: If56b58b003ce2e024883a015a964e3ff3ded53f5
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
Change-Id: I9e3db350be4b1ca60d6feaf2961034b50b50deb5
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
|
|
The url that the testcase3 uses to download ubuntu image
(https://cloud-images.ubuntu.com/releases/16.04/release/
ubuntu-16.04-server-cloudimg-amd64-disk1.img) is unstable.
This change updates it, using the one from the OPNFV artifact repo
JIRA: SDNVPN-133
Change-Id: Ic7265b572064f1df7ce30ab5249b1bdb61c63777
Signed-off-by: tomsou <soth@intracom-telecom.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>
|
|
Solves partly:
JIRA: SDNVPN-130
Change-Id: I1cf99e9294925545f6fece660983e32f6543f2b8
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
|
|
Instead of python -> bash -> python, call
the BGPVPN test using main()
Change-Id: I8cca741814937e0a7a1d8b848fa8658e4f0d6fb5
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
- Fix runnning bgp related commands on Karaf:
update util.run_odl_cmd() in order to be able to
run commands on karaf client. Otherwise karaf
commands fail
- Ensure zrpcd/bgpd to run on controller side properly:
Add missing quagga run folder, change owner and
add user quagga into quaggavt group, in case of apex
installer
- Update the way of handling br-ex information and
parsing out the controller external ip and mask:
In case we have multiple ip/netmask assigned on br-ex
the separation was faulty and an extra line, containing
the second ip address, was added into ext_net_mask variable
JIRA: SDNVPN-118
Change-Id: I62468c94fd945ba30e419bd30d9cd85502f28eeb
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
|
|
- Workaround a bug releng in getting opedaylight nodes
- Add some sudo commands because the path is not properly set otherwise
it seems
- remove needless command that gets ip information from the compute,
since that is already available from when the command was ran on the
controller
- Handle attaching the quagga instance to Apex's br-ex ovs bridge
Change-Id: I870f1049d9cce696ec26376a09db5f9e9bac0bf9
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
|