31153115 - Commonly used for accounting and policy enforcement.
31163116 - Format typically includes AP MAC address and SSID name.
31173117 type: str
3118- required: true
3118+ required: false
31193119 unlocked_attributes:
31203120 description:
31213121 - List of AAA Radius attribute names to unlock for manual configuration.
@@ -12716,7 +12716,7 @@ def verify_create_update_aaa_radius_attributes_requirement(self, aaa_attr_list):
1271612716 "AP_LABEL_ADDRESS_SSID", "AP_LOCATION", "AP_MACADDRESS", "AP_MACADDRESS_SSID",
1271712717 "AP_NAME", "AP_NAME_SSID", "IPADDRESS", "MACADDRESS", "VLAN_ID"
1271812718 ]
12719- if called_station_id not in allowed_values:
12719+ if called_station_id is not None and called_station_id not in allowed_values:
1272012720 self.msg = ("Invalid called_station_id '{0}' for design '{1}'. Must be one of: {2}".format(
1272112721 called_station_id, design_name, allowed_values))
1272212722 self.set_operation_result("failed", False, self.msg, "ERROR").check_return_status()
@@ -12755,7 +12755,7 @@ def verify_create_update_aaa_radius_attributes_requirement(self, aaa_attr_list):
1275512755 payload = {
1275612756 "id": existing["id"],
1275712757 "designName": new_design_name, # Use new name
12758- "featureAttributes": {"calledStationId": called_station_id},
12758+ "featureAttributes": {"calledStationId": called_station_id if called_station_id is not None else existing_called}
1275912759 }
1276012760 if desired_unlocked:
1276112761 payload["unlockedAttributes"] = ["calledStationId"]
@@ -12769,7 +12769,7 @@ def verify_create_update_aaa_radius_attributes_requirement(self, aaa_attr_list):
1276912769 payload = {
1277012770 "id": existing["id"],
1277112771 "designName": design_name, # Keep original name
12772- "featureAttributes": {"calledStationId": called_station_id},
12772+ "featureAttributes": {"calledStationId": called_station_id if called_station_id is not None else existing_called },
1277312773 }
1277412774 if desired_unlocked:
1277512775 payload["unlockedAttributes"] = ["calledStationId"]
0 commit comments