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

Nd 229 #25

Merged
merged 18 commits into from
Mar 22, 2024
Merged

Nd 229 #25

merged 18 commits into from
Mar 22, 2024

Conversation

jamesgreen-moj
Copy link
Contributor

Added new requirements:

  • On the site settings (on Rogue AP section), there’s GovWifi whitelisted. On prisons we shouldn’t have any GovWifi related config and therefore:   "whitelisted_ssids": [ "GovWifi" ] section should be empty. I think you had a good idea how to implement this: if the site.csv file doesn’t have GovWifi shared secret column, this would keep whitelisted_ssids empty.
  • Site variable “site_specific_radius_wired_nacs_secret” is not actually required. This was for switches and the prisons are using Cisco switches, they wouldn’t get this configuration from Juniper Mist dashboard. I guess this could be done by removing the column from site.csv file similar than GovWifi secret.

Refactor:

  • Made unit tests better
  • Renamed Admin to JuniperClient to be more reflective of operation and moved into its own module
  • Created a new module named BuildPayload that takes responsibility for building the json output

@jamesgreen-moj jamesgreen-moj requested a review from a team as a code owner March 21, 2024 00:49
Copy link

@smjmoj smjmoj left a comment

Choose a reason for hiding this comment

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

LGTM
Great code review session.

@jamesgreen-moj jamesgreen-moj merged commit 5684ad1 into main Mar 22, 2024
2 checks passed
@jamesgreen-moj jamesgreen-moj deleted the nd-229 branch March 22, 2024 14:26
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.

3 participants