This project is mirrored from https://:*****@osm.etsi.org/gerrit/osm/RO.git.
Pull mirroring updated .
- Feb 18, 2019
-
-
fatollahy authored
Added support for region_name for Distributed cloud implementation of WindRiver Titanium Cloud and StarlingX Change-Id: I639ae150aff154ccc01499b42d6ed659d0eca7ff Signed-off-by: fatollahy <masoud.fatollahy@windriver.com>
-
- Feb 10, 2019
-
-
bravalheria authored
This commit aims to provide a better synchronization between all the different threads in RO, specially regarding DB usage and internal state consistency. The following improvements were done: 1. Centralize database retry logic into a single function This way we can change the procedure and the rules for retrying in a single place and this reflects in several functions simultaneously avoiding the need for manual copy and paste (and the potential risk of forgetting to change somewhere) 2. Minor fixes/improvements related to database connection loss. Previously `db_base` was already able to identify when the connection to MySQL was lost, but apparently in a few edge cases the automatic reconnection was not done. 3. Implement a transaction method This method replaces the old context manager API for the connection object that was removed from MySQLdb in version 1.4 In additional it is possible to use a decorator for transactions (not only the context manager), which is handy sometimes. 4. Add lock mechanism directly to db_base This helps to improve synchronization between threads. Some extra synchronization was introduced to functions, as it seemed to be the case. Moreover, previously, the cursor object was part of the internal state of the db_base object, and it was being changed/used without thread synchronization (error-prone). Having the locking mechanism around the changes in the cursor property of the class, avoids problems. 5. Add option to fork connection Useful when independent threading is needed (as long as different threads don't access the same database table, having separated connections and locks should work fine). Change-Id: I3ab34df5e8c2857d96ed14a70e7f65bd0b5189a0 Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
- Feb 07, 2019
-
-
Eduardo Sousa authored
Change-Id: Ie198147ae914dc35445158489ad85f1156857782 Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
-
- Feb 05, 2019
-
-
Alfonso Tierno authored
Change-Id: I7ba41acd9eea907f0ae29976a4063a25b780c11d Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Feb 01, 2019
-
-
albertoflorez authored
Change-Id: I487b5cf482ce3ae9d3d4940eec6fbbdf75b26174 Signed-off-by: albertoflorez <alberto.florezpages@telefonica.com>
-
bravalheria authored
Second parameter should be a class, not string Change-Id: I6401429d7cc314502a364b7fc81e73d30175b193 Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
- Jan 30, 2019
-
-
Alfonso Tierno authored
Change-Id: I90e0b0affa4c5350b9ace0000441e7ba022ea7f2 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
Alfonso Tierno authored
Change-Id: Id86af2c276ab34c76c231d36c1c9c1a4c7ecc93a Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Jan 28, 2019
-
-
Alfonso Tierno authored
-
- Jan 24, 2019
-
-
Alfonso Tierno authored
Change-Id: Ic6902950915a8fde50d162cf425c1851e5bc001c Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
schillinge authored
The old code basically hardcoded the use of NSH (which is still broken in OpenStack's SFC implementation). Change-Id: I0de4682bca69c7a349d678ae3a8179d78b37c605 Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
-
- Jan 21, 2019
-
-
Alfonso Tierno authored
Change-Id: Id314390ba524d22d4e1f74cfe8ef7c808bb8ac0e Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Jan 18, 2019
-
-
bravalheria authored
Automatically create/update port mappings during WIM creation/update, as discussed in the WIM implementation meeting (12/Dec/2018). Additionally fix small related errors and ensure wan_port_mappings are returned by the HTTP server using the same keys forming the schema. Change-Id: Icc27ad85c1de826ed96cb42b377055ea1b0c2cab Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
bravalheria authored
VIM Connectors should provide the fields "encapsulation_type" and "encapsulation_id", as discussed in the WIM implementation meeting (21/Nov/2018). Change-Id: I654d8fa93bef7c37c7ce575c0335154e99fd7347 Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
bravalheria authored
Extract switch ID and port by default from vim.config.external_connections, as discussed in the WIM implementation meeting (21/Nov/2018). Change-Id: I95cc5fb0d6ad2822ef4bd1b80e7652bfabf34120 Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
bravalheria authored
The usage of the wim_account information for create networks inside the VIMs/datacenters should be developed in future commits Change-Id: I545455f23cbde9071b2bdc91ae032b7a76e0eefe Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
- Jan 14, 2019
-
-
Ananda Baitharu authored
Change-Id: I06f5c877859c488d309baa0d595cb6e6c23f9961 Signed-off-by: Ananda Baitharu <ananda.baitharu@riftio.com>
-
- Jan 10, 2019
-
-
David García authored
Change-Id: Iae69fda14d9ffab43af47084b596ba4a5bc8c7a7 Signed-off-by: David García <david.garciaco@ehu.eus>
-
- Jan 08, 2019
-
-
Alfonso Tierno authored
Change-Id: Ic73bf8a47378f4c55ece64014a279264f5bf0855 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Dec 21, 2018
-
-
Alfonso Tierno authored
Change-Id: I4005e048b71284c154495a90d8b1256a09e6ff98 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
Alfonso Tierno authored
Change-Id: Icb02d22d2c1497c1af5cfeff2702d2757bcdcda1 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Dec 20, 2018
-
-
Eduardo Sousa authored
Change-Id: Ie62134ce91cd2686547bb487892474b0d3279e61 Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
-
- Dec 18, 2018
-
-
Alfonso Tierno authored
Change-Id: Ibeb3a9f6176c7bc5b9178661d88f37bf204d11e0 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Dec 17, 2018
-
-
calvinosanch authored
Change-Id: I3be6b0b5b0de1ea0f1379a48546f27b45f946b5e Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
-
- Dec 11, 2018
-
-
Eduardo Sousa authored
TODO: update VNFFG example. Change-Id: I26cf6cc8760516203f8a4fa147bdcd2e00887d89 Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
-
Eduardo Sousa authored
Fetching interfaces from the wrong place. Change-Id: Ibce20543135272ef6b6ff1bca9d1e151972ec985 Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
-
- Dec 10, 2018
-
-
Alfonso Tierno authored
Change-Id: I08ea1f463cabf776343d58d48fdff9066c483a89 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
David García authored
A file osm_ro.wim.wimconn_dynpac added, which defines a the DynpacConnector class Change-Id: I72fbd5387cdf3c09bc69cdde10713e224b7876ed Signed-off-by: David García <david.garciaco@ehu.eus>
-
- Dec 05, 2018
-
-
garciadeblas authored
Change-Id: I61d4f61c08a9571785937118be96942ce8b88c94 Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
-
garciadeblas authored
Change-Id: I6d5644fcd25e72083fb1af2ea01091d963bc11fc Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
-
- Dec 04, 2018
-
-
Alfonso Tierno authored
Fix healthcheck at dockerfile-local Change-Id: I49f66013dd6767b8ffbf67564ff6ed7806bec698 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Dec 03, 2018
-
-
Alfonso Tierno authored
Change-Id: Ibef33c7dfcf3c40dbdf278fc160907675ffbeb03 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
Alfonso Tierno authored
Change-Id: I7553920aa47baad8773cab27c84df8e60fff0e78 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Nov 28, 2018
-
-
bravalheria authored
Change-Id: Ia39bf1acb0b452b320c41d4ae9e04fc760adeecb Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
bravalheria authored
Sync with master branch Change-Id: Ic26d043a84f50f48eeebffb512ccea2eedc053a4 Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
- Nov 26, 2018
-
-
Alfonso Tierno authored
Change-Id: I442fba52604a3211d2f07a04fff39ce5d3320325 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
Alfonso Tierno authored
Change-Id: Iaf4c38d6907a4af5124c85d94518004851b5f6c5 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-
- Nov 23, 2018
-
-
chamarty authored
Change-Id: I2e04063a4c3f7cd9c40a1154ce994e298172ad51 Signed-off-by: Ravi Chamarty <ravi.chamarty@riftio.com>
-
- Nov 16, 2018
-
-
bravalheria authored
Enable dynamic connectivity setup in multi-site Network Services The code required to implement the feature is contained in `osm_ro/wim` as much as possible. * `wim/engine.py` works together with `nfvo.py` to implement the feature * `wim/persistence.py` is equivalent to `nfvo_db.py` and try to encapsulate most of the SQL-specific code, implementing a persistence layer * `wim/http_handler.py` extends `httpserver.py` adding WIM-related HTTP routes * `wim/wim_thread.py` is similar to `vim_thread.py` and controls the execution of WIM-related tasks * `wim/actions.py` and `wim/wan_link_actions.py` implement the action handling specific code, calling instances of the `wim/wimconn.py` subclasses WIM connectors are still a work in progress Individual change details (newer to older) - Add errors for inconsistent state - Delay re-scheduled tasks - Move lock to inside the persistence object - Better errors for connector failures - Try to cache the wan_link information before it is deleted from the database - Integrate WanLinkDelete to NFVO - Add WanLinkDelete implementation draft with some tests - Add basic wim network creation - Add minimal documentation for actions - Add checks to the create action - Improve documentation, rearrange insert_pending and remove unused functions on WimThread - Integrate Action classes in refresh_tasks - Add Action classes to avoid intricate conditions - Adding Proposed License - Move grouping of actions to persistence - Change WimThread to use SQL to do the heavy lifting - Simplify WimThread reload_actions - Add tests for derive_wan_links - Implement find_common_wim(s) - Add tests for create_wim_account - Add migration scripts for version 33 - Changes to WIM and VIM threads for vim_wim_actions - Implement wim_account management according to the discussion - Add WimHandler integration inside httpserver - Add quick instructions to run the tests - Add WIM functional tests using real database - Add DB WIM port mapping - RO WIM-related console scripts - Add WIM integration to NFVO - Improve database support focusing on tests - RO NBI WIM-related commands in HTTP server - Adding WIM tables to MANO DB - Add wim http handler initial implementation - Move http utility functions to separated files This separation allows the code to be reused more easily and avoids circular dependencies. (The httpserver can import other modules implementing http routes, and those modules can then use the utility functions without having to import back httpserver) - Add a HTTP handler class and custom route decorator These tools can be used to create independent groups of bottle routes/callbacks in a OOP fashion - Extract http error codes and related logic to separated file Change-Id: Icd5fc9fa345852b8cf571e48f427dc10bdbd24c5 Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
-
- Nov 14, 2018
-
-
Alfonso Tierno authored
Change-Id: Ibca462f24900cbd1c30ada08c3c5eb51fe6d30b2 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
-