Skip to content

Adding network interface control over REST API in the implementation of a joiner REST API #2627

@OmegaRelay

Description

@OmegaRelay

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is.

Hello, I would like to expand the current REST API by adding an interface to control the border router's joiner to securely join a new network. However, this requires the network interface to be up and the thread protocol to be disabled. As far as I can tell it is not currently possible to control these two independent of each other through the current REST API.

Describe the solution you'd like A clear and concise description of what you want to happen.

  • Am I missing something; is it possible to control the network interface independently via the REST API?
  • Advice on the most preferable way to facilitate this.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

The solutions I can think of are:

  • Add another endpoint /node/iface, /node/interface, or /node/network which accepts PUT and GET requests to set the interface up/down or to get the interface state respectively.
  • A PUT request on the new /node/joiner/state endpoint to start the joiner, will automatically set the network interface up if not already.

I'm open to alternative solutions.

Additional context Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions