Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
The SFC TCs are bound by the installers.
This means that the SFC TCs could not run on server or VM
which all components (e.g. OS, ODL, etc) are deployed manually and
not by an installer, because some information are retrieved directly
from installer through deploy factory module.
A new yaml file is created by user in order for the important
information to be consumed by the respective test scenario during
test execution.
JIRA: SFC-142
Change-Id: I051bb6406b8aa433c19e4df10396b4789448d42b
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
|
|
Change-Id: I2c896aa33f05d68d28cdb33ca4709009ccddbdb2
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Change-Id: I2d58ac356532727de9617323057060a95433bfc8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
When we use OSM as MANO_COMPONENT, we don't have methods
to retrieve the object instances of ports and VMs. So, we
need these methods to gather details of a :
- VM using the 'id'
get_instance(id)
- port using their 'ip_address'
get_port_by_ip(ip_address)
Change-Id: Ica45bf49dddb38a3811b049d67c363ac606fde7a
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
Pylint is necessary to avoid potential errors which flake8 doesn't
detect because flake8 is concentrated on code style rather than linting.
Change-Id: I50f455227e85c08465e312e07b276698b502cdd2
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
Change-Id: Ia0012ebb6af1faa8028b45545cd1f93ea5ed22f0
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
|
|
The contents of this directory are not used anymore
Change-Id: I1dff86aba72288c618b4909ffa6197de6b241e49
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
- Method added to support Port Chain update
- Used the new method to modify the test as follows
- Create two Port Chains (one VNF per chain)
- Block ssh in one vnf and http in the other
- Test communication
- Swap the flow classifiers in the chains
so that ssh packets are sent to vnf where
http is blocked and vice versa
- Fix extracting odl username/password from ml2_conf
- Checking flow classifiers are implemented
- Fixed odl cleanup
Change-Id: I1f0f3a3b829d6c73d1bb1a774ebf3484912b84b7
Signed-off-by: gvrangan <venkatrangang@hcl.com>
|
|
Change-Id: I480506dcbea94ddc4cd35ea0f0c042cc4b958a3e
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Removing the port groups when deleting the first chain simplifies things
because we don't need port_groups to be a variable of the SfcCommonTestCase
class
There were also some missing unittest
Change-Id: I6ae780bdc72116907a9e6037571c29f28a6ba334
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
|
|
|
|
JIRA: SFC-137
This patch replaces SNAPS library with openstack_SDK library for
TCs with mano component: no-mano
Change-Id: I99b9a5f54a273f61ecff05a11616440d5e85e55b
Signed-off-by: Nikos Mimigiannis <nmimi@intracom-telecom.com>
|
|
The symmetric testcase requires the neutron port of the server to check
that the classification rules were written in the flow tables. This
patch adds that.
Change-Id: I7ce930b102409f2772771a9c5b0e6de99bb293a0
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Change-Id: I2285118eafc3059ffa7d1c7e1fba2e3981613c77
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
According to the new documentation rules, we should include a section
that describes how to deploy de scenario
Change-Id: I7f5897e4e1af225ee91defafd65aa99e69684d93
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
The barbican OS component is introduced for SFC HA deployed scenario.
The reason behind is that In HA scenarios we need Openstack Barbican to
gather and store the fernet keys so Tacker can access them and be
able to register new VIMs.
deploy-scenario:os-odl-sfc
installer-type:osa
JIRA: SFC-131
Change-Id: Ifa4a8bab0547c18c9e2ad654b0d048aff161c56f
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
|
|
|
|
|
|
Sometimes the port pair group gets created before port pair was
committed in openstack. Before creating the port pair group, we check
that the port pair is already listed by openstack
Change-Id: Icfd23521859fc5d4e6bb6745be80f79bf9e31a0c
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Change-Id: Ic7af81de3d93462f8ee626576cd4f007d5b95f83
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
When doing ha, controllers get the .11, .14 and .15 whereas computes get
the .12 and .13. The current config was wrong
deploy-scenario:os-odl-sfc
installer-type:osa
Change-Id: Icedfba9d8b557a926340d66618461d2ec19fe744
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
This patch does two things:
1. improve the ansible tasks:
- register Openstack as VIM
- create osmrc file
- install OSM (master)
2. fix license headers in unit tests
installer-type:osa
deploy-scenario:os-odl-sfc_osm
Change-Id: I02297dae2b0108397541cedeb2f47183f1df99fc
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
|
|
In case of failures, it is hard to understand for what vnf the port
pair was being created when things went wrong
Change-Id: I1cfa2553318d910535d45910b2a46d75b2f7926a
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
ODL Fluorine changes the nsh syntax, so we should adapt it
Change-Id: I63537f9b880f14b40be2658d3a7ed2e315e86b11
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
|
|
This change creates os-odl-sfc_osm scenario.
- copy the base scenario, os-odl-sfc
- remove tacker and pike config
- add tasks, vars, defaults and templates from os-nosdn-osm role
https://gerrit.opnfv.org/gerrit/#/c/63507/
Verification of this patch has be done using a change in releng-xci
pointing to this commit/corresponding patch on Gerrit to verify it
works in order to help with the review.
Change-Id: I90148063c6ff9881ef188e97956adea0e7cb5a7d
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
Our role had some old comments and confusing names which don't make
sense anymore. This patches cleans it up
Change-Id: Ieb928aad2c1b0bfcfa94b300201e026e11a4c991
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
The 'when' condition does not make sense and it was added in order to
avoid the ansible-lint error which requires all command or shell modules
to use a condition. This can be avoided with changed_when as explained:
http://willthames.github.io/2016/09/21/using-command-and-shell-in-ansible.html
Change-Id: I36316ea0848cff9763745af6dd8d8defcd993b70
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Due to the lack of developers, we will only support one version of
openstack (master). Therefore, we remove the Pike support which is
anyway not the latest stable anymore
Change-Id: Ib2c81f952b0e35c61a3edeb9b4e389f5cd27e956
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Functest requires ODL variables to run the ODL healthcheck which is
mandatory for all ODL scenarios
Jenkins CI jobs will fail because it requires this patch to be finished:
https://gerrit.opnfv.org/gerrit/#/c/63175/
which requires this one to work (unfortunately, circular dependency)
Change-Id: I960e3346d840c5e30a2b56284fe109b8f99046e3
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Change-Id: Id0eaf823a81196a4f8920576762d801cca0d93ea
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
When deploying with ODL, the static route towards the metadata server is
not set and the only alternative is getting the route pushed to the VM.
To do so, we must add the "force_metadata: True" option to the dnsmasq:
https://github.com/openstack/openstack-ansible-os_neutron/commit/a8c7e0b506a0c347a363dde3f60077aa0cab5641
Change-Id: I43f9cabacf6cc8b82a22f1f0eedb36b9f1f0c31f
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Due to the n-odl dependency, ceilometer must be part of the scenario.
There is a chicken-egg problem with this patch. There is a XCI patch
which will not get a +1 from jenkins if this patch does not get merged.
However, this patch will not get a +1 from jenkins unless XCI patch
gets merged. This is XCI's patch:
https://gerrit.opnfv.org/gerrit/#/c/62419/
Change-Id: I145ac35dcb94d40f6e21a1a49ae5a1e754434a10
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Change-Id: I80429ebcfd9e4a9c347b1b1865f4584b9bce1a66
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
JIRA: SFC-126
JIRA: SFC-129
Some of the unit tests I wrote earlier needs to be separated into
individual unit tests, which Mr Dimitrios has mentioned in one of
my previous commits. Unit tests are supposed to be independent &
should only test one test case at a time. This patch fixes them.
Change-Id: Ie4651c0eeede5fe729356664493708d8144ff84a
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
JIRA: SFC-126
JIRA: SFC-129
Some of the unit tests I wrote earlier needs to be separated into
individual unit tests, which Mr Dimitrios has mentioned in one of
my previous commits. Unit tests are supposed to be independent &
should only test one test case at a time. This patch fixes them.
Change-Id: I1ccecf049645fe4996d8b4fa5425d485727e1ae0
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
|
|
|
|
All references to submodules must be removed for docs to
work going forward.
Can be tested once your project has a local tox file
Change-Id: I8953e7bece19cb5ab733ce15733e4668ca8d6bc1
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
If we do things asynchronously, the instance might not be ready and the
information we get is not complete (e.g. port missing). Using block=True
fixes the problem
Change-Id: I9f90f52656553b8da8697477250ed631be884196
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
JIRA: SFC-126
JIRA: SFC-129
Some of the unit tests I wrote earlier needs to be separated into
individual unit tests, which Mr Dimitrios has mentioned in one of
my previous commits. Unit tests are supposed to be independent &
should only test one test case at a time. This patch fixes them.
Change-Id: Iaf20e5868491f0627882929a953f3c4a3273f626
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
Functest is being updated to Xtesting 0.60 which leverages on
stevedore [1].
[1] https://docs.openstack.org/stevedore/latest/
Change-Id: I09382b458929fabd21b5351b9d84b0d73fe2657e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
If the ports have security enabled, the traffic is dropped due to the
anti-spoofing
Change-Id: I6fbc63a3d959d9d55dfd1d64e12e1d0e7ec48bcb
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Support n-sfc too and abstract a bit the MANO layer so that other MANO
components can be inserted into the test
Change-Id: I3fb59fbf40b4207bf1721092cd8ff0559e1d9d90
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
|
|
|