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

Align with new HLD schema #20

Merged
merged 17 commits into from
Aug 10, 2024

Conversation

theasianpianist
Copy link
Collaborator

@theasianpianist theasianpianist commented Mar 6, 2024

Align DASH API with newest HLD changes: sonic-net/DASH#520 and sonic-net/SONiC#1658

  • Route group API changes
  • Metering implementation changes
  • PL/PL-NSG
  • Deprecate/rename some fields for clarity

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
@prsunny prsunny requested a review from r12f March 12, 2024 00:19
proto/route.proto Outdated Show resolved Hide resolved
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
@theasianpianist theasianpianist changed the title Add ROUTE_GROUP and PA_VALIDATION tables Align with new HLD schema Apr 10, 2024
@prsunny
Copy link
Collaborator

prsunny commented Apr 25, 2024

@sharmasushant

@prsunny
Copy link
Collaborator

prsunny commented Apr 29, 2024

@pranjal-git to review

proto/route.proto Outdated Show resolved Hide resolved
// Optional
// optional region_id which the vni/prefix belongs to as a string for any vendor optimizations
optional string region = 7;
optional string region = 8;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this field needed? looks like we don't have this field in SAI.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field is present in the HLD, should we remove it from there if it's unneeded?

// Optional
optional bool use_pl_sip_eni = 7;
optional bool use_pl_sip_eni = 6;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to remove this field?

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
- Marking original action_type as deprecated to prevent breaking existing code

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
@theasianpianist theasianpianist force-pushed the route-group branch 2 times, most recently from 0a1151b to 6668ccb Compare August 6, 2024 22:44
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Copy link

@prabhataravind prabhataravind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@theasianpianist theasianpianist merged commit dbb2d0f into sonic-net:master Aug 10, 2024
5 checks passed
yxieca pushed a commit to sonic-net/sonic-swss that referenced this pull request Aug 13, 2024
What I did
For DASH_ROUTE_TABLE entries, change action_type references to routing_type references.

Why I did it
sonic-net/sonic-dash-api#20 deprecates action_type in DASH_ROUTE_TABLE in favor of routing_type to more accurately describe the field.

Any downstream repositories which build SWSS will see a deprecation warning for action_type and builds with -Werror set will not compile.

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants