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

[minor_change] Add resources and datasources to support qosDot1PClass and qosDscpClass and expose them in existing aci_custom_qos_policy resource and datasource as children (DCNE-35) #1296

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

akinross
Copy link
Collaborator

fixes #1267

@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2024

Codecov Report

Attention: Patch coverage is 89.97240% with 218 lines in your changes missing coverage. Please review.

Project coverage is 83.97%. Comparing base (9e2dfc6) to head (51407b9).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
internal/provider/resource_aci_dot1p_classifier.go 85.71% 67 Missing and 25 partials ⚠️
...rnal/provider/resource_aci_dscp_to_priority_map.go 85.71% 67 Missing and 25 partials ⚠️
...nternal/provider/resource_aci_custom_qos_policy.go 97.59% 8 Missing and 4 partials ⚠️
...ernal/provider/data_source_aci_dot1p_classifier.go 92.30% 9 Missing and 2 partials ⚠️
...l/provider/data_source_aci_dscp_to_priority_map.go 92.30% 9 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1296      +/-   ##
==========================================
+ Coverage   83.74%   83.97%   +0.22%     
==========================================
  Files         123      127       +4     
  Lines       56180    58384    +2204     
==========================================
+ Hits        47049    49026    +1977     
- Misses       7255     7423     +168     
- Partials     1876     1935      +59     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

gmicol
gmicol approved these changes Nov 19, 2024
Copy link
Collaborator

@gmicol gmicol left a comment

Choose a reason for hiding this comment

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

have you tried to see what happens with these class objects when priority is set to unspecified?

@akinross
Copy link
Collaborator Author

have you tried to see what happens with these class objects when priority is set to unspecified?

just double checked and it sets to unspecified for both classes, also checked the target_cos attribute

@akinross akinross requested a review from gmicol November 19, 2024 19:55
docs/data-sources/custom_qos_policy.md Outdated Show resolved Hide resolved
docs/data-sources/custom_qos_policy.md Outdated Show resolved Hide resolved
docs/data-sources/custom_qos_policy.md Outdated Show resolved Hide resolved
docs/data-sources/custom_qos_policy.md Outdated Show resolved Hide resolved
docs/data-sources/custom_qos_policy.md Outdated Show resolved Hide resolved
docs/data-sources/dscp_to_priority_map.md Outdated Show resolved Hide resolved
docs/data-sources/dscp_to_priority_map.md Outdated Show resolved Hide resolved
docs/data-sources/dscp_to_priority_map.md Outdated Show resolved Hide resolved
docs/data-sources/dscp_to_priority_map.md Outdated Show resolved Hide resolved
docs/data-sources/dscp_to_priority_map.md Outdated Show resolved Hide resolved
@akinross akinross force-pushed the 1267_qos_custom_policy_children branch from 03a8ac3 to 90d41a5 Compare November 20, 2024 06:57
@akinross akinross requested a review from shrsr November 20, 2024 07:02
shrsr
shrsr previously approved these changes Nov 20, 2024
Copy link
Collaborator

@shrsr shrsr left a comment

Choose a reason for hiding this comment

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

LGTM

gmicol
gmicol previously approved these changes Nov 20, 2024
Copy link
Collaborator

@gmicol gmicol left a comment

Choose a reason for hiding this comment

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

LGTM

qosDscpClass:
resource_name: "dscp_to_priority_map"
ui_locations:
- "Tenants -> Policies -> Protocol -> Custom QoS -> DSCP to priority ap"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- "Tenants -> Policies -> Protocol -> Custom QoS -> DSCP to priority ap"
- "Tenants -> Policies -> Protocol -> Custom QoS -> DSCP to priority map"

@akinross akinross dismissed stale reviews from gmicol and shrsr via 51407b9 November 28, 2024 16:19
@akinross akinross force-pushed the 1267_qos_custom_policy_children branch from 76d99ba to 51407b9 Compare November 28, 2024 16:19
Copy link
Collaborator

@shrsr shrsr left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@sajagana sajagana left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@gmicol gmicol left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@samiib samiib left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Add resources/data sources for qosDot1PClass and qosDscpClass (DCNE-35)
6 participants