garciadeblas [Wed, 13 Sep 2017 06:28:39 +0000 (08:28 +0200)]
Changes in Makefile,setup and devops files, including new tox.ini
Change-Id: I68dbd848697a2407bea81797a9af06399edda3de
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
mirabal [Wed, 23 Aug 2017 14:41:27 +0000 (16:41 +0200)]
Bug fix 333, pexpect installation fix
Bad package naming at requitement in setup.py
Change-Id: I17644b55afa562e1f0ae2098593ca1c893617554
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Thu, 6 Jul 2017 10:54:49 +0000 (05:54 -0500)]
PyTest, test to cover VM creation a ovs nets
- test_osm_01_create_vm -> add 2 host and create one vm with dhcp
- test_osm_02_create_2_vm_ping_btw -> add 2 host and create two vm with dhcp and check ping between both vm.
- test_osm_03_test_service_openvim -> restart a service and check net status
- The test regresion launch the repo service and use the openvim CLI client available in the repo.
Change-Id: I3cb3c047fbd871f6d3a0c152dc6643a3248835d6
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Wed, 19 Jul 2017 13:43:09 +0000 (08:43 -0500)]
Fix minor service start in ovim
fix delete interfaces that can couse issues in a compute reboot
fix few run_command execution to avoid exception raise, make indempotent
Change-Id: Ib4374fb4c85d63197dd0a80b146b3557b367710f
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Thu, 13 Jul 2017 15:50:59 +0000 (17:50 +0200)]
set network status to ACTIVE at service start
Fix issue at database VM iface store
Change-Id: If282d2a0adb32adf34952362612364a3cb66d713
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 14 Jul 2017 07:47:10 +0000 (09:47 +0200)]
Merge "Refactor ssh commands" into v2.0
mirabal [Mon, 10 Jul 2017 10:45:56 +0000 (05:45 -0500)]
Refactor ssh commands
Change-Id: Ie53ada0071ac52530c9ddb4f3e10d282ceb81c1b
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
Mike Marchetti [Fri, 23 Jun 2017 21:12:20 +0000 (17:12 -0400)]
update jenkins pipeline
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Change-Id: I322f415d9ed1395c32780181351a3b01434592e6
tierno [Mon, 3 Jul 2017 15:04:54 +0000 (17:04 +0200)]
Unify ssh_command. Allow remote ssh with paramiko and localhost with subprocess
Get real IP address from name for the vxlan remote_ip
Change-Id: I8363654e6402b81c2e7ac513ab32e6a5aa325b56
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Mon, 5 Jun 2017 14:19:26 +0000 (09:19 -0500)]
Provider network and dnsmaq conf improvment
When dhcp server is launch, now dns servers and default routes can be progated to a vm.
A qrouter is created inside a namespace allowing connections with a provider network and a openvim tenant network.
Change-Id: If2becc010b2886493396c9f6b363980a846a04da
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Thu, 29 Jun 2017 15:04:21 +0000 (10:04 -0500)]
Fix thread start during service start.
Change-Id: I6dce3a6ead234a591b5acffa470248c1762a6bb4
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Wed, 14 Jun 2017 10:42:30 +0000 (05:42 -0500)]
Fix 295:Check conectivity btw nodes when net type is ovs
Change-Id: Ic956b7994c75c66205284b851fe147c699649836
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Wed, 31 May 2017 15:52:22 +0000 (10:52 -0500)]
Empty disk support added to openvim
Change-Id: Ib54e4da5bfdeb4b974e8b8e0d260977fa7793fdc
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
garciadeblas [Thu, 1 Jun 2017 09:40:13 +0000 (11:40 +0200)]
Changes to fix bugs in the support of topologies of 1 socket with hyperthreading
Change-Id: If9ec1a223d7739bb63078c58171a05aec34ef2ae
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tierno [Fri, 26 May 2017 12:37:32 +0000 (14:37 +0200)]
Minor change
Change-Id: I6d46c08df3ee81a4c897bfb23232c891519e4064
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 26 May 2017 11:16:40 +0000 (13:16 +0200)]
enhance log message errors when fails at starting
Change-Id: Ia308ef97218e0f10d59d22767cbdd3d2db2188a0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 26 May 2017 09:20:23 +0000 (11:20 +0200)]
adjust installer to get latest stable tag
Change-Id: Ic6e88dcba6f1c0b1138462dd101c5c5715c8b284
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Fri, 26 May 2017 09:50:27 +0000 (11:50 +0200)]
Fix minor bug with bridge_data and ovs nets
- bridge_data nets now create properly the linux bridge
- fix minor vm naming issue
Change-Id: I6ecb5d9e7445398634581a98543ddf8ffa985a24
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Wed, 24 May 2017 14:54:33 +0000 (16:54 +0200)]
Allow specifying ssh key file for compute nodes and network controller
Having equal host-list output and host-add descriptor
Ignore console input error when launching as a service
Register network error upon dhcp controller error
fix configure-dhcp-server-UBUNTU16.0.4.sh help error
Change-Id: I30b5af3b25d7f2f86a75a4502af10b5e16fd3202
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Thu, 25 May 2017 12:51:15 +0000 (14:51 +0200)]
fix minor bugs related with dhcp
- get_free_ip_from_range() was calculating wrong the free ip for if first and last ip is given and the range is lower than the CIDR
- Namespace loopback up must be forced.
- is_dhcp_port_free() mysql query fix
Change-Id: I1bbf9ed2c23945accc16c75d4e75da4b62ce745c
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Fri, 19 May 2017 10:16:06 +0000 (12:16 +0200)]
Merge "Fix minor bug when iface is not connected to net"
mirabal [Fri, 19 May 2017 10:11:27 +0000 (12:11 +0200)]
Fix minor bug when iface is not connected to net
Change-Id: I3242df55ace420abeda82368f5dcd7ecc1ffedda
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Wed, 17 May 2017 12:04:05 +0000 (12:04 +0000)]
fix small bug at used bridge networks checking and dhcp
Change-Id: I3506d4faa58af81f79f6e72300958fec6bfc8db0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Thu, 18 May 2017 14:37:24 +0000 (16:37 +0200)]
fix bug, Bandwith showed wrong listing a VM
Change-Id: I8f0ea2b90612934a7399123b1a5355d8c94d3a49
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Thu, 18 May 2017 12:16:26 +0000 (14:16 +0200)]
Fix bug, check VF is active before destroy
Change-Id: Id589ab96fad5a4c1af876e03a0f27586b2af7695
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Thu, 11 May 2017 14:37:05 +0000 (16:37 +0200)]
fix issue at install-openvim.sh
Change-Id: Id8cf3ec98ffd9a2b1a758ff2807b9526f0b52f64
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Tue, 9 May 2017 09:01:06 +0000 (11:01 +0200)]
Fix minor bugs in dhcp service during vm deployment
Change-Id: Iaa0fdc083836242c8b713b09d4875fd05450061a
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Mon, 8 May 2017 13:45:32 +0000 (15:45 +0200)]
fix issues at installation scripts. Change at initopenvim
Change-Id: I9837ada6b892fbcaa58a64bd1601593064b16b57
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 8 May 2017 15:21:04 +0000 (17:21 +0200)]
fix some errors
Change-Id: Ie6691ef51e9479f8f3ca5fad8f45a3871f340b78
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
garciadeblas [Wed, 26 Apr 2017 15:55:43 +0000 (17:55 +0200)]
Changes to import dynamically modules in ovim.py
Change-Id: Iccea5d9ab6c87423d37fa0cb345d8f97cd0f30c9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tierno [Fri, 5 May 2017 13:51:47 +0000 (15:51 +0200)]
Enhance install-openvim script to add same options as in RO
Change-Id: Ib50749c25be41f7387d3a5bed686e9b720e0a72a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 4 May 2017 16:44:40 +0000 (18:44 +0200)]
fix bugs at host_thread; start net controller thread; sharing same variables db_lock and db between the two ovim instances; logger name at openflow thread
Change-Id: I02cbd50a0c9922764a945490cb885bb63c75e9c0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 4 May 2017 13:27:13 +0000 (15:27 +0200)]
Avoid at init_vim_db.sh prompt user for confirmation with option --createdb
Change-Id: I24334d9e3836322eae9bf8d805140f2111b40094
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 3 May 2017 15:42:52 +0000 (17:42 +0200)]
Add region to nets and allow ovelapping vlan at each region
Change-Id: If5ee574394796c6b6d52d07ec5929851cfd6e813
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 3 May 2017 15:45:06 +0000 (17:45 +0200)]
Merge "added createdb option to init_vim_db.sh"
tierno [Wed, 3 May 2017 12:02:30 +0000 (14:02 +0200)]
added createdb option to init_vim_db.sh
Change-Id: I3eeeafa286f64f330955ebddfb260370bbfd3cc1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Wed, 26 Apr 2017 10:44:14 +0000 (12:44 +0200)]
Fix bug installing openvim and db generation
Change-Id: Ia60430c1d372a8915321295752b5f3b2e372001b
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Thu, 27 Apr 2017 16:49:37 +0000 (18:49 +0200)]
changes at migrate_vim_db to use database version as a parameter and not use openvim version
Change-Id: I3d39d04020e551b127526fca24671176a932c806
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 26 Apr 2017 13:09:21 +0000 (15:09 +0200)]
better parsing of user answers
Change-Id: I21c91e55080e1435ce3fda8617f2f6f23a2c3c7a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 26 Apr 2017 13:09:48 +0000 (15:09 +0200)]
fix issues running from source
Change-Id: I512eebfd0c1531d22073a2389073fb1bcf1d0961
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 26 Apr 2017 13:06:04 +0000 (15:06 +0200)]
Merge branch 'v2.0'
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 25 Apr 2017 16:31:38 +0000 (18:31 +0200)]
Merge "Fix import problems of vimconnector" into v2.0
tierno [Tue, 25 Apr 2017 16:07:08 +0000 (18:07 +0200)]
Fix import problems of vimconnector
Change-Id: I8fc6771673257c9db489fd4ccdaef64b8916965d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 16:56:07 +0000 (18:56 +0200)]
Updated Makefile to install pip-setuptools as user
Change-Id: Ib0c67d39d3d49996aef63212b615ae8f5ae36dac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tierno [Mon, 24 Apr 2017 16:37:49 +0000 (18:37 +0200)]
fix issue at install-db-server.sh
Change-Id: I80474cce8ea2572a3532e8c4479b20f45f2a185c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 15:07:32 +0000 (17:07 +0200)]
Changes in Makefile to upgrade setuptools
Change-Id: I8f1eed00879854899816bd4a5b74017963c2345d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 13:43:04 +0000 (15:43 +0200)]
Jenkinsfile updated to use agent any for the debian stage
Change-Id: I9357fb64126b26d13164f2ae81c4a97c339e8f5c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tierno [Mon, 24 Apr 2017 10:54:12 +0000 (12:54 +0200)]
Fix issue at option updatedb
Change-Id: I4e172d6e3af78aae9ab19270b9f9fe5bac929ece
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 24 Apr 2017 10:30:21 +0000 (12:30 +0200)]
Added option updatedb to allow preserving current database
Change-Id: I119b34af93fe1dabd91e9b6ad0b2759759fe8972
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 21 Apr 2017 14:05:19 +0000 (16:05 +0200)]
install-db-server enhancement
Change-Id: I651ff74f2f79d35356fec6fbb05a3645593ced9d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 09:18:59 +0000 (11:18 +0200)]
Updated Jenkinsfile using ReleaseOne instead of $RELEASE
Change-Id: I505b2941059ba314d65b2a5ff6eb6502c299fe31
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 08:58:56 +0000 (10:58 +0200)]
Changes in Makefile to copy deb packages to .build
Change-Id: Idcf584cbe81364d18910cd6761859174da27e99e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 08:41:43 +0000 (10:41 +0200)]
Dockerfile updated to include pypi2deb package
Change-Id: Ie3ca6fe629dc736aef5446715628dcee8520ea59
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 08:36:43 +0000 (10:36 +0200)]
Dockerfile updated to include additional required packages
Change-Id: Ibe0193725475d2232a3992fcb1bc4e140fde9343
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 08:25:00 +0000 (10:25 +0200)]
Updated Dockerfile to include build-essential
Change-Id: I10c745f756d63ebb0cc641016d551bc827112ff3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 24 Apr 2017 08:15:33 +0000 (10:15 +0200)]
Updated Dockerfile and Jenkinsfile to push to openvim FTP folder
Change-Id: Ic08a1a3d88f3d8e4149b96817f7ae17104b138c6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 21 Apr 2017 12:33:32 +0000 (14:33 +0200)]
Preliminar Jenkinsfile and Dockerfile; not working with agreed debian repo structure
Change-Id: I40e57e1e852df51d43a2a2c1d7fe893c765f7272
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 21 Apr 2017 12:15:35 +0000 (14:15 +0200)]
Merge branch 'master' into v2.0
garciadeblas [Fri, 21 Apr 2017 10:49:08 +0000 (12:49 +0200)]
Fix bug when installing vim_db based on ovim.py version
Change-Id: I21dfd6e4524d6d7e52902674278e739b5079d360
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 21 Apr 2017 09:12:50 +0000 (11:12 +0200)]
Fixed imports in ovim.py
Change-Id: I1f777e08c894b3149a45ea923257b8bb92b67b21
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 21 Apr 2017 05:10:23 +0000 (07:10 +0200)]
Fix install_lite to make RO installation from source works; new Makefile rules for building and cleaning both packages
Change-Id: I8810c7ef7433d1a3c8ba701cd70ab591f6676904
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 20 Apr 2017 17:21:49 +0000 (19:21 +0200)]
Support of debian packaging with versioning for openvim and ovim library; dealing with openflow exec; inclusion of README.rst for both; service file and postinst file added for openvim
Change-Id: Iaa42a592bf8c372c3429fe6a5e556537ec3c9559
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tierno [Thu, 20 Apr 2017 10:13:22 +0000 (12:13 +0200)]
added build to gitcommon
Change-Id: Iab26882c56b7be56cb782ddb93f53a7fe4a22aff
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 19 Apr 2017 17:11:53 +0000 (19:11 +0200)]
loggin enhancement at host_thread
Change-Id: I76a1d8d3d3fad8965d131d474c8cec75725423f4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Mon, 10 Apr 2017 18:05:40 +0000 (20:05 +0200)]
Modify openvim code structure, improve py package
- Move python code to osm_openvim folder
- Python package install the code in a folder called osm_openvim
Change-Id: I09f1cdac84418a6a34ceaec9a69c2315e10296a7
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Thu, 20 Apr 2017 13:18:39 +0000 (15:18 +0200)]
Add --uninstall to install-db-server.sh
- Parameter --uninstall delete existing DB but keeps the user
Change-Id: I374d56776211f0a9fcdd33d166cb4e7dc15de363
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Thu, 6 Apr 2017 16:58:24 +0000 (18:58 +0200)]
logging enhancement at dhcp_thread
Change-Id: I2bccc3f0b10e6bc456da666be5488989c48758bf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Thu, 16 Mar 2017 10:19:19 +0000 (11:19 +0100)]
Add openflow-port-mapping CLI command
- Add openflow-port-mapping cli command to openvim
- Minor funtion description changes in httpserver
Change-Id: Ib2cf6dfa791f95d3263f38af5d0b7db3d4d29011
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Fri, 7 Apr 2017 10:55:28 +0000 (12:55 +0200)]
Merge "setup.py fix for non py files during installation"
mirabal [Thu, 6 Apr 2017 09:01:05 +0000 (11:01 +0200)]
setup.py fix for non py files during installation
Change-Id: I6a0d3b4aa01109649a5c85b292dedc28d6e62087
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
montesmoreno [Thu, 6 Apr 2017 10:07:44 +0000 (10:07 +0000)]
Fixed bug that generated an error when adding a sdn-controller without user or password. These two parameters are optional
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
tierno [Wed, 5 Apr 2017 17:49:24 +0000 (19:49 +0200)]
Allow several pci for of_port_mapping. Log enhancement
Change-Id: Ifbf474da57abf269fd87cb237a05e427d4981d43
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 30 Mar 2017 16:34:38 +0000 (18:34 +0200)]
added some missing packages for floodlight installation
Change-Id: I7c8f3e14f2a277570277bac95bfcb67bfad71f0c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Tue, 4 Apr 2017 16:03:27 +0000 (18:03 +0200)]
Add openflow_conn to setup.py
Change-Id: I5914299e3391c1d10033165e0cae633b38e9d37a
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Fri, 31 Mar 2017 13:15:52 +0000 (15:15 +0200)]
New file setup.py: builds a python package
- Allow to use all poenvim logic as a library by RO
- Makefile will generate all the package need it and handle the lib instalation
Change-Id: I9735b130b47bd94fea12037e2b89eb8226d29d0e
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
montesmoreno [Thu, 30 Mar 2017 11:24:17 +0000 (13:24 +0200)]
Minor changes to allow SDN connectivity for RO
Change-Id: Iaa947aeabe51ce015a3627685c7ee4bae1a36833
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
mirabal [Thu, 16 Mar 2017 16:22:57 +0000 (17:22 +0100)]
Openflow controller abstract connector
- Add openflow_conn abstract impletation for all openflow connectors
- Refactor all existing conenctor to Inherit la clase abstracta
- Now all of connector raise an exeption in case of faliure
- As OF_connector raise an expection, all code that make use of this class now capture the execption.
- Add to ofc DB table last_error and status column
- Check for each operation if an error exist an update DB ofc status and last error column info
Change-Id: Ia3d3bf63fee79dd18d61aeeb08a983dfcb88b729
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Wed, 29 Mar 2017 13:10:28 +0000 (15:10 +0200)]
fix issue at port deletion and network check ports to know what sdn_controller to update
Change-Id: Ibad709568acb4fb47ab74ce7a18267dc1c0a0206
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
montesmoreno [Wed, 29 Mar 2017 11:43:58 +0000 (13:43 +0200)]
Fixed bug that was ommiting the user and password info of the SDN controllers
Change-Id: I90ea692bc7bd4c5689aca9f7165defb251c9e850
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
montesmoreno [Tue, 28 Mar 2017 13:45:02 +0000 (15:45 +0200)]
minor change to avoid deleting a non existing element from dictionary
Change-Id: Iecdd1aceda92fe5ce1cd4891be5175791c6cfab4
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
tierno [Tue, 28 Mar 2017 15:23:15 +0000 (17:23 +0200)]
fix moving openvim version/date/db_version to ovim
Change-Id: If59a7d7d238268c3601e68a5d6feabbf11deed5b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Mon, 27 Mar 2017 16:08:07 +0000 (18:08 +0200)]
Move openvim version/date/db_version to ovim
Change-Id: Ia4740a7eebb09ab537d099dbd79cf44796a7979e
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Wed, 15 Mar 2017 17:09:16 +0000 (18:09 +0100)]
minor logs changes at http for network update openflow rules
Change-Id: Ifce2878f0c71a92ab0fa6d165792d170e7ae553d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 27 Mar 2017 14:48:32 +0000 (16:48 +0200)]
minor error at exception launch when no port mapping found at ovim new_external_port
Change-Id: Ica397ec68c2907dc0475f921c78b3cf27dedb304
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Wed, 15 Mar 2017 11:42:27 +0000 (12:42 +0100)]
Modify http get/clear openflows to handle n ofc_id
- Add ofc_id to http_get_openflow_ports
- Add ofc_id http_clear_openflow_rules
- Both http service will handle multimple ofc thread and the task will be injected in a thread nu ofc_id
- ofc_id Added to of_flow table to of_flows
Change-Id: Id9b1ec67341d70eaea8b678fa4ef34c5a81a3c21
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Mon, 13 Mar 2017 14:15:18 +0000 (15:15 +0100)]
Refactor update-net task to ovim.py
- Every update-net task is dispached to each ofc threard available to each net
Change-Id: Ic459a96ac6401fdc72f8aca2c0edf52a2aff2b29
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Fri, 10 Mar 2017 14:20:10 +0000 (15:20 +0100)]
allow exposing hyperthreading at guest using metadata topology=oneSocket:hyperthreading
Change-Id: If924551bc588dd530699ea20c124ae9632388ef6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 10 Mar 2017 12:57:24 +0000 (13:57 +0100)]
fix a race condition using database connection db_of at ovim.start without using db_lock
Change-Id: I3858a117f547be2931995a160e17d0b5a7e69a04
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Thu, 9 Mar 2017 13:41:21 +0000 (14:41 +0100)]
new_external_port and DB table adds
- new_external_port() add to ovim, create a new external port and ensure the mapping correspondencer btw multimple sdn controllers
- Add ofc_id, switch_mac columns to table "ports" & "resources_port"
- Add foreign FK_port_ofc_id key btw "ports" and "ofcs"
- Add foreign FK_resource_ofc_id key btw "resources_port" and "ofcs"
Change-Id: I3a3603a17f415954fad7520573e4d6d434791f96
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
tierno [Thu, 9 Mar 2017 10:50:36 +0000 (11:50 +0100)]
change initopenvim to create tenant name osm
Change-Id: Ia94a9cab97c2c199b908d6c1ec298e25e5d939dc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
mirabal [Mon, 6 Mar 2017 10:36:55 +0000 (11:36 +0100)]
OF controller port mapping
- Add of_port_mappings DB entry
- Add interface to ovim.py to handle of port mapping per datacenter
Change-Id: I4248c89c3b951f075d4f75d5bb79cdabe87b866c
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Wed, 1 Mar 2017 15:17:10 +0000 (16:17 +0100)]
Handle ofcs thread creation form db and openvim.cfg
- start_service create a ofc thread per sdn in db, during ofc creation and default openvimd.cfg
- stop_service kill ofcs thread
- OFC creation/delete via REST interface, handel creation/delete of thread
Change-Id: I0c1869b870b296bfb459c2f678bc7afe4d1938bb
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
Pablo Montes Moreno [Thu, 2 Mar 2017 15:18:36 +0000 (16:18 +0100)]
Minor changes in ovim.py for SDN controllers functionality
Change-Id: I0111cd8ac9efe8eb992cc47f6f38b83a5b647cdf
Signed-off-by: Pablo Montes Moreno <pablo.montesmoreno@telefonica.com>
mirabal [Mon, 27 Feb 2017 16:36:17 +0000 (17:36 +0100)]
Tenant code migration to ovim.py
Change-Id: I758209af0b7ea03f51cb20bb3b7767a9d69a5987
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Fri, 17 Feb 2017 10:03:25 +0000 (11:03 +0100)]
Create db entry for manage Openflow controllers
Change-Id: Ie3249e72487c15ed4a9a09bc64f50589102e9162
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
garciaana [Mon, 20 Feb 2017 13:42:18 +0000 (14:42 +0100)]
get_of_rules corrected
Change-Id: I4b3d6d2f035765f595b797320d8f42d7dddac09f
Signed-off-by: garciaana <naiara.garciaa@ehu.eus>
mirabal [Thu, 16 Feb 2017 16:57:35 +0000 (17:57 +0100)]
Move network logic from httpserver to ovim
Change-Id: I1d61a7003652dcac7355f2be2b1186a2fe23d8ef
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Wed, 15 Feb 2017 11:36:33 +0000 (12:36 +0100)]
Move openflow logic to ovim.py from httpserver.py
Change-Id: I8bd095ed85fb15579c3c1ec34bfe5513c7c41452
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Mon, 13 Feb 2017 11:41:49 +0000 (12:41 +0100)]
Add gateway_ip to nets DB table
- Add gateway_ip column to net table at DB
- Save and retrive gw ip during net creation and vm launching process
Change-Id: I93c5339aa61ded3631d34a90018bd67525b49ab1
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
mirabal [Fri, 10 Feb 2017 13:47:53 +0000 (14:47 +0100)]
Create dhcp thread at openvim startup
- Create a new thread if a ovs net exist in DB
- Move instansation of openvim controller at ovim.py
- Move launch_dhcp_server to ovim.py domain for each thread.
Change-Id: I8b0958fa0c318ebed92fcf67c0c2b5e79ded7c6a
Signed-off-by: mirabal <leonardo.mirabal@altran.com>