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

ACI tenant action rule profile extended #495

Merged

Conversation

gmicol
Copy link
Collaborator

@gmicol gmicol commented Oct 13, 2023

is part of issue #126

@gmicol gmicol added the enhancement New feature or request label Oct 13, 2023
@gmicol gmicol self-assigned this Oct 13, 2023
@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Attention: 75 lines in your changes are missing coverage. Please review.

Comparison is base (7ad2b51) 96.25% compared to head (554c702) 35.15%.

Files Patch % Lines
plugins/modules/aci_tenant_action_rule_profile.py 7.69% 24 Missing ⚠️
.../modules/aci_action_rule_additional_communities.py 46.87% 17 Missing ⚠️
plugins/modules/aci_action_rule_set_as_path.py 46.87% 17 Missing ⚠️
plugins/modules/aci_action_rule_set_as_path_asn.py 46.87% 17 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #495       +/-   ##
===========================================
- Coverage   96.25%   35.15%   -61.11%     
===========================================
  Files         211      214        +3     
  Lines        9807     9933      +126     
  Branches     1477     1499       +22     
===========================================
- Hits         9440     3492     -5948     
- Misses        281     6441     +6160     
+ Partials       86        0       -86     
Flag Coverage Δ
integration ?
sanity 35.15% <40.94%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

plugins/modules/aci_action_rule_set_as_path.py Outdated Show resolved Hide resolved
plugins/modules/aci_action_rule_additional_communities.py Outdated Show resolved Hide resolved
plugins/modules/aci_action_rule_additional_communities.py Outdated Show resolved Hide resolved
plugins/modules/aci_action_rule_set_as_path.py Outdated Show resolved Hide resolved
plugins/modules/aci_tenant_action_rule_profile.py Outdated Show resolved Hide resolved
plugins/module_utils/aci.py Outdated Show resolved Hide resolved
plugins/modules/aci_tenant_action_rule_profile.py Outdated Show resolved Hide resolved
plugins/modules/aci_tenant_action_rule_profile.py Outdated Show resolved Hide resolved
plugins/modules/aci_tenant_action_rule_profile.py Outdated Show resolved Hide resolved
@gmicol gmicol force-pushed the aci_tenant_action_rule_profile-extended branch from 2a4f5f0 to c06c7e9 Compare October 30, 2023 17:28
@gmicol gmicol requested review from samiib and akinross October 30, 2023 17:48
plugins/module_utils/aci.py Show resolved Hide resolved
plugins/modules/aci_tenant_action_rule_profile.py Outdated Show resolved Hide resolved
plugins/module_utils/aci.py Outdated Show resolved Hide resolved
plugins/module_utils/aci.py Outdated Show resolved Hide resolved
plugins/modules/aci_tenant_action_rule_profile.py Outdated Show resolved Hide resolved
plugins/modules/aci_tenant_action_rule_profile.py Outdated Show resolved Hide resolved
@gmicol gmicol force-pushed the aci_tenant_action_rule_profile-extended branch from d172327 to 6dcc43b Compare November 1, 2023 19:45
@gmicol gmicol requested a review from akinross November 1, 2023 19:45
samiib
samiib previously approved these changes Nov 1, 2023
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

Copy link
Collaborator

@akinross akinross left a comment

Choose a reason for hiding this comment

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

please address the forgotten open comment regarding FQCN

@gmicol gmicol requested a review from akinross November 6, 2023 18:04
@gmicol gmicol force-pushed the aci_tenant_action_rule_profile-extended branch from 6d5ee77 to ab49828 Compare November 9, 2023 19:35
@gmicol gmicol requested a review from shrsr November 15, 2023 17:15
shrsr
shrsr previously approved these changes Nov 15, 2023
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

child_configs = []
for class_name, attribute in child_classes.items():
attribute_input = attribute.get("attribute_input")
# This condition enables to user to keep its previous configurations if they are not passing anyting in the payload.
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
# This condition enables to user to keep its previous configurations if they are not passing anyting in the payload.
# This condition enables to user to keep its previous configurations if they are not passing anything in the payload.

@shrsr shrsr self-requested a review November 22, 2023 16:54
shrsr
shrsr previously approved these changes Nov 22, 2023
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

samiib
samiib previously approved these changes Dec 13, 2023
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

sajagana
sajagana previously approved these changes Dec 18, 2023
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!

lhercot
lhercot previously approved these changes Dec 19, 2023
Copy link
Member

@lhercot lhercot left a comment

Choose a reason for hiding this comment

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

LGTM

…dule and Add action rules attributes to aci_tenant_action_rule_profile.
…n and add test cases for all missing action rules.
…file, modify documentations and examples for all other modules.
… python files to pass Sanity tests for aci_tenant_action_rule_profile.
…o deal with non-exsiting child classes for APIC version prior to 5.0
…notation in all test cases for aci_tenant_action_rule_profile.
@gmicol gmicol force-pushed the aci_tenant_action_rule_profile-extended branch from 5150474 to 554c702 Compare December 19, 2023 22:40
Copy link
Member

@lhercot lhercot left a comment

Choose a reason for hiding this comment

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

LGTM

@lhercot lhercot merged commit 88233f9 into CiscoDevNet:master Dec 20, 2023
17 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants