Age | Commit message (Collapse) | Author | Files | Lines |
|
* It is not necessary to instantiate CommonConfig object from each
testcase and can be made as singleton
Change-Id: I99d995486fbd88ea8a77ec7bd9e41a55047ebaca
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
(cherry picked from commit e7693b748e16f6013b5dddf6eb5ebcf9d0bb0a3d)
|
|
|
|
An instance will be considered UP not only if a DHCP IP is
leased, but if the login prompt is present, as well
JIRA: SDNVPN-174
Change-Id: If68fd1436a54f057f37de777e22f1d6a1967d97c
Signed-off-by: panageo2 <panageo@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>
|
|
|
|
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>
|
|
The new path should be /usr/local/lib/python2.7/dist-packages/sdnvpn,
rather than /home/opnfv/repos/sdnvpn
Change-Id: I22e019226e7bffe233b52c1a3ec6171b835e4bd3
Signed-off-by: Linda Wang <wangwulin@huawei.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>
|
|
|
|
Due to some latency at the creation of the instance 8-1
somitimes the router association between 'sdnvpn-8-1-router' and net 'sdnvpn-8-2'
fails.
The case could be more robust, increasing the number of ping tries from
its current value (=1)
JIRA: SDNVPN-102
Change-Id: I3b9701c40f1221cfebc540d312b61bb881389762
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>
|
|
The images are put under new directory while the code is still using
old path
Change-Id: I6dfa59ffe6bde316f155560449979bd10354b43c
Signed-off-by: helenyao <yaohelan@huawei.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>
|
|
To adopt the new change of Functest[1], all images are put under
${HOME}/functest/images. Users are allowed to
pre-download the images and map the local folder to the new directory.
[1] https://gerrit.opnfv.org/gerrit/#/c/34033
Change-Id: Iafee8825af77dfce74ad2ace3346e3f2b70a7c96
Signed-off-by: helenyao <yaohelan@huawei.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: I8983ed687dabba0af2128c0ce06bd53aba22c819
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.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>
|
|
- 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>
|
|
|
|
Change-Id: I3d49c683c81e136967432acd1d28b6d305cfe90f
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
|
|
- Implement a new function in lib/utils ensures
(gets or creates) a new flavor existence
- Use this new function within Testcase3, in order
to create a flavor big enough to start ubuntu with
JIRA: SDNVPN-120
Change-Id: I5c7d9c855f083b96bfd056bb5d935baa851420c9
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
|
|
- Make the test work end-to-end on Fuel
- Use the instance log to verify quagga started
- Don't attempt to check for peering, as that is for
a future release
- Use the external IP of the controller for peering
- Fix not getting the output of OpenDaylight commands
Change-Id: Ia7bb533ab65e0fca6b7f48bb64133f6d8f3ff8ae
JIRA: SDNVPN-114
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
|
|
Change-Id: Iaedbfb2fc626eb7d88badee2530593b43c0d1152
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
Quagga peering doesn't seem to work over the NATted openstack external
network. To work around this, directly patch the quagga instance to the
external network and give it a fixed IP in that network. Then, all the
peering traffic goes over that patched interface.
Change-Id: I8d9d8fef4e86839c821f83e564d5c49cc15e43ae
JIRA: SDNVPN-114
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
|
|
- Check the INSTALLER_TYPE environment variable
- Differentiate fuel from apex case
JIRA: SDNVPN-101
Change-Id: I10fa26f5c0b7f95601b29db86e756a20c9e921ec
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
- Create an openstack instance
- Assign it a floating IP
- Execute a quagga bootstrap script using cloud init
- Tell ODL to peer with the instance
- Start an instance in a VPN
- make sure the route was exchanged between the peered quagga and ODL
Change-Id: I73bcaec5425df2b953c2bceaca7d4f09ff28f3d0
Signed-off-by: Romanos Skiadas <rski@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>
|
|
JIRA: FUNCTEST-673
Change-Id: I8430939c009942cd9f96e526c8acd2115267ed2f
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>
|