Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Change-Id: Ia0012ebb6af1faa8028b45545cd1f93ea5ed22f0
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
When 'get_active_rsps_on_ports' is executed, it returns a list of
unordered dictionaries, sorting the result to verify the return
value would fix the test assertion.
Change-Id: Id39dc8d15f9efb0ef76168f823d7d52333474e16
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
JIRA: SFC-123
Change-Id: I49b8dae157816ef04a45dea188cc7dbe3aa72d4a
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
JIRA: SFC-123
Change-Id: Ia41ec596d1c2247b2c86d88672a07e50021b3bc0
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
Jira: SFC-123
Change-Id: Ib8e3e748f3992d9030db1308a728a2576e7957ed
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
The side_effect method under test_delete_openstack_objects_exception
method in 'test_cleanup.py' module is not needed. In fact, it won't
be called at all. It should have been detected in [pylint] W0612.
So when we run the nosetest, side_effect from Mock instances of
mock_creator_obj_one and mock_creator_obj_two were called.
Change-Id: Ibad6c8ebe14c320ef31c2133635ecd45fd011835
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
|
|
This is the first attempt to add unit testing capabilities
to OPNFV/SFC project.
Also we are following the contraints.txt logic which
helps in the direction of simulating a test env which
will be as much as close to the real env that the SFC
testcases are running.
Jira: SFC-127
Jira: SFC-129
Change-Id: I938d28f9f85614cdefa163949c4ec9f06f5d27b4
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
|