-
Notifications
You must be signed in to change notification settings - Fork 0
Wireless profile - Feature template updated #103
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
base: main
Are you sure you want to change the base?
Wireless profile - Feature template updated #103
Conversation
…talyst-center-ansible-dev into network_profile_wireless_workflow_manager_dev
suboptions: | ||
device_type: | ||
description: | | ||
The type of device for which the feature template is applicable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just fine-tuned, check and update..
The category or name of the feature template to be applied.
This defines the functional area of the configuration (For example, AAA, SSID, CleanAir).
Only one feature template category can be specified per entry in this list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same updated.
- RRM_FRA_CONFIGURATION | ||
- RRM_GENERAL_CONFIGURATION | ||
type: str | ||
required: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
required: true
if feature_templates is used, then template category is required..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with out device type also can be used, but template_design field is mandatory
type: str | ||
required: false | ||
template_design: | ||
description: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine-tuned.
description: |
A list of specific design names or IDs to apply within the chosen feature template category.
These designs include various parameters and settings.
If "Default Advanced SSID Design" is included in this list, it is comprehensive for SSID configuration,
and no other template designs are typically needed for that specific SSID feature.
type: list
what is "Default Advanced SSID Design" ? where do we need to include? What are the other options? Is it a choice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default Advanced SSID Design is coming under ADVANCED_SSID_CONFIGURATION, in UI we cannot select any other design once selected this.
required: true | ||
applicability_ssids: | ||
description: | | ||
A list of SSIDs to which this feature template applies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A list of SSIDs to which this feature template applies.
If "Default Advanced SSID Design" is selected for the 'template_design', this feature template
will automatically apply to all SSIDs, regardless of this list's content.
For example, ["SSID1", "SSID2"].
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same updated.
…talyst-center-ansible-dev into network_profile_wireless_workflow_manager_dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed code review comments.
suboptions: | ||
device_type: | ||
description: | | ||
The type of device for which the feature template is applicable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same updated.
- RRM_FRA_CONFIGURATION | ||
- RRM_GENERAL_CONFIGURATION | ||
type: str | ||
required: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with out device type also can be used, but template_design field is mandatory
type: str | ||
required: false | ||
template_design: | ||
description: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default Advanced SSID Design is coming under ADVANCED_SSID_CONFIGURATION, in UI we cannot select any other design once selected this.
required: true | ||
applicability_ssids: | ||
description: | | ||
A list of SSIDs to which this feature template applies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same updated.
@@ -29,6 +29,7 @@ class TestDnacNetworkWirelessProfileWorkflow(TestDnacModule): | |||
|
|||
test_data = loadPlaybookData("network_profile_wireless_workflow_manager") | |||
profile_creation_config = test_data.get("profile_creation_config") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a testcase to test wireless profile with feature template on Catalyst Center version lower then 3.1.3.0 and validate the correct error message is reflected to the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the test case for version.
@@ -151,6 +151,50 @@ | |||
type: list | |||
elements: str | |||
required: false | |||
feature_templates: | |||
description: | | |||
List of feature templates assigned to the profile. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List of feature templates to be assigned or removed to/from the wireless network profile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same updated.
The category or name of the feature template to be applied. | ||
This defines the functional area of the configuration (For example, AAA, SSID, CleanAir). | ||
Only one feature template category can be specified per entry in this list. | ||
For example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in place of Example. -> Support Values:
Also include all known values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the same.
@@ -1400,6 +1746,36 @@ def compare_config_data(self, input_config, have_info): | |||
"WARNING", | |||
) | |||
|
|||
if feature_templates: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A supported software version check should be included to guide customer that this is supported from 3.1.3.0 release on wards, if customer provide catalyst center version 2.3.7.9 or older.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the same on feature template validation itself.
…talyst-center-ansible-dev into network_profile_wireless_workflow_manager_dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed code review comments.
@@ -151,6 +151,50 @@ | |||
type: list | |||
elements: str | |||
required: false | |||
feature_templates: | |||
description: | | |||
List of feature templates assigned to the profile. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same updated.
The category or name of the feature template to be applied. | ||
This defines the functional area of the configuration (For example, AAA, SSID, CleanAir). | ||
Only one feature template category can be specified per entry in this list. | ||
For example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the same.
@@ -1400,6 +1746,36 @@ def compare_config_data(self, input_config, have_info): | |||
"WARNING", | |||
) | |||
|
|||
if feature_templates: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the same on feature template validation itself.
@@ -29,6 +29,7 @@ class TestDnacNetworkWirelessProfileWorkflow(TestDnacModule): | |||
|
|||
test_data = loadPlaybookData("network_profile_wireless_workflow_manager") | |||
profile_creation_config = test_data.get("profile_creation_config") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the test case for version.
Type of Change
Description
Please include a summary of the changes and the related issue. Also, include relevant motivation and context.
Bug Fix: [Brief description of the bug fixed]
Root Cause (if applicable): [Explain what caused the bug]
Fix Implemented: [Describe the fix applied]
Enhancement: [Brief description of the improvement/enhancement made]
Enhancement Description: [Explain what was enhanced, why, and how]
Impact Area: [Mention which part of the system/codebase is affected]
Testing Done:
Test cases covered: [Mention test case IDs or brief points]
Checklist
Ansible Best Practices
ansible-vault
or environment variables)Documentation
Screenshots (if applicable)
Notes to Reviewers