Skip to content

Conversation

rsdmike
Copy link
Member

@rsdmike rsdmike commented Jul 16, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings July 16, 2025 21:19
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds parse methods for all WiFi enumeration types to enable bidirectional string-to-enum conversion. It also standardizes constant naming by removing underscores from EncryptionMethod constants.

  • Adds reverse lookup maps and parse functions for all WiFi enumeration types (AuthenticationMethod, BSSType, EnabledState, etc.)
  • Refactors EncryptionMethod constants to use consistent naming without underscores
  • Updates test cases to use the new constant names and adds comprehensive tests for the new parse functionality

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
pkg/wsman/cim/wifi/decoder.go Adds reverse lookup maps and parse functions for all enumeration types, refactors EncryptionMethod constant names
pkg/wsman/cim/wifi/decoder_test.go Updates test cases to use new constant names and adds tests for ParseEncryptionMethod function

@rsdmike rsdmike force-pushed the wifiParsers branch 2 times, most recently from 2e9d709 to 7c5a4a7 Compare July 29, 2025 16:23
@rsdmike rsdmike enabled auto-merge (squash) July 29, 2025 16:40
@rsdmike rsdmike merged commit 2c66c06 into main Jul 29, 2025
19 checks passed
@rsdmike rsdmike deleted the wifiParsers branch July 29, 2025 16:44
@RosieAMT
Copy link

🎉 This PR is included in version 2.29.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants