POST /ovirt-engine/api/hosts/123/commitnetconfig
public static interface HostService.CommitNetConfigRequest extends Request<HostService.CommitNetConfigRequest,HostService.CommitNetConfigResponse>
Marks the network configuration as good and persists it inside the host.
An API user commits the network configuration to persist a host network interface attachment or detachment, or persist the creation and deletion of a bonded interface.
Important
|
Networking configuration is only committed after the engine has established that host connectivity is not lost as a result of the configuration changes. If host connectivity is lost, the host requires a reboot and automatically reverts to the previous networking configuration. |
For example, to commit the network configuration of host with id 123
send a request like this:
POST /ovirt-engine/api/hosts/123/commitnetconfig
With a request body like this:
<action/>
Modifier and Type | Method and Description |
---|---|
HostService.CommitNetConfigRequest |
async(Boolean async)
Indicates if the action should be performed asynchronously.
|
HostService.CommitNetConfigRequest async(Boolean async)
Indicates if the action should be performed asynchronously.
Copyright © 2017. All rights reserved.