Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dash] Implement PL and route group API #3048

Merged
merged 81 commits into from
Sep 6, 2024

Commits on Feb 14, 2024

  1. [dash] Implement PL API

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    c905608 View commit details
    Browse the repository at this point in the history
  2. fix parameter use

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    3ab9137 View commit details
    Browse the repository at this point in the history
  3. [dash] Implement PL API

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    0179272 View commit details
    Browse the repository at this point in the history
  4. fix parameter use

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    8bd8a0e View commit details
    Browse the repository at this point in the history
  5. fix routing_type parsing

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    ad81039 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e1be81c View commit details
    Browse the repository at this point in the history
  7. Set routing type table in dash_vnet test

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    1a7685d View commit details
    Browse the repository at this point in the history
  8. add VS test for PL

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    11e374e View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Make ROUTING_TYPE_TABLE optional

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    37e347f View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Set SAI PL attribute based on ROUTING_TYPE

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    134fd99 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Update DASH orchs to use route groups

    - Create outbound routing groups in SAI
    - Add ENI route entries to help map ENI->route group->route group OID
    - Update outbound routing key from ENI to route group.
    
    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    0c26e58 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d8d664 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. refactor tests

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    47a497e View commit details
    Browse the repository at this point in the history
  2. use newest sairedis build

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    d8252ee View commit details
    Browse the repository at this point in the history
  3. improve naming

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    49789b1 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. pin sairedis artifacts for route group changes

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    8cc622e View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. update DASH vnet tests for route group changes

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    8df9224 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d84bb1b View commit details
    Browse the repository at this point in the history
  3. update bulker for route group changes

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    e5eccb6 View commit details
    Browse the repository at this point in the history
  4. update PL dip/sip mask

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    cf41eed View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. fix PL test config

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    aa2f1e7 View commit details
    Browse the repository at this point in the history
  2. fix ipaddr to ipprefix for sai attribute

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    933c24b View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. fix build

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    4342d40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16fbe6d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2cee9c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    913fd27 View commit details
    Browse the repository at this point in the history
  5. fix test errors

    theasianpianist committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    d4877a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c45f56c View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    0e76c05 View commit details
    Browse the repository at this point in the history
  2. fix function call

    theasianpianist committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    bfb3c52 View commit details
    Browse the repository at this point in the history
  3. oops

    theasianpianist committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    abdfa7e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ebf3f7d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9da66f2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b0926a View commit details
    Browse the repository at this point in the history
  7. oops

    theasianpianist committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    2004f9f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5a3dbcc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ea70423 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. fix tests

    theasianpianist committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    1744962 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    e6bcb53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3de2db2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ca5e96 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ba041a View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. fix SAI attribute constants

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    f0e7f8c View commit details
    Browse the repository at this point in the history
  2. remove unrelated file

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    e26658d View commit details
    Browse the repository at this point in the history
  3. fix DASH test configs and formatting

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    ae761f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. remove tests for deprecated attributes

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c8156a1 View commit details
    Browse the repository at this point in the history
  2. poll continuously for asic DB changes

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    26e2a22 View commit details
    Browse the repository at this point in the history
  3. cleanup imports

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    a770e87 View commit details
    Browse the repository at this point in the history
  4. remove deprecated yield_fixture use

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    62888f9 View commit details
    Browse the repository at this point in the history
  5. remove unneeded return

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d3a8291 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Access route group OID through getter

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    cd2f848 View commit details
    Browse the repository at this point in the history
  2. track route group bindings and make bound route groups immutable

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    8c83788 View commit details
    Browse the repository at this point in the history
  3. remove old code

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    0b0d443 View commit details
    Browse the repository at this point in the history
  4. remove unused utils

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e5a65c0 View commit details
    Browse the repository at this point in the history
  5. fix route group bind check

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    29f83c0 View commit details
    Browse the repository at this point in the history
  6. fix route group ref counter

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    d8232f4 View commit details
    Browse the repository at this point in the history
  7. fix test object creation order

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    0bbe94c View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. restrict route table routing_types

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    35f3c54 View commit details
    Browse the repository at this point in the history
  2. Use VNET routing type for PL routes

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    d467e48 View commit details
    Browse the repository at this point in the history
  3. fix log format

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    2ce30f0 View commit details
    Browse the repository at this point in the history
  4. move all dash VS tests to single folder

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    226bf8a View commit details
    Browse the repository at this point in the history
  5. Make route underlay_sip independent of routing_type

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    dd0cdf2 View commit details
    Browse the repository at this point in the history
  6. add ASIC_DB check helper

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    58b6e18 View commit details
    Browse the repository at this point in the history
  7. formatting fix

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    6b35f64 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. restructure PL tests

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    6923d1b View commit details
    Browse the repository at this point in the history
  2. unbind old route group from ENI

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    ca712cc View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. retry route group deletion if bound

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    52b6013 View commit details
    Browse the repository at this point in the history
  2. setup/teardown per test case

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    07408d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. add __init__.py for utils folder

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e097983 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e86e56d View commit details
    Browse the repository at this point in the history
  3. fix test package

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    cf34994 View commit details
    Browse the repository at this point in the history
  4. Test ENI route group rebinding

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    8ff6bb8 View commit details
    Browse the repository at this point in the history
  5. refactor orchagent mock base class

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    0d4859a View commit details
    Browse the repository at this point in the history
  6. add dashorch UT

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    3c33ac1 View commit details
    Browse the repository at this point in the history
  7. add more route group tests

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ae68c5a View commit details
    Browse the repository at this point in the history
  8. fix build

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    8b3a3d6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6fcb7af View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. fix test override error

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    9060640 View commit details
    Browse the repository at this point in the history
  2. define mock_orch_test base fns

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    a7e3ae5 View commit details
    Browse the repository at this point in the history
  3. restrict route removal from bound groups

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    3665aab View commit details
    Browse the repository at this point in the history
  4. add more tests

    Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
    theasianpianist committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f4af126 View commit details
    Browse the repository at this point in the history