1. 28 Sep, 2022 1 commit
    • Lluis Gifre Renom's avatar
      Integration fix resolution: · a2d4ba5b
      Lluis Gifre Renom authored
      Common:
      - added slice to EventTools
      
      OFC'22 tests:
      - corrected OFC'22 delete service test to identify appropriate service to be deleted
      - removed usage of events for testing
      
      Compute:
      - remove diversity constraint when not populated
      
      Device:
      - removed unused field in database and code polishing
      
      Service:
      - migrated L3NMEmulatedServiceHandler to the new API
      - polishing of code
      a2d4ba5b
  2. 17 Sep, 2022 1 commit
    • Lluis Gifre Renom's avatar
      Multiple improvements: · 67789ca3
      Lluis Gifre Renom authored
      ECOC'22 test:
      - added CTTC OLS and Automation component deployment to script
      
      Common:
      - corrected DeviceType name for transponder
      
      Compute:
      - added bearer definitions for ECOC'22 demo
      - removed hard errors and replaced by warning log messages
      - forced to use VPLS, i.e., always slices
      - added definition of L2-VPN service settings
      
      Device component:
      - forced to use emulated devices for openconfig devices (just for demo purposes, for the sake of reducing demo time)
      - added commit_per_delete setting in OpenConfigDriver
      - improved detection of PORT components for ADVA devices
      
      PathComp-Frontend component:
      - added default settings for TAPI connections
      - corrected reply composition; subservices were added wrongly
      - added log lines for debug purposes
      
      Service component:
      - corrected ConfigRules for L2NM Emulated Service Handler
      - adapted TAPI Service Handler to new framework
      - added log lines in TaskScheduler compose_from_service (debugging)
      - TaskScheduler compose_from_service does not retrieve all resources (debugging)
      - removed ConnectionExpander from Tasks ConfigureConnection and DeconfigureConnection
      
      WebUI component:
      - minor improvements
      67789ca3
  3. 13 Sep, 2022 1 commit
    • Lluis Gifre Renom's avatar
      Common: · 756da240
      Lluis Gifre Renom authored
      - improved objects_factory : Service-related methods
      756da240
  4. 11 Sep, 2022 3 commits
    • Lluis Gifre Renom's avatar
      Multiple changes and fixes: · a5f4f2b6
      Lluis Gifre Renom authored
      Common:
      - renamed device type OPTICAL_LINE_SYSTEM to OPEN_LINE_SYSTEM
      - added DATACENTER and EMULATED_DATACENTER device types.
      
      Context:
      - modified service constraints for test object to use nomenclature "metric[unit]"
      - corrected ConstraintModel dump methods
      
      Device:
      - uncommented dump methods in database ContextModel and TopologyModel
      
      OFC'22 / OECCPSC'22 tests:
      - renamed device type OPTICAL_LINE_SYSTEM to OPEN_LINE_SYSTEM
      
      WebUI:
      OFC'22 / OECCPSC'22 tests:
      - renamed device type OPTICAL_LINE_SYSTEM to OPEN_LINE_SYSTEM
      a5f4f2b6
    • Lluis Gifre Renom's avatar
      Misc improvements: · d56e5665
      Lluis Gifre Renom authored
      - added object factory method for emulated datacenters
      d56e5665
    • Lluis Gifre Renom's avatar
      Context/Service/PathComp component fixes: · 8a26fd5d
      Lluis Gifre Renom authored
      Common:
      - Added missing object factory methods for constraints
      
      Context:
      - Adapted unitary tests to new constraint object factory methods
      
      Service:
      - Adapted unitary tests to new constraint object factory methods
      
      PathComp-Backend:
      - Deactivated health probes since it causes problems in backend REST server
      
      PathComp-Frontend:
      - Correct unitary test constraints for SP algorithm
      - Adapted unitary tests to new constraint object factory methods
      - Fixed instantiation of ShortestPath and KDisjointPath Algorithms
      - Ignore unknown constraints in Algorithm request composition
      8a26fd5d
  5. 05 Aug, 2022 1 commit
  6. 02 Aug, 2022 2 commits
  7. 01 Aug, 2022 1 commit
    • Lluis Gifre Renom's avatar
      Common and Context changes: · 61240584
      Lluis Gifre Renom authored
      - added helper methods to copy/update grpc messages: config_rules, constraints, endpoint_ids, service_ids
      -  extended Context ConstraintModel to support different types of constraints
      - extended EndpointModel with get_endpoint helper method
      - extended SliceModel to incorporate config rules
      61240584
  8. 24 Jul, 2022 1 commit
  9. 21 Jul, 2022 1 commit
    • Lluis Gifre Renom's avatar
      Improvements in Monitoring: · 2048e5ed
      Lluis Gifre Renom authored
      - Arranged commit before merge
      - Replaced string-based timestamps by context.Timestamp
      - Created helper functions to convert timestamps string from/to float
      - Arranged requirements to meet dependencies of converter functions
      2048e5ed
  10. 19 Jul, 2022 2 commits
  11. 15 Jul, 2022 1 commit
    • Lluis Gifre Renom's avatar
      Adapted WebUI to common proto folder · a57fcc00
      Lluis Gifre Renom authored
      - Moved imports from *.proto folder to common.proto folder
      - Removed webui's genproto.sh script
      - Minor code and linting fixing
      - Arranged requirements to accelerate Docker image creation
      - Updated Dockerfile
      - Arranged GitLab CI/CD pipeline
      - Corrected usage of ConfigRules to use new custom ConfigRules
      - Moved config variables to new config framework
      - Removed unneeded Config variables
      a57fcc00
  12. 14 Jul, 2022 2 commits
    • Lluis Gifre Renom's avatar
      Adapted Context to common proto folder: · 6908f606
      Lluis Gifre Renom authored
      - Arranged .gitignore & .gitkeep files in common proto folder
      - Created specific run_tests_locally script for Context component
      - Moved imports from *.proto folder to common.proto folder
      - Adapted common.tools.object_factory to new proto definitions for ConfigRule and Constraint
      - Extended common.tools.type_checkers to new proto definitions for ConfigRule and Constraint
      - Removed context's genproto.sh script
      - Adapted Events generated to new timestamp data type
      - Minor code and linting fixing
      6908f606
    • Lluis Gifre Renom's avatar
      Proto files: · a9614511
      Lluis Gifre Renom authored
      - fixed issue with messages in policy.proto and context-policy.proto
      - modified and unified script to generate Python code from proto files
      - segregated script to generate UML code
      - added/modified apropriate .gitignore files to prevent uploading generated code. It should be generated locally or during creation of Docker containers
      - added symbolic link from common/proto to folder containing python generated code
      a9614511
  13. 23 Jun, 2022 2 commits
    • Lluis Gifre Renom's avatar
      PathComp component: · f4cff5db
      Lluis Gifre Renom authored
      - extended proto file to support retrieval of both services and connections, e.g., services requested + sub-services, and the connections and sub-connections supporting the services and sub-services.
      - minor bug fixings in MockServicerImpl_Context and implementation of support for Slices
      - implemented and pre-tested unitary tests for PathComp
      - implemented in PathComp service the logic to retrieve context data, and the skeleton to retrieve the replies to compute requests.
      f4cff5db
    • Lluis Gifre Renom's avatar
      Initial implementations of ECOC'22 Demo · d1712b4a
      Lluis Gifre Renom authored
      - not functiona, just skeleton to generate the demo paper.
      - logic for disjoint paths to be implemented
      d1712b4a
  14. 20 May, 2022 2 commits
  15. 19 May, 2022 1 commit
    • Lluis Gifre Renom's avatar
      Common framework: · 5dc77fe4
      Lluis Gifre Renom authored
      - defined unified constants for all micro-services
      - defined common settings getter methods
      - defined generic gRPC servicer
      - defined generic Rest servicer
      - defined common MockServicer for Monitoring component
      - removed old common/tests MockService class; to be replaced by new generic gRPC servicer
      - minor code formatting/styling
      5dc77fe4
  16. 17 May, 2022 1 commit
  17. 16 May, 2022 1 commit
  18. 03 May, 2022 1 commit
  19. 16 Feb, 2022 2 commits
  20. 15 Feb, 2022 1 commit
  21. 10 Feb, 2022 1 commit
  22. 25 Jan, 2022 1 commit
  23. 07 Jan, 2022 1 commit
  24. 22 Dec, 2021 1 commit
  25. 30 Nov, 2021 2 commits
  26. 24 Nov, 2021 1 commit
  27. 04 Nov, 2021 1 commit
  28. 03 Nov, 2021 1 commit
    • Lluis Gifre Renom's avatar
      Several changes: · 78dd010b
      Lluis Gifre Renom authored
      Common:
      - Normalized report_coverage_*.sh scripts, and temporarily summarized results in device one for testing purposes.
      - Adapted run_tests_locally.sh script for testing purposes
      - Improved message synthesis of ServiceException
      
      Context:
      - Improved ConfigModel helper functions
      
      Device (intermediate backup):
      - Removed DataCache since it reduces readability of the code. Moved database one level up.
      - Improved ServicerImpl and moved DataCache functionality over there.
      - Added condition to prevent AddDevice request from carrying a configuration.
      - Multiple pre-work required for processing configuration differences in DeviceServiceServicerImpl.
      78dd010b
  29. 27 Oct, 2021 1 commit
  30. 25 Oct, 2021 1 commit
    • Lluis Gifre Renom's avatar
      Several changes: · f7b5ea1a
      Lluis Gifre Renom authored
      - Final version of Context service ready for integration tests
      - Integrated REST API read-only methods
      - Updated test units for gRPC and REST API interfaces
      - Improved flag for pre-populating database with fake testing data
      - Combined Redis within Context POD
      f7b5ea1a
  31. 22 Oct, 2021 1 commit
    • Lluis Gifre Renom's avatar
      Several Changes: · 39474919
      Lluis Gifre Renom authored
      Common:
      - Renamed common.metrics to common.rpc_method_wrapper
      - Moved ServiceException to common.rpc_method_wrapper
      - Implemented High-Level ORM methods to simplify Database handling
      
      Context:
      - Added flag to auto-populate fake data for testing purposes
      - Added fake objects for testing purposes
      - Minor corrections in ORM Database Models
      - Reimplemented gRPC Servicer methods using HighLevel ORM helper methods
      - Implemented complete unit testing of gRPC Servicer
      - Added Message Broker to enable distribution of database events
      - Implemented gRPC GetEvents methods
      - Modified default config values to support larger number of persistent connections for events streaming
      - Reimplemented Context REST Resource to re-use gRPC Servicer and prevent duplicating code
      
      Automated Tests:
      - Reactivated common and context unit tests
      39474919