Age | Commit message (Collapse) | Author | Files | Lines |
|
Add OSA adapter so that we could benefit from it in functest integration
Change-Id: I010a6f2b6c75711d0cc80f8fd130604c41b6d1e6
Signed-off-by: Manuel Buil <mbuil@suse.com>
|
|
Since we don't release releng as a python project, it doesn't make much
sense to include a setup.py.
The jjb testenv in tox.ini is modified to pin jenkins-job-builder and no
longer require setup.py nor jjb/test-requirements.txt, and the modules
testenv is moved to it's own tox.ini under modules.
Locally testing of jjb can still be done using:
tox -e jjb
Change-Id: I512b1a8f9cd7d48a2f14b1bbe966b525793a6fe3
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
It updates requirements.txt and test-requirements.txt according to
OpenStack stable/ocata. It also fixes install_requires and
test_requires in modules/setup.py.
Change-Id: I9290db34e7bc1c78200130dd6a67d2d33dbc388d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: Iea6f80cd20f422bcbd02b07b16966b8f87d81d67
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
|
|
Compass information failed to be printed as the roles were string list
Change-Id: I38037dae099862a040b817b690d451951e0bb23b
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
|
|
be easier to test jjb locally before submit for review.
add unitest in modules dir to tox(tox -emodules)
Change-Id: Ief4f10debc567d1d3ba111685c86b812a2058697
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
result of example.py for Compass(ODL enabled) can be refered here
https://pastebin.com/k3UW9bUJ
Change-Id: I56352d71152078a44d706d97c67fb8d69b20ad2d
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
A quick fix for the Unexpected kw arg in _custom_start_client error.
Monkey patches this fix:
https://github.com/robotframework/SSHLibrary/pull/159/files
Change-Id: Iaca2c3cb402f1f24d096c947bec5cb3e6aaf77d6
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
Change-Id: If9c7ba05946b995affd061dea2f531a0642650c2
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
In case multiple versions of a package exist on the repo, the old method using
apt-cache show opendaylight returned everything available rather than what was
actually installed. Using apt-cache policy opendaylight is more appropriate.
Change-Id: I8068c18ab25ca532988f24277fd48a4c42647891
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
|
|
When creating a Node object, it fetches the ovs version
in the init method. This prevents doing this if the
node is the installer. Anyways, the information
about the installer node is not showed.
Error:
opnfv.deployment.manager - ERROR - error bash: ovs-vsctl: command not found
Example of this output:
https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/1161/consoleFull
Change-Id: I7b5d41af438e18dffa3b1eab2c9279164a4d4fc2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
This function will be used by ARM project to
detect the architecture of the compute nodes.
Example: http://paste.openstack.org/raw/599722/
Change-Id: Ic76f291468998d3a3d9e7df507a146da44f2f7f9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
|
|
- Enhance functionality of manager.py to check if a node is opendaylight
- Update is_compute and is_controller methods, using the Role Class attributes
Change-Id: Icf1d83b289bf6e87f83b0e1b5bdd2f9da436cde5
Signed-off-by: tomsou <soth@intracom-telecom.com>
|
|
Although it makes no sense that the lists of controller/compute nodes
are empty, the function should not crash.
This check ensures that the directory where the logs are written to is
always created before dumping anything.
Change-Id: I3a1fd8ac8ab983decb0bc227a2a22286ff5e34ce
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
|
|
Change-Id: I283564c2f9a651b6c6fd6ec8986a6c1d98a58b2c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
output: http://pastebin.com/raw/KtuvGPs1
Change-Id: Ie4eb33b041e9ac0ac992a615a29dd7aeab7d857f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
The roles column that the fuel adapter should look in is "roles" but
it accidentally ended up looking in "pending_roles".
Change-Id: Ifcc59c16da2c604e60ca4d6e3ab33b5b91a029b6
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
|
|
The config file in SFC using this library was providing an integer
whereas FUEL was providing a string.
e.g. we were comparing 5 with '5' and thus the return was false
Change-Id: I04c27403d479c45acd102a3dde848ba5b2427a10
Signed-off-by: “Manuel Buil” <mbuil@suse.com>
|
|
Change-Id: I7c72a75324897231a583f38d424dedea42b20f3d
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
example output: http://pastebin.com/raw/dm3SEA43
Change-Id: I06b4e08897e8303dd938749636e00ae193e91dca
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Change-Id: I485f969dff29a2d1757ce56c62dda294f44341e2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
By doing this, we can handle roles and status as a
list in the node object.
Output: http://pastebin.com/raw/PAMrWRJi
Change-Id: I0e3c7f375b19548a7e424e3257b84424c8fe4725
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Fix minor apex issues.
Output of example.py
http://pastebin.com/raw/x70Uj85V
Change-Id: I6013f5c4d916126f79afd40a6d6a35278c8ed26f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Change-Id: I45769ff9c9db2de9fbba69117a92de414dd7f651
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
This is a util library to interact with the
deployment regardless of the installer.
Objects:
- Deployment
- Node
- DeploymentHandler
- ApexAdapter
- FuelAdapter
- Factory
The installer adapters implement some of the
abstract functions of DeploymentHandler class
that can't be generalized.
Printout of example.py:
http://pastebin.com/raw/SF3A1fee
More info: JIRA: RELENG-149
Change-Id: I5c9e94459d5be0bfad6ffac29908a8cfc7ba919c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
This work has been done from scratch following
a better OO approach and better structured.
The library is renamed by 'deploment handler'
Change-Id: I7af2963ebb4e33d90481e91cabfc015718b0bb68
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: RELENG-152
This implementation will help collect information from
the deployment. For example:
- overcloudrc file
- files from the undercloud
- files from the overcloud nodes (i.e. logs)
Change-Id: I293837695a4b82e57b9fac6027fe8197d68b1f14
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: RELENG-185
Change-Id: Iae566f42b77449778491b83aaf3d72ae120a6dd6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I9a46665941f8536f08d27a1c6d7e62f2a50ffbc2
Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>
|
|
|
|
JIRA: SFC-61
Proxy is more clear than jumphost for most. Refactoring all the
appearances.
Change-Id: I7247d904046814c6e815c8e266637babf9445da7
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
JIRA: SFC-61
In SFC we have created a module to gather "ovs-vsctl show" and
"ovs-ofctl dump-flows" information automatically.
Releng is a more appropriate place for it, as it can be utilized by
other projects to create artifacts with ovs logs when a testcase fails
Change-Id: If6cf6a937532f7776f9b300ffdb2ab6c4fde82c8
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
|
|
JIRA: FUNCTEST-497
Change-Id: I4bc0d545058c4778b632911bb317789110de29d1
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: RELENG-168
Change-Id: Id5b1fca430c37917b554a54dd0678d9d7497dc11
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: RELENG-161
Change-Id: I2423493d0c9c9c4ce78fe8c2669b9ed24e697b58
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: RELENG-149
JIRA: RELENG-161
Now that we have a modules directory in place, let's
move all the shared python code to this location.
We need to create a setup.py to install these
modules in the system so that we don't have to
modify the pythonpath.
Change-Id: I7e608ce6e1e6b3d111405bc789cdb2ff7fcb49c3
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
This dir might be used to add more common python
tools (importable modules) that are of interest
for the whole community.
Change-Id: Iec99bd7c79f88d8722eb842faeee4046088d162f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|