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

Add commands for manipulating IPv6 host exposure settings on Arris modems #160

Merged
merged 4 commits into from
Jul 4, 2024

Conversation

phesch
Copy link
Contributor

@phesch phesch commented May 6, 2024

This PR aims to add a new feature: Four commands for working with the IPv6 host exposure settings available on Arris modems. They are:

  • host-exposure:get: Gets the current host exposure settings as JSON
  • host-exposure:set <FILE>: Set the host exposure settings on the modem from a file with JSON in the same format as produced by the get command
  • host-exposure:(en|dis)able [ENTRY 1 | [ENTRY 2...] ]: Enable or disable all or specific entries in the host exposure settings by name of the entries

I have implemented these commands since they are useful in managing my infrastructure, in the hope that they'll be useful to others as well.
Unfortunately, I cannot provide an implementation for Technicolor modems since I don't own one to reverse-engineer the necessary settings with (if those are even available on Technicolor modems in the first place). If someone provides information on how Technicolor modems implement host exposure, I could add a corresponding implementation.

@totev totev self-requested a review May 10, 2024 06:20
@totev totev self-assigned this May 10, 2024
@totev totev added the enhancement New feature or request label May 10, 2024
Without it, the help description just lists the description of the first
subcommand in lexical order (`disable` in this case).
Copy link
Owner

@totev totev left a comment

Choose a reason for hiding this comment

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

👍

@totev totev merged commit 1bf7bc7 into totev:main Jul 4, 2024
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.

2 participants