Change the config osapi has of a network interface
PUT/api/node/:hostname/interface/:name
Writes the interface's netplan file over the one osapi has, as create writes it, and applies it. Without type dummy, the config goes in the section that netplan status gives, which is dummy-devices for a dummy, so a dummy stays a dummy. An interface osapi does not configure is not found: create configures it.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Each target host's result, with whether it changed.
The request is not valid, or the host refuses the input, such as a path that is a directory.
Unauthorized - API key required
Forbidden - Insufficient permissions
The host has no interface with that name.
osapi did not deploy the item, so it does not change it, or the host does not have a program that the method needs.
An error on the controller.