1. 08 Aug, 2022 1 commit
    • Ville Hallivuori's avatar
      Pull request #2: vhallivu/XR_DRIVER_EMULATE_ENDPOINTS · ac066a01
      Ville Hallivuori authored
      Merge in XRCA/teraflow from vhallivu/XR_DRIVER_EMULATE_ENDPOINTS to xr_development
      
      Squashed commit of the following:
      
      commit da5b46937d8f0dd87f535e3d736dc1d9e2043e94
      Author: Ville Hallivuori <VHallivuori@infinera.com>
      Date:   Mon Aug 8 15:21:16 2022 +0300
      
          Updates to emulation
      
      commit b9d9e566f4622f85767c85b72494fbb33896de60
      Author: Ville Hallivuori <VHallivuori@infinera.com>
      Date:   Mon Aug 8 13:49:55 2022 +0300
      
          Add XR constellation icon for topology
      
      commit 6d24a643f11ecb684043332500c2ee8b2768e900
      Author: Ville Hallivuori <VHallivuori@infinera.com>
      Date:   Mon Aug 8 12:56:16 2022 +0300
      
          Improved XR service creation stubs
      
      commit 7d31fd2ecc67848368e2d0eddb616faa6115128d
      Author: Ville Hallivuori <VHallivuori@infinera.com>
      Date:   Mon Aug 8 08:07:10 2022 +0300
      
          Eulation for XrDriver endpoints
      ac066a01
  2. 05 Aug, 2022 1 commit
    • Ville Hallivuori's avatar
      Pull request #1: vhallivu/XR_OPTICS_DRIVER_LOGIN_TO_CM · 56ab40bb
      Ville Hallivuori authored
      Merge in XRCA/teraflow from vhallivu/XR_OPTICS_DRIVER_LOGIN_TO_CM to xr_development
      
      Squashed commit of the following:
      
      commit ba53d51d94c52491c4f70587187bf6746a9613da
      Author: Ville Hallivuori <VHallivuori@infinera.com>
      Date:   Fri Aug 5 13:26:40 2022 +0300
      
          Initial code for XR Device Driver, can connect to CM and acquire access token. No other functionality
      56ab40bb
  3. 02 Aug, 2022 2 commits
  4. 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
  5. 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
  6. 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
  7. 23 Jun, 2022 1 commit
    • 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
  8. 20 May, 2022 2 commits
  9. 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
  10. 17 May, 2022 1 commit
  11. 16 May, 2022 1 commit
  12. 03 May, 2022 1 commit
  13. 16 Feb, 2022 2 commits
  14. 15 Feb, 2022 1 commit
  15. 10 Feb, 2022 1 commit
  16. 25 Jan, 2022 1 commit
  17. 07 Jan, 2022 1 commit
  18. 22 Dec, 2021 1 commit
  19. 30 Nov, 2021 2 commits
  20. 24 Nov, 2021 1 commit
  21. 04 Nov, 2021 1 commit
  22. 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
  23. 27 Oct, 2021 1 commit
  24. 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
  25. 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
  26. 21 Oct, 2021 2 commits
    • Lluis Gifre Renom's avatar
      Minor improvements in ORM framework. · 5a10c6f5
      Lluis Gifre Renom authored
      5a10c6f5
    • Lluis Gifre Renom's avatar
      Changes: · ef3d2182
      Lluis Gifre Renom authored
      Common:
      - Implemented Message Brokering framework supporting multiple backends
      - Implemented InMemory Message Brokering Backend for testing purposes
      - Implemented Redis Backend
      - Implemented Message Brokering unit tests
      - Minor improvements in ORM Framework
      - Added Message Broker framework unit testing into automated local tests
      ef3d2182
  27. 20 Oct, 2021 1 commit
    • Lluis Gifre Renom's avatar
      Several changes: · b9031981
      Lluis Gifre Renom authored
      Common:
      - added ORM helper function get_related_instances
      - minor modifications in ORM framework
      
      Proto:
      - field/message/enum renamings in context.proto to normalize notation
      
      Context:
      - Expanded service/database/Models.py into separate models to facilitate coding
      - Completed implementation of Get/Set/List/Remove methods for Context, Topology, Device, Link, and EndPoint; also completed for relation models between topology and device/link, and ConfigModels
      - Implemented test units for Get/Set/List/Remove methods for Context, Topology, Device, Link, and EndPoint
      - Implemented skeleton for Get/Set/List/Remove methods for Service.
      - Added Tools.py with helper methods to fimplify handling of enums between ORM and gRPC messages.
      b9031981
  28. 19 Oct, 2021 1 commit
    • Lluis Gifre Renom's avatar
      Multiple changes: · 41122c06
      Lluis Gifre Renom authored
      Common:
      - Added missing test units for ORM framework
      - Solved few bugs in ORM framework
      - Implemented initial skeleton of MessageBroker to implement GetEvents methods for Context.
      
      Context:
      - Implemented TopologyModel and related test units
      - Solved few bugs in ContextModel
      41122c06
  29. 15 Oct, 2021 1 commit
    • Lluis Gifre Renom's avatar
      Several changes (intermediate backup): · 5c34ea77
      Lluis Gifre Renom authored
      Proto:
      - Minor corrections in context.proto
      
      Common:
      - Minor corrections in common.orm.backend
      - Improved definition of orm.Model class with get_instances and get_references
      - Extended ORM unitary tests with get_instances and get_references
      
      Context:
      - Implemented missing methods in ContextClient
      - Started to implement new Context data models using ORM.
      - ContextModel functional using ORM and gRPC.
      - Arranged old code file placing
      5c34ea77
  30. 14 Oct, 2021 2 commits
  31. 11 Oct, 2021 1 commit
  32. 08 Oct, 2021 1 commit
    • Lluis Gifre Renom's avatar
      Intermediate Backup: · be7f4145
      Lluis Gifre Renom authored
      - Extended database API with novel ORM
      - Carrying out tests over ORM and InMemoryDB
      - Foreign Keys need more testing
      be7f4145
  33. 07 Oct, 2021 1 commit